WO2023143057A1 - Procédé, appareil et dispositif de flux de ressources - Google Patents

Procédé, appareil et dispositif de flux de ressources Download PDF

Info

Publication number
WO2023143057A1
WO2023143057A1 PCT/CN2023/071611 CN2023071611W WO2023143057A1 WO 2023143057 A1 WO2023143057 A1 WO 2023143057A1 CN 2023071611 W CN2023071611 W CN 2023071611W WO 2023143057 A1 WO2023143057 A1 WO 2023143057A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
resource pool
resources
target
occupied
Prior art date
Application number
PCT/CN2023/071611
Other languages
English (en)
Chinese (zh)
Inventor
董希加
王谦
赵禹
刘砚博
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023143057A1 publication Critical patent/WO2023143057A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing

Definitions

  • the present application relates to the field of storage, and in particular to a resource flow method, device and equipment.
  • Hyper converged infrastructure includes one or more hyper-converged nodes. Multiple hyper-converged nodes can be aggregated through the network.
  • the resources on each hyper-converged node can be used not only to process computing services, but also to use for storage business.
  • the resources in the device are statically allocated in advance, for example, which resources are used to process storage services, which resources are used to process computing services, and which resources are used to process other services, etc. , cannot be changed dynamically while the application is running.
  • there may be surplus resources for processing storage services and insufficient resources for processing computing services or, in some scenarios, there may be surplus resources for processing computing services.
  • the resources used to process storage services are insufficient, which leads to unreasonable resource utilization.
  • This application provides a resource flow method, device, and equipment. Using the resource flow method of this application, resource flow can be realized without restarting application services, avoiding the disadvantages of business jitter and business interruption caused by restarting application services, and improving User experience.
  • the present application provides a resource flow method, including: classifying the target resources in the first resource pool into the second resource pool, wherein the resources in the first resource pool are used for processing the first business One or more of containers, secure containers, and processes, and the resources in the second resource pool are used by one or more of containers, secure containers, and processes that process the second service.
  • the method provided by this application can realize the flow of target resources in different resource pools, wherein the resources in different resource pools are used to process different services, and the target resources can be resources occupied by containers or secure containers. resources, or the resources occupied by the process, or a combination of the above. According to the method described in this application, there is no need to manually adjust the resource configuration parameters, and it is not necessary to restart the application service.
  • the user side has no perception of the resource flow process, and does not affect the operation of the business and the experience of the user side.
  • the first service is one of a storage service and a computing service
  • the second service is the other of the storage service and the computing service.
  • services include computing services and storage services
  • resources in the first storage pool are used to process computing services
  • resources in the second resource pool are used to process storage services
  • resources in the first storage pool are used to process For storage services
  • the resources in the second resource pool are used to process computing services.
  • the target resource includes one or more of a processor resource, a memory resource, and a network resource.
  • the first resource pool and the second resource pool are located in the same server.
  • the classifying the target resource in the first resource pool into the second resource pool includes: there is an occupied resource in the target resource in the first resource pool In other cases, release the occupied resource; classify the target resource into the second resource pool.
  • the occupied resources need to be released first, so that the target resources are in an idle state, and then the target resources are classified into the second resource pool.
  • the high-priority application is shifted to idle resources of the first resource pool.
  • idle resources in the first resource pool can be used to replace the occupied resources, and high-priority applications can be moved to idle resources, and high-priority applications can be processed by idle resources. application, keep the target resource in an idle state, and then classify the target resource into the second resource pool, so as to ensure that high-priority application services are not affected.
  • the low-priority application when the occupied resource is occupied by a low-priority application, the low-priority application is deleted or the low-priority application is moved to the In the idle resources of the first resource pool.
  • one implementation may be to replace the occupied resource with an idle resource in the first resource pool, and move the low-priority application to the idle resource.
  • Idle resources process low-priority applications, make the target resources idle, and then classify the target resources into the second resource pool; another implementation method may be to directly delete low-priority applications, make the target resources idle, and then into the second resource pool.
  • the application form in the first resource pool is a container or a security container, and the application form in the second resource pool is a process; or, the application form in the first resource pool is The application form of the resource pool is a process, and the application form in the second resource pool is a container and a security container.
  • the method described in this application may be applicable to a scenario where one of the first resource pool and the second resource pool is in the form of a container or a security container, and the other is in the form of a process.
  • the method further includes: monitoring each resource in the first resource pool and/or Or the occupancy of each resource in the second resource pool.
  • the present application provides a resource flow device, including: a resource management framework, configured to classify target resources in a first resource pool into a second resource pool, wherein the resources in the first resource pool are used The resources in the second resource pool are used for one or more of the container processing the first service, the security container and the process Multiple uses.
  • a resource management framework configured to classify target resources in a first resource pool into a second resource pool, wherein the resources in the first resource pool are used The resources in the second resource pool are used for one or more of the container processing the first service, the security container and the process Multiple uses.
  • the first service is one of a storage service and a computing service
  • the second service is the other of the storage service and the computing service.
  • the target resource includes one or more of a processor resource, a memory resource, and a network resource.
  • the first resource pool and the second resource pool are located in the same server.
  • the resource management framework is configured to: release the occupied resource if there is an occupied resource in the target resource in the first resource pool; Classify the target resource into the second resource pool.
  • the resource management framework is configured to: when the occupied resource is occupied by a high-priority application, translate the high-priority application to the first In the idle resources of a resource pool.
  • the resource management framework is configured to: delete the low-priority application or delete the Low-priority applications are shifted to idle resources in the first resource pool.
  • the application form in the first resource pool is a container or a security container, and the application form in the second resource pool is a process; or, the application form in the first resource pool is The application form of the resource pool is a process, and the application form in the second resource pool is a container and a security container.
  • the apparatus further includes: a monitoring module configured to monitor the occupancy of each resource in the first resource pool and/or each resource in the second resource pool.
  • Each functional module in the second aspect is used to implement the first aspect and the method described in any possible implementation manner of the first aspect.
  • the present application provides a resource flow device, including a memory and a processor, the memory is used to store instructions, and the processor is used to call the instructions stored in the memory to execute the above first aspect and the first aspect The method described in any one of the possible implementations.
  • the present application provides a computer-readable storage medium, including program instructions.
  • the program instructions When the program instructions are executed by a computer, the computer executes any possible implementation of the above-mentioned first aspect and the first aspect. method described in the method.
  • the present application provides a computer program product, the computer program product includes computer program code, and when the computer program code is executed by a computing device, the computing device executes the aforementioned first aspect or the first aspect.
  • the computer program product may be a software installation package, and if the method provided in the aforementioned first aspect or any possible implementation of the first aspect needs to be used, the computer program product may be downloaded and executed on a computing device. program product.
  • FIG. 1 is a schematic diagram of a system architecture provided by the present application
  • FIG. 2 is a schematic structural diagram of a server provided by the present application.
  • FIG. 3 is a schematic flowchart of a resource flow method provided by the present application.
  • FIG. 4 is a schematic diagram of state changes of resources provided by the present application.
  • FIG. 5 is a schematic diagram of resource flow provided by the present application.
  • FIG. 6 is a schematic structural diagram of a resource flow device provided by the present application.
  • FIG. 7 is a schematic structural diagram of a resource flow device provided by the present application.
  • the hyper-converged system architecture is based on a standard and general-purpose hardware platform to achieve computing, storage, and network integration through software definition, and to realize the technical architecture of a software-defined data center centered on virtualization.
  • hyper specifically refers to hyper virtualization
  • integration refers to deploying computing services and storage services on one node.
  • the resources used for computing and storage used in the hyper-converged system are all allocated and used reasonably through virtual machines. It is a virtualization application with virtual machines as the core.
  • FIG. 1 is a hyper-converged system architecture provided by the present application.
  • the hyper-converged system includes one or more bare metal servers, and each bare metal server can be regarded as a hyper-converged node.
  • Each hyper-converged node can provide computing power and storage capacity at the same time.
  • One or more virtual machines or containers can be created on the bare metal server, and resources on the bare metal server can be allocated through the virtual machines or containers.
  • the resources include processor resources, memory resources, and network resources.
  • resources can be divided according to the services actually carried by hyper-converged nodes. For example, all the resources in the server can be divided into multiple resource pools, and the resources in each resource pool are used to process different services. For example, all the resources in the server can be divided into A resource pool, B resource pool and C resource pool.
  • resources in resource pool A are used to process computing services
  • resources in resource pool B are used to process storage services
  • resources in resource pool C are used to process other services.
  • the resources in each resource pool include one or more of processor resources, memory resources and network resources.
  • the method of dividing resources is pre-set statically, that is, the resources in each resource pool are pre-configured statically, and the resources in each resource pool cannot be changed dynamically during the application running process, that is to say,
  • the resources used for computing services can only be used for computing services, and cannot be used to process storage services and other services.
  • the resources used for storage services can only be used for storage services, and cannot be used to process computing services and other services. If you want to change the allocation of resources, you must adjust the resource configuration parameters and restart the application, but this will cause service jitter and service interruption, and the user experience is not good.
  • FIG. 2 is a schematic structural diagram of the server provided by this application, in Figure 2, the resources in the first resource pool are used for computing services, and the resources in the second resource pool are used for storage services Use, or, resources in the first resource pool are used for storage services, and resources in the second resource pool are used for computing services.
  • RMF resource management framework
  • the RMF includes a first resource pool management component, a second resource pool management component, and a resource flow component, wherein the first resource pool management component is used to manage resources in the first resource pool, specifically including a resource query module, a flow interface module, a binding A binding/unbinding module, the second resource pool management component is used to manage resources in the second resource pool, specifically including a resource query module, a flow interface module, and a binding/unbinding module.
  • the resource query module is used to query the status of the resources in the resource pool.
  • the status of the resources includes whether the resources are occupied, which applications are used, and the priority of the occupied applications.
  • the resource query module in the first resource pool management component It can be used to query the state of a certain resource in the first resource pool
  • the resource query module in the second resource pool management component can be used to query the state of a certain resource in the second resource pool.
  • the resource occupied by the application may exist in one or more forms of a container, a security container, and a process.
  • the priority of the application can be determined according to the importance of the service, and the application can include high-priority applications and low-priority applications.
  • the priority of the application can also be reflected by the priority of the container or security container or process occupied by the application.
  • the container occupied by the application is a high-priority container.
  • the container is a high-priority security container, and the process it occupies is a high-priority process.
  • the application is a low-priority application
  • the container occupied by the application is a low-priority container
  • the security container it occupies is a low-priority security container.
  • the process occupied is a low-priority process.
  • One form of process is a virtualization machine (VM).
  • VM virtualization machine
  • a security container refers to a container with higher security than the container.
  • the flow interface module is used to realize the inflow or outflow of resources, for example, the flow interface module in the first resource pool management component can be used to realize the inflow or outflow of a certain resource in the first resource pool, and the flow in the second resource pool management component The interface module can be used to realize the inflow or outflow of a certain resource in the second resource pool.
  • the binding/unbinding module is used to realize the binding or unbinding between resources and applications, for example, the binding/unbinding module in the first resource pool management component is used to realize the resource and application located in the first resource pool Binding or unbinding between applications, the binding/unbinding module in the second resource pool management component is used to realize the binding or unbinding between resources in the second resource pool and applications.
  • the first resource pool management component may also include a status management module
  • the second resource pool management component may also include a status management module.
  • the status management module is used to manage the status of resources, for example, the status management module in the first resource pool management component is used to manage the status of resources in the first resource pool, and the status management module in the second resource pool management component is used to manage The status of the resources in the second resource pool.
  • the state management module is used to mark the resources.
  • the resources When the resources are not occupied, the resources are marked as idle; When resources occupied by high-level containers or resources occupied by high-priority security containers or resources occupied by high-priority processes exist in the form of resources occupied by high-priority processes, the resources are marked as movable; When a priority application occupies, or resources exist in the form of resources occupied by low-priority containers, resources occupied by low-priority security containers, or resources occupied by low-priority processes, resources are marked as preemptible.
  • the resource flow component is used to receive resource flow information.
  • the resource flow information may be an instruction or notification sent by a module outside the RMF, or an instruction or notification or information sent by a device or module or device outside the server.
  • the above instruction or notification is used to indicate that some or some resources in the first resource pool should be included in the second resource pool, or that some or some resources in the second resource pool should be included in the first resource pool.
  • the resource flow component is also used to send a response message to a module located outside the RMF, or a device or module or device located outside the server.
  • the response message can be used as a response to an instruction or notification.
  • the response message is used to indicate that the resource has been included successfully or that the resource has been included. fail.
  • the resource flow component in RMF receives the resource flow information
  • the resource flow information indicates that a target resource in the first resource pool should be included in the second resource pool
  • the query module queries the state of the target resource, performs corresponding operations according to the state, makes the target resource in an idle state, and then classifies the target resource into the second resource pool.
  • the target resource is bound to the new application through the binding/unbinding module in the second resource pool management component, and a label is marked for the target resource through the state management module in the second resource pool management component, and the label is Determined according to the priority of the new application bound to the target resource.
  • the resource flow information indicates that a certain target resource in the second resource pool should be included in the first resource pool
  • call the resource query module in the second resource pool management component to query the status of the target resource according to the resource flow information, and perform corresponding operations according to the status.
  • the operation makes the target resource in an idle state, and then classifies the target resource into the first resource pool.
  • bind the target resource to the new application through the binding/unbinding module in the first resource pool management component, and mark the target resource with a label through the state management module in the first resource pool management component, and the label is Determined according to the priority of the new application bound to the target resource.
  • This example uses computing services and storage services as examples to introduce how the resources in the first resource pool and the resources in the second resource pool flow.
  • the resources in the first resource pool and the resources in the second resource pool The resources can also be used for other businesses, which is not limited in this application.
  • the resources in the server can be divided into more resource pools for use by different services. This application does not limit the division method and number of resource pools.
  • the present application provides a resource flow method, which is applied to the server, as shown in FIG. 3 , which is a schematic flow chart of a resource flow method provided by the present application.
  • the above methods include but are not limited to the following descriptions.
  • the server acquires resource flow information, and the resource flow information indicates that target resources in the first resource pool are included in the second resource pool.
  • the resource flow information indicates that the target resources in the first resource pool should be included in the second resource pool as an example. It can be understood that the resource flow information can also indicate that the target resources in the second resource pool should be included in the first resource pool. in the resource pool.
  • the resource flow information and the sender of the resource flow information reference may be made to the description of related content in FIG. 2 , and details are not repeated here. If the resource flow information is sent by a device or device or module located outside the server, obtaining may be understood as receiving.
  • the target resource may be any one or more of processor resources, network resources, and memory resources, and this application does not limit the specific forms of processor resources, network resources, and memory resources.
  • the present application does not specifically limit the number of resource pools included in the server, and does not specifically limit the services that the resources in the first resource pool are used for processing and the resources in the second resource pool are used for processing.
  • the server may acquire resource flow information through a resource flow component in the RMF.
  • the server may also monitor the occupancy of each resource in the first resource pool and/or each resource in the second resource pool. For example, in one example, the server monitors the usage of each resource in the first resource pool and the usage of each resource in the second resource pool in real time, and when it is detected that the resources in the second resource pool are all occupied , and it is detected that there are resources in the first resource pool that are not occupied, that is, there are resources in the first resource pool that are idle, then the server generates resource flow information, and the resource flow information indicates that a certain resource in the first resource pool is idle The resources in the state are classified into the second resource pool.
  • the server pays more attention to the progress or status of the business handled by the resources in the second resource pool, then the server only pays attention to the business status of the second resource pool.
  • the usage of each resource in the resource pool when the server detects that each resource in the second resource pool is in the occupied state, the server generates resource flow information, which indicates that a certain resource in the first resource pool Included in the second resource pool, the included resources are used to process services in the second resource pool.
  • the state of the target resource includes whether the target resource is occupied, which application is occupied, and the priority of the occupied application is high or low.
  • the state of the target resource can be divided into an idle state, a translationable state, and a preemptible state, wherein, if there is no occupied resource in the target resource, the target resource is said to be in the idle state; if there is an occupied resource in the target resource Occupied resources and the occupied resources are occupied by high-priority applications, the target resource is said to be in a translational state; if there are occupied resources in the target resource and the occupied resources are occupied by low-priority applications, it is called the target resource is preemptible.
  • the applications include high-priority applications and low-priority applications, and the priority of applications can be determined according to actual service requirements.
  • the state of the target resource can be changed. For example, as shown in FIG. 4, if the target resource in the idle state is occupied by a low-priority application, the target resource becomes preemptible; When the resources occupied by the low-priority application are released, the target resource becomes idle; if the target resource in the idle state is occupied by the high-priority application, the target resource becomes movable; move the high-priority application to the same On the idle resource in the resource pool, that is, replace the target resource with the idle resource, rebind the high-priority application bound to the target resource to the idle resource, use the idle resource to process the high-priority application, and the target resource becomes idle state, where idle resource refers to a resource that is in an idle state.
  • the target resource in the preemptible state can be indirectly changed to the translational state.
  • the target resource is replaced by the idle resource in the same resource pool, and the idle resource is used to process the low-priority application, and the target resource is used to process the high-priority application.
  • the target resource It becomes a translationable state, or it can also directly release the resource occupying the target resource, and use the target resource to process high-priority applications, and the target resource becomes a translational state.
  • the status of the target resource may be queried through a resource query module in the first resource pool management component.
  • the target resource may be directly classified into the second resource pool.
  • the target resource can be divided from the first resource pool by calling the flow interface module in the first resource pool management component, and the target resource can be classified into the resource pool by calling the flow interface module in the second resource pool management component. Second resource pool.
  • the target resource determines whether there are resources occupied by high-priority applications in the target resource, that is, when the target resource is in the translational state, determine the idle resource in the first resource pool, and replace the target resource with the idle resource.
  • the priority application is bound to the idle resource, the idle resource is used to process the high-priority application, the target resource becomes idle, and the target resource is classified into the second resource pool.
  • the resource query module in the first resource pool management component queries the idle resources in the first resource pool
  • the binding/unbinding module interacts with the container orchestration component
  • the high The priority application is bound to the resource in the idle state, using the idle resource to process the high-priority application, the target resource becomes idle, and is divided from the first resource pool through the flow interface module in the first resource pool management component, Classify the target resources into the second resource pool through the flow interface module in the second resource pool management component.
  • a response message is sent, where the response message indicates that the target resource fails to be classified.
  • the resource flow component sends a response message to the sender of the resource flow information if there is no idle resource in the first resource pool after query by the resource query module in the first resource pool management component.
  • the target resource is in a preemptible state.
  • the target resource can be replaced by the idle resource, and the idle resource can be used.
  • the low-priority application bound to the target resource is processed, the target resource becomes idle, and then the target resource is classified into the second resource pool.
  • the resource query module in the first resource pool management component queries whether there are idle resources in the first resource pool, and if so, interacts with the container orchestration component through the binding/unbinding module, The target resource is replaced by the idle resource through the container orchestration component, the target resource is divided from the first resource pool through the flow interface module, and the target resource is classified into the second resource pool through the flow interface module in the second resource pool management component. resource pool.
  • the resource query module in the first resource pool management component queries whether there are idle resources in the first resource pool, and if not, the resource occupied by the target resource can be To release, divide the target resource from the first resource pool through the flow interface module in the first resource pool management component, and classify the target resource into the second resource pool through the flow interface module in the second resource pool management component.
  • the target resource can be used to process other services.
  • the binding/unbinding module in the second resource pool management component can be used to bind the target resource with other applications, the resource query module can be used to query the state of the target resource, and the state management module can be used to label the target resource.
  • the target resource when the target resource is idle, the target resource can be directly classified into the second resource pool, as shown by the solid line in Figure 5; when the target resource is preemptible In the case of the state and the translational state, the target resource needs to be turned into an idle state first.
  • the target resource is in a preemptible state
  • the occupied resource of the target resource can be released directly or replaced by an idle resource to make the target resource become idle.
  • the target resource can be changed to a hollow state by replacing the idle resource, and then the target resource is classified into the second resource pool.
  • the initial state of the target resources classified into the second resource pool is an idle state, which can be changed to a preemptible state by being bound to a low-priority application, and can be translated to a translational state by being bound to a high-priority application.
  • the target resources in the translationable state or the preemptible state can also become idle. Please refer to the related content about how the states change, and for the sake of brevity, the description will not be repeated here.
  • the method described in this application can be applied to the following scenarios, where one of the first resource pool and the second resource pool has an application form of a container or a secure container, and the other end has an application form of a process, that is, the application form of the first resource pool is A container or a secure container, the application form in the second resource pool is a process; or, the application form in the first resource pool is a process, and the application form in the second resource pool is a container or a secure container. It may also be applicable that the application forms of the first resource pool and the second resource pool are both containers, or both are secure containers, or both are processes.
  • the first resource pool and the second resource pool may be located in the same server, or may be located in different servers.
  • this application proposes a resource management framework, through which the flow of resources in different resource pools can be realized, for example, the resource used to process computing services and the resources used to process storage services can be realized
  • the resources in the resource pool used to process one business are insufficient, resources can be transferred from the resource pool processing another business to this resource pool through the resource management framework, and used as the resource processing business of this resource pool.
  • the method provided by this application makes reasonable use of resources and avoids waste of resources.
  • the user side has no perception during the entire resource flow process, does not affect business processing, improves user experience, and is easy to operate.
  • FIG. 6 is a schematic structural diagram of a resource flow device 600 provided by the present application.
  • the resource flow device 600 includes:
  • the resource management framework 610 is configured to classify the target resources in the first resource pool into the second resource pool, wherein the resources in the first resource pool are used for processing the first business container, security container, and process One or more uses, the resources in the second resource pool are used by one or more of the container processing the second service, the security container and the process.
  • the first service is one of a storage service and a computing service
  • the second service is the other of the storage service and the computing service.
  • the target resource includes one or more of processor resources, memory resources, and network resources.
  • the first resource pool and the second resource pool are located in the same server.
  • the resource management framework 610 is configured to: release the occupied resource if there is an occupied resource in the target resource in the first resource pool; Resources are grouped into the second resource pool.
  • the resource management framework 610 is configured to: if the occupied resource is occupied by a high-priority application, translate the high-priority application to the first resource pool. in idle resources.
  • the resource management framework 610 is configured to: delete the low-priority application or delete the low-priority application when the occupied resource is occupied by the low-priority application Translate to idle resources in the first resource pool.
  • the application form in the first resource pool is a container or a security container
  • the application form in the second resource pool is a process
  • the application forms in the second resource pool are containers and secure containers.
  • the apparatus 600 further includes: a monitoring module 620, configured to monitor the occupancy of each resource in the first resource pool and/or each resource in the second resource pool.
  • the resource management framework 610 includes: a first resource pool management component, a second resource pool management component, and a resource flow component, wherein the first resource pool management component is used to manage resources in the first resource pool,
  • the first resource pool management component includes a resource query module, a flow interface module, and a binding/unbinding module.
  • the second resource pool management component is used to manage resources in the second resource pool, specifically including a resource query module, a flow interface module, a binding Bind/unbind modules.
  • the resource flow component is used to communicate with external devices or external modules, such as receiving instructions or notifications sent by external devices or external modules, sending response messages to external devices or external modules, and so on.
  • external devices or external modules such as receiving instructions or notifications sent by external devices or external modules, sending response messages to external devices or external modules, and so on.
  • Each functional module in FIG. 6 is used to implement the steps described in the method embodiment in FIG. 3 .
  • FIG. 6 For details, refer to the system architecture in FIG. 2 and the description of related content in the method embodiment in FIG. 3 , which will not be repeated here for the sake of brevity.
  • the present application also provides a resource flow device, see FIG. 7, which is a schematic structural diagram of a resource flow device 700 provided in the present application.
  • the resource flow device 700 may be a server, including: a processor 710, a communication interface 720 and memory 730 .
  • the processor 710, the communication interface 720, and the memory 730 may be connected to each other through the internal bus 740, and may also communicate through other means such as wireless transmission.
  • the bus 740 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus 740 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 7 , but it does not mean that there is only one bus or one type of bus.
  • the processor 710 may be composed of at least one general-purpose processor, such as a CPU, or a combination of a CPU and a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (application-specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), a general array logic (generic array logic, GAL) or any combination thereof.
  • the processor 710 executes various types of digitally stored instructions, such as software or firmware programs stored in the memory 730, which enable the resource flow device 700 to provide a wide variety of services.
  • the memory 730 is used to store program codes, and is controlled and executed by the processor 710 to execute the steps described in the embodiment of FIG. 3 above. For details, reference may be made to relevant descriptions of the above-mentioned embodiments, which will not be repeated here.
  • the memory 730 may include a volatile memory, such as a RAM; the memory 730 may also include a nonvolatile memory, such as a ROM, or a flash memory (flash memory); and the memory 730 may also include a combination of the above types.
  • a volatile memory such as a RAM
  • the memory 730 may also include a nonvolatile memory, such as a ROM, or a flash memory (flash memory); and the memory 730 may also include a combination of the above types.
  • the communication interface 720 can be a wired interface (such as an Ethernet interface), an internal interface (such as a high-speed serial computer expansion bus (peripheral component interconnect express, PCIE) bus interface), a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or using a wireless LAN interface) for communicating with other devices or modules.
  • a wired interface such as an Ethernet interface
  • an internal interface such as a high-speed serial computer expansion bus (peripheral component interconnect express, PCIE) bus interface
  • a wired interface such as an Ethernet interface
  • a wireless interface such as a cellular network interface or using a wireless LAN interface
  • FIG. 7 is only a possible implementation of the embodiment of the present application.
  • the resource flow device may include more or fewer components, which is not limited here.
  • the content that is not shown or described in the embodiment of the present application refer to the relevant explanation in the embodiment of the foregoing method, and details are not repeated here.
  • the present application also provides a computer-readable storage medium, including computer program instructions.
  • the resource flow device executes part or all of the above resource flow method embodiments. step.
  • the present application also provides a computer program product, including program instructions.
  • the program instructions When the program instructions are executed by the resource flow device, the resource flow device executes some or all of the steps described in the resource flow method embodiments above.
  • all or part may be implemented by software, hardware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product may comprise code.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium, or a semiconductor medium.
  • the steps in the method of the embodiment of the present application can be adjusted in order, merged or deleted according to actual needs; the units in the device of the embodiment of the present application can be divided, combined or deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Stored Programmes (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente demande concerne un procédé, un appareil et un dispositif de flux de ressources. Le procédé consiste à : déterminer l'état d'une ressource cible ; exécuter une opération correspondante en fonction de l'état de la ressource cible ; classer la ressource cible d'un premier groupe de ressources dans un second groupe de ressources, une ressource du premier groupe de ressources servant à traiter un ou plusieurs éléments parmi un conteneur, un conteneur sécurisé et un processus d'un premier service, et une ressource du second groupe de ressources servant à traiter un ou plusieurs éléments parmi un conteneur, un conteneur sécurisé et un processus d'un second service. Selon la présente demande, le flux parmi des ressources de différents groupes de ressources peut être réalisé, le gaspillage de ressources est évité, un taux d'utilisation de ressources est amélioré, et l'expérience de l'utilisateur est améliorée.
PCT/CN2023/071611 2022-01-27 2023-01-10 Procédé, appareil et dispositif de flux de ressources WO2023143057A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210099460.9A CN116560822A (zh) 2022-01-27 2022-01-27 一种资源流动方法、装置及设备
CN202210099460.9 2022-01-27

Publications (1)

Publication Number Publication Date
WO2023143057A1 true WO2023143057A1 (fr) 2023-08-03

Family

ID=87470428

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/071611 WO2023143057A1 (fr) 2022-01-27 2023-01-10 Procédé, appareil et dispositif de flux de ressources

Country Status (2)

Country Link
CN (1) CN116560822A (fr)
WO (1) WO2023143057A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061262A1 (en) * 2001-09-25 2003-03-27 Hahn Stephen C. Method and apparatus for partitioning resources within a computer system
CN102279771A (zh) * 2011-09-02 2011-12-14 北京航空航天大学 一种虚拟化环境中自适应按需资源分配的方法及***
US20180176785A1 (en) * 2016-12-19 2018-06-21 Acer Incorporated Method and communications device for dynamically allocating resources
CN110457135A (zh) * 2019-08-09 2019-11-15 重庆紫光华山智安科技有限公司 一种资源调度方法、装置及共享gpu显存的方法
CN112948113A (zh) * 2021-03-01 2021-06-11 上海微盟企业发展有限公司 一种集群资源管理调度方法、装置、设备及可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061262A1 (en) * 2001-09-25 2003-03-27 Hahn Stephen C. Method and apparatus for partitioning resources within a computer system
CN102279771A (zh) * 2011-09-02 2011-12-14 北京航空航天大学 一种虚拟化环境中自适应按需资源分配的方法及***
US20180176785A1 (en) * 2016-12-19 2018-06-21 Acer Incorporated Method and communications device for dynamically allocating resources
CN110457135A (zh) * 2019-08-09 2019-11-15 重庆紫光华山智安科技有限公司 一种资源调度方法、装置及共享gpu显存的方法
CN112948113A (zh) * 2021-03-01 2021-06-11 上海微盟企业发展有限公司 一种集群资源管理调度方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
CN116560822A (zh) 2023-08-08

Similar Documents

Publication Publication Date Title
EP3512233B1 (fr) Procédé de gestion de tranche de réseau et unité de gestion
EP3800926B1 (fr) Procédé et dispositif d'alarme
EP3291499B1 (fr) Procédé et appareil pour extension de capacité de service de réseau
JP6332774B2 (ja) ネットワーク機能仮想化nfv障害管理の装置、デバイス、および方法
US10924966B2 (en) Management method, management unit, and system
US10848366B2 (en) Network function management method, management unit, and system
US20200228419A1 (en) Network management method, device, and system
JP2019534643A (ja) ネットワーク・スライス管理方法、管理ユニット、及びシステム
CN111245634B (zh) 一种虚拟化管理方法及装置
CN112789832A (zh) 动态切片优先级处理
WO2021057378A1 (fr) Procédé d'instanciation de vnf, nfvo, vim, vnfm et système
EP3470983A1 (fr) Procédé, système et support lisible par ordinateur pour allouer des ressources à au moins une application
WO2020108337A1 (fr) Procédé de programmation de ressources cpu, et équipement électronique
WO2023143057A1 (fr) Procédé, appareil et dispositif de flux de ressources
EP3398304A1 (fr) Requêtes de service de réseau
CN114979286B (zh) 容器服务的访问控制方法、装置、设备及计算机存储介质
WO2019052363A1 (fr) Procédé et appareil de modification d'instance de tranche de réseau
US11366648B2 (en) Compiling monoglot function compositions into a single entity
CN111752728A (zh) 消息传输方法及装置
US11768704B2 (en) Increase assignment effectiveness of kubernetes pods by reducing repetitive pod mis-scheduling
WO2022141293A1 (fr) Procédé et appareil de mise à l'échelle souple
WO2021129520A1 (fr) Procédé et appareil d'autorisation pour la gestion de cycle de vie d'un service de réseau
CN110417568B (zh) Nfv策略协商方法及***
WO2023147882A1 (fr) Informations de dépendance de version pour la gestion d'un service de réseau
WO2022111173A1 (fr) Procédé, dispositif et système d'accès à une tranche de réseau, et support de stockage

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23745940

Country of ref document: EP

Kind code of ref document: A1