WO2014036715A1 - System and method for controlling real-time resource supply process based on delivery point - Google Patents

System and method for controlling real-time resource supply process based on delivery point Download PDF

Info

Publication number
WO2014036715A1
WO2014036715A1 PCT/CN2012/081102 CN2012081102W WO2014036715A1 WO 2014036715 A1 WO2014036715 A1 WO 2014036715A1 CN 2012081102 W CN2012081102 W CN 2012081102W WO 2014036715 A1 WO2014036715 A1 WO 2014036715A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
service
session
control
pod
Prior art date
Application number
PCT/CN2012/081102
Other languages
French (fr)
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 运软网络科技(上海)有限公司
Priority to CN201280046577.5A priority Critical patent/CN103828326B/en
Priority to PCT/CN2012/081102 priority patent/WO2014036715A1/en
Publication of WO2014036715A1 publication Critical patent/WO2014036715A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Definitions

  • the present invention relates to IT infrastructure resource management and delivery, and more particularly to a method and system for delivery point based resource provisioning and session control in a service oriented architecture and communication environment. Background technique
  • IT infrastructure resources The delivery of IT infrastructure resources is a hot topic in cloud computing technology research. How to connect IT equipment resources in the data center and deliver them to users in a service manner to provide IT infrastructure services to users is a basic problem to be solved by infrastructure resource delivery.
  • an enterprise's IT infrastructure resources should serve the business of the enterprise and supply IT infrastructure resources for different application services. Due to the diversification of corporate business, such as development business, testing business, production and operation business, etc.; for production and business operations, different companies have different production and operation businesses, and the same enterprise has multiple production and operation categories. Business, which makes it more complicated to deliver IT infrastructure as a service in an enterprise environment.
  • the complexity is mainly as follows: It is necessary to consider the business-centric supply of resources, which involves business resource planning (for a specific business, how many servers, storage, network resources, that is, business planning logical resources) and IT foundation Facility resource delivery operation (the business runs after real physical resources are acquired) Two stages, how to combine these two phases to realize a business-driven real-time resource supply process, which is in the enterprise environment The basic issues to be addressed in the delivery of IT infrastructure resources.
  • the first phase is the delivery of business resources, that is, the delivery of logical resources required by the business.
  • the second stage is the delivery process of real physical resources (since most enterprises adopt virtualization technology, this stage can also be real physical resources and virtual resources), that is, logical resources are mapped to real physical resources.
  • the control of the infrastructure resource delivery process is particularly critical, that is, the entire component interaction process needs to be controlled (both service quality control is required for each service node, which node has a problem, how to deal with it; and the interaction context between nodes) Control) to ensure quality of service.
  • Many of the production operations of enterprises are services with high real-time requirements.
  • the IT infrastructure resource delivery services also have high real-time requirements. Therefore, when the infrastructure resources are supplied to the services, the component interaction process needs to be controlled in real time. Therefore, there is a need for a method for real-time dynamic control of the interaction process of components, controlling the interaction context between components, and performing statistical and intelligent analysis on the interaction process, which ensures the integrity of the operation and the improvement of service quality.
  • the resource control component in the service component is ultimately bound to the resource, and the resource binding needs to be controlled.
  • ESB Enterprise Service Bus
  • SOA Service Oriented Architecture
  • the communication between the ESB and the service components connected to it is generally based on the http (Hypertext Link Protocol) and soap (Simple Object Access Protocol) protocols, both of which are connectionless protocols, which cannot control the interaction between service components ( That is, contextual relationships), the process of dynamically configuring components.
  • http Hypertext Link Protocol
  • soap Simple Object Access Protocol
  • the patent "US 7,869,787 B2” invents a method of charging a service in an IP communication system, which is charged by establishing a control session for charging between the network element and the charging function.
  • the patent "method and apparatus for session control (US 7,590, 122 B2)" proposes a session filter associated with a protected network element.
  • the session request is processed by the session filter before being sent to the protected network element.
  • the protected network element will issue an event message to indicate the session condition (not a session) that is not required, such as an overload condition.
  • the session filter will receive event information directly or indirectly, thereby reducing or stopping the session request sent to the protected network element.
  • These two methods control the signaling by adding a dedicated session controller, which acts as a metering or protection node, but does not involve session control in different application scenarios (different services).
  • the QoS control method after receiving the session information, analyzes the session information and determines the QoS policy, and determines which nodes to set the QoS policy on. This method focuses on the setting and evaluation of QoS policies and does not involve interaction control between service components.
  • the application system makes it easy to add a new application and the user to select an optional application, which enhances the interaction between applications.
  • the system includes a client, an application server, and a management device to control the integration service from the application server to the client. For Should, manage the integration session. 1 " Communicating application control and data information using a traffic flow over a wireless link (US 7,653,405 B2), proposes an application information communication method in a wireless network, the communication of the data information through the traffic flow on the wireless link The communication of data information is through wireless control messages in the wireless signaling associated with the traffic flow.
  • the "Method and apparatus for controlling IP applications during resources shortage (US 7,536, 192 B2)" relates to communication sessions and resource management, one in method and system resources for maintaining the communication session, as in the case of loss or reduced bandwidth, can maintain a communication session between the mobile node.
  • specially Wo 1 J system, apparatus, and method for providing multi-application support using a Single protocol stack (US 7,480,254 B2) ', proposes a method for defining which specific application should be pointed to in future messages in a multi-application environment (SIP is different from http because the communication node can Monitor the incoming communication).
  • a component session control method suitable for the IT infrastructure resource delivery environment is needed, and the session state and the session context between the components are controlled in real time, so that the interaction between the service components can be effectively controlled (the service components and resources can also be controlled). Inter-activity), control the binding of service components and resources, perform statistics on the running status of service components, perform intelligent analysis through context information and statistical information, implement intelligent session and control decision support, and ensure operational integrity and service quality.
  • the object of the present invention is to solve the above problems, and provide a real-time resource supply flow control system based on a delivery point, which can realize flexible and dynamic binding between a resource request and a service component and a POD resource, and control the service component between the real-time. Interaction and session context, thus achieving unified control of user-oriented services and resource-oriented services in the process of resource delivery, ensuring service quality and integrity of resource delivery.
  • Another object of the present invention is to provide a real-time resource supply flow control method based on a delivery point, which can implement flexible and dynamic binding of resource requests and service components and POD resources.
  • the two phases of user-oriented services and resource-oriented services in the process of resource delivery are unified to ensure the quality and integrity of service delivery.
  • the technical solution of the present invention is:
  • the present invention discloses a real-time resource supply flow control system based on a delivery point, which controls a process and a session of IT device resource delivery in real time in a service-oriented system and a communication environment, wherein
  • the system includes a service bus, a resource bus, a reference model unit, a data model unit, a session control service component, a user service component connected to the service bus, and a resource control service component connected to the resource bus, wherein:
  • the service bus is connected to the reference model unit, the data model unit, the resource bus, the session control service component, and the user service component, receives the resource request sent by the client, triggers the session control service, and schedules the request;
  • the session control service component creates a control session for the request, controls the interaction session between the service components in real time, controls the session context, and provides a dynamic binding indication between the request and the service component;
  • the reference model unit defines the functional behavior shared by each component and component, as well as the address and relationship of the data source, providing the required data for the binding and execution of the component.
  • the data is updated in a reference model; the data model unit stores the physical POD service.
  • the state and state transition data of the IT device resources in the unit providing the resource data required for the resource control component to bind the physical POD;
  • the resource bus is connected to the service bus, the reference model unit, the data model unit, and the physical POD service unit, and controls the communication and interaction between the resource control service component and the resource;
  • the physical POD service unit constitutes a resource supply basic unit according to a policy definition and a divided device set, and the unit has a function of independently working independently of other devices, and the number of POD service units is at least one, and the POD service unit and the resource control service component Interact;
  • the number of user service components is at least one, the user service component performs the business delivery function required for the request, and the plurality of user service components cooperate to complete the user service delivery process;
  • the number of resource control service components is at least one, the resource control service component performs the resource control function required for the request, and the plurality of resource control service components cooperate to complete the POD resource control process.
  • the service bus determines to bind the request based on the information carried in the request message, or the instructions in the session control service component and the reference model unit and the data model unit. Set to the service component.
  • resource The bus determines to bind the request to the physical POD service unit based on the information carried in the request message, or the resource status information and the POD context in the data model unit.
  • the session control service component further includes:
  • the SIP session controller uses the SIP protocol to create a control session for the request, controls the interaction between one or more service components, and maintains the state and lifecycle of the session;
  • the SIP context manager tracks the session context between the service components and controls the context of the resource control service component and the POD device resource;
  • the online application management service real-time controls the binding of the request to the service component and the physical POD service unit, and the number and duration of resources used by the service component running the online service execution request, and the number and duration of the POD resource usage for executing the request;
  • the control information store stores various control information including session control information, context control information, statistical configuration information, knowledge, and rule information.
  • the reference model further comprises:
  • the resource is addressed to the resource identity, and the service addressing resource is solved by the identity reference relationship and the address; the meta-event meta-describes the captured POD resource device event, and determines the event-to-resource relationship.
  • the POD service unit further includes an IT device resource module, including a server, a FCSAN, and an IP SAN, and the POD service unit further includes a device connection service module.
  • Device routing service module integrated access module API.
  • the POD service unit further includes a resource container in which a context relationship between resources within the POD service unit is stored.
  • the online application management service further includes POD binding control, real-time control mapping relationship between the logical POD and the software-defined POD, or allocation relationship information, and the control will be
  • the logical virtual machine is assigned to the real virtual machine on the server.
  • the application management service further includes online service statistics, and obtains the total duration of resource usage by using the CCID information in the SIP message by obtaining the number and duration of the runtime resources from the service point session.
  • the online application management service further includes:
  • the statistical and intelligent analysis uses statistical and intelligent analysis models and algorithms to analyze the statistical component operation results and resource operation;
  • the planning and scheduling decisions make decisions based on the results of the analysis that are dynamically tied to service components and resources.
  • the invention also discloses a real-time resource supply process control method based on delivery point, which controls the process and session of resource delivery in real time in a service-oriented system and a communication environment, the method comprising:
  • the method further includes:
  • the service bus loads the static binding information in the configuration file
  • the service bus binds the corresponding service component to the reference model unit to obtain an indication of the function; the service component runs the function defined in the reference model unit.
  • the method further includes:
  • the primary service bus obtains a dynamic binding indication from the session control service component and the reference model unit and the data model unit; According to the binding instructions, the corresponding service component is raised.
  • the method further includes:
  • the session ID is generated when the session is created, and the session ID is inserted into the SOAP message.
  • the method further includes:
  • the method further includes:
  • the binding information between the logical POD and the software-defined POD is controlled in real time, and the mapping relationship or the distribution relationship information between the logical POD and the software-defined POD is controlled.
  • the method further includes:
  • CCID information to measure the total duration of resource usage.
  • the method further includes:
  • the method further includes:
  • the decision to dynamically bind the request to the service component and the physical POD resource is made based on the results of the analysis.
  • An embodiment of a delivery point based real-time resource supply flow control method according to the present invention the party The law further includes:
  • the resource control service component requests binding with the POD device resource; if dynamic binding is required, the resource bus sends the request to the data model unit and the reference model unit; according to the state of the device resource in the data model unit Information, determining available device resources; determining schedulable device resources based on POD context and device priority;
  • the method further includes:
  • the resource bus loads the static binding information in the configuration file to determine the device resources that can be bound;
  • the solution of the present invention is to construct a control plane, flexibly and dynamically bind resource requests to service components and POD resources, and control interaction and session context between service components in real time. Thereby, the unified control of the user-oriented service and the resource-oriented service in the resource delivery process is realized, and the service quality and integrity of the resource delivery are guaranteed.
  • FIG. 1 is a general view of a delivery point based real time resource supply flow control system of the present invention.
  • 2 is a general flow chart of a delivery point based real-time resource supply flow control method of the present invention.
  • 3 is a flow chart of a middleware component binding method of the present invention.
  • FIG. 4 is a functional block diagram of a session control service component of the present invention.
  • Figure 5 is a diagram showing the data types, structures, and relationship diagrams stored in the controlling information store of Figure 4 of the present invention.
  • FIG. 6 is a flow diagram of an interactive session between SIP Session Control Service Control components of the present invention.
  • 7 is a block diagram of a SIP session control service control request and a POD of the present invention.
  • Figure 8 is a block diagram of the SIP session control service statistics online service of the present invention.
  • FIG. 9 is a general flow diagram of the session control service of the present invention.
  • Figure 10 is a flow chart of the control session life cycle of the present invention.
  • 11 is a functional block diagram of the binding of the POD service unit and the resource control component of the present invention.
  • Figure 12 is a flow diagram of the binding between the resource control component and resources of the present invention. Detailed description of the invention
  • FIG. 1 is a general view of a delivery point based real time resource supply flow control system of the present invention.
  • Resources here refer to hardware devices and virtual devices in the data center.
  • the system consists of a client 11, a resource delivery control center 12, and physical POD service units 131 ⁇ 13n. Through the resource delivery control center 12, a control plane can be constructed to control the process of resource delivery.
  • the client 11 is a requester of the resource service, and may include various resource requesters.
  • the client may include a test service department, a development service department, and an operation service department of the enterprise. The administrators of these departments request real-time resources from the control center to perform their respective businesses.
  • the resource delivery control center 12 is the core of the real-time control resource delivery of the present invention, and is composed of a service bus 121, a resource bus 122, a reference model unit 123, a data model unit 124, a session control service component 125, a user service component 126, and a resource control service bus. 127 composition.
  • the reference model unit 123, the data model unit 124, and the session control service component 125 belong to a management control type component, and the functions of these management control type components are enabled throughout the entire control flow.
  • the user service component 126 and the resource control service component 127 belong to a functional component having a specific function.
  • the binding process (flow control) of the service component and the service request is completed by the service bus 121 and the reference model unit 123, the data model unit 124, and the session control service component 125. Control of the session is done by the session control service component 125.
  • the service bus 121 is connected to the main functional components in the control center, and is responsible for communication between components, protocol conversion, load balancing, routing, and monitoring.
  • the service bus 121 is coupled to the reference model unit 123, the data model unit 124, the resource bus 122, the session control service component 125, the plurality of user service components 126, and the resource control service component 127.
  • the service bus 121 receives the resource request issued by the client 11, initiates a session control service, and schedules the request.
  • Service bus 121 can be tied The service components associated with it, including the user service component 126 and the resource control service component 127, manage the service lifecycle and implement reuse of the service components.
  • the primary service bus can be an ESB.
  • the user service component runs the business delivery function required by the request, and multiple user service components cooperate to complete the user business delivery process.
  • resource control service components 127 there are a plurality of resource control service components 127, from the resource control service component 1 to the resource control service component n.
  • the resource control service component 127 herein refers to some functional components for resource control, such as a resource controller such as a VM controller, a storage controller, a network controller, and the like.
  • the resource control component service provides a resource state model to perform access control operations on the underlying resources.
  • the reference model unit 123 stores various data information and data relationship information such as user service information, resource reference information, and identity information, defines functional behaviors and data sources executed by each component, and provides functions for the ESB to bind the request to the service component. Indication and addressing services.
  • the data stored in the reference model unit 123 has a transient characteristic, and as the request is executed, changes in various information are updated in the reference model.
  • the data model unit 124 is a model of real resource states in which the storage server state, the virtual machine state, the storage state, the network state, and the lifecycle of these resource states are software representations of these physical resources. Through the resource data model, you can decide on the submission of resource requests and on which server to route resource requests.
  • the resource bus 122 is a distributed data service in a heterogeneous resource environment, and is responsible for communication between resource control service components and resources, and can shield different operating systems and different programming languages.
  • the resource bus 122 is coupled to the service bus 121, the reference model unit 123, the data model unit 124, and the physical POD service unit 13, and controls communication and interaction between the resource control service component 127 and resources.
  • the resource bus 124 mainly includes a topic-based publish and subscribe function and a QoS guarantee function.
  • the resource bus 124 may be a distributed data service DDS, an Internet communication engine (ICE), or the like.
  • the Session Control Service component 125 is based on the SIP protocol, which provides a standards-based way of providing IP communications for a variety of devices and applications.
  • the session control service component 125 creates a control session for the request, controls the interaction session between the service components in real time, controls the session context, online statistics, and intelligent decision making. A dynamic binding indication between the request and the service component.
  • the session control service component 125 mainly includes a SIP session service and a SIP management service, wherein the SIP session service refers to a session management service for controlling the creation, modification, and termination of a session in the SIP protocol, by which SIP level session control and distribution can be implemented. Transaction processing.
  • the SIP management service is used to manage the session context of the SIP-controlled service node, the context of the resource control service component and the resource, the binding with the POD, the removal of the online application, and the provision of online application statistics services, including statistical execution requests.
  • the number of resources used by the service node and the length of time the resource is used, as well as the number and duration of resource usage for the request, provide statistical and intelligent analysis decision services. Directly connected to the physical POD service unit 13.
  • the session control service component will be described in detail in FIG.
  • the physical POD (delivery point) service unit 13 is a single delivery resource module, which includes IT equipment resources, such as the server 131, the FC SAN 132, and the IP SAN/NAS 133. These resources form a physical POD service unit 13 by a certain division.
  • the set of devices is defined and divided in the data center network to form a resource provisioning physical unit, which can work independently without relying on other devices, and finally form a physical POD service unit 13.
  • the physical POD service unit 13 has a resource container in which a context relationship between resources within a physical POD service unit 13 is stored. The division of POD is determined by the number of resources in the data center and the needs of the business resources to obtain a compromise result.
  • a plurality of physical POD service units 13 can be divided, from physical POD service unit 1 131 to POD service unit n 13n.
  • Each physical POD service unit 13 is composed of an IT equipment resource module 1313, a device connection service module 1310, a device routing service module 1311, and an integrated access module 1312, wherein the integrated access module 1312 provides an API for accessing the resource control service.
  • 2 is a general flow chart of a delivery point based real-time resource supply flow control method of the present invention. The method includes two dimensions of service flow control and session control, and session control. The specific process is as follows: Step 201: The client sends a request to request to use resources.
  • Step 202 The service bus receives a resource request from the client.
  • the service bus is an enterprise service bus ESB.
  • Step 203 The service bus invokes the session control service component to create a control session for the request, and controls the real time.
  • the behavior of the functional components and the data sources to be used are defined in the Reference/Data Models cell.
  • the binding between functional components includes static binding and dynamic binding, which will be described in detail in FIG.
  • Step 205 After the service bus determines which service component to bind the request to, it initiates a service component processing request to maintain communication and interaction between the service components.
  • Step 206 Determine whether the request reaches the resource bus, and if yes, proceed to step 207.
  • the container stores the associated context of the IT device resource, ensuring that the requested device resource is in the same POD service unit.
  • Step 208 The resource bus maintains communication and interaction between the resource control service component and the resource to ensure real-time interaction.
  • Step 209 The resource control service component controls the operation of the resource.
  • the resource control service component refers to a virtual machine controller (VM controller) and a resource virtual machine (VM), which is controlled by a resource.
  • VM controller virtual machine controller
  • VM resource virtual machine
  • the virtual machine controller controls the operation of the virtual machine.
  • Step 210 The resource request sent by the client is controlled by the component of the resource delivery control center, and the resource is run to generate a resource instance, thereby completing the process of resource delivery control.
  • Resources here refer to computing, storage, and network resources within a POD service unit.
  • Step 211 End the control session and release the occupied resources.
  • Step 212 Update the resource status in the data model unit, and update the reference relationship information in the reference model.
  • Step 213 End the service process and recycle resources.
  • 3 is a flow diagram of the binding of a request and service component of the present invention.
  • the method is that the service bus in step 204 in FIG. 2 binds the service group according to the information in the request message according to the indication in the reference/data model unit. Further refinement of the pieces.
  • the service bus according to the information in the request message, indicates in the reference/data model unit that the binding service component obtains a function indication of the component operation and a binding indication of the component by interacting with the reference model unit and the data model unit. Static and dynamic binding of service components and requests can be implemented.
  • the specific process is as follows:
  • Step 301 The service bus receives the service request.
  • Step 302 The service bus determines whether the request is dynamically bound to the service component.
  • the component here refers to the user service component and the resource control service component in the control center 12.
  • the dynamic binding is different from the static binding, and the request is not
  • the binding mode is manually and statically determined in advance, and is flexibly and dynamically determined according to the service request and various configuration policy information. If the request is statically bound, the process proceeds to step 304, otherwise, the process proceeds to step 303.
  • Step 303 The service bus obtains a dynamic binding indication from the session control service component and the reference model unit and the data model unit. Specifically, the session control service component determines the binding relationship between the request and the component, thereby establishing a service sequence for executing the request, where the binding relationship is determined by session context analysis, which will be described in detail in FIG. 4; The shared behavior and data source between the components defined in the unit and the data model unit, the dynamic binding between the components is enhanced, and the components that execute the request are dynamically bound together.
  • Step 304 The service bus loads the static binding information in the configuration file, where the configuration file information is defined in advance in the request, and the static binding information determines the related service components that execute the request, and the request is transmitted between the service components. , thereby forming a service flow.
  • Step 305 Initiate a corresponding service component according to the binding instruction in the session control service component and the reference model unit and the data model unit, and in a preferred embodiment of the present invention, first trigger the first service to execute the request.
  • Component Initiate a corresponding service component according to the binding instruction in the session control service component and the reference model unit and the data model unit, and in a preferred embodiment of the present invention, first trigger the first service to execute the request.
  • Step 306 The service bus binds the corresponding service component to the reference model unit to obtain an indication of the function, and the reference model unit defines the behavior and data source of the service component running.
  • Step 307 After obtaining the function indication, the service component runs the function defined in the reference model unit, and when the reference model unit is updated, the service component runs the updated function.
  • Step 308 The service bus dynamically binds the service component to the reference model unit to obtain an indication of the function, and the reference model unit defines the behavior and data source of the service component running.
  • Step 309 The service component runs the functions defined in the reference model unit.
  • Step 310 The binding process and the execution process end, forming a workflow of the service, and the service bus acts as an intermediary to control the process of collaborative execution of the service through multiple service components, and manages the service life cycle.
  • 4 is a functional block diagram of a session control service component of the present invention.
  • the session control service component of the present invention is implemented using Session Control Protocol (SIP).
  • SIP Session Initiation Protocol
  • SIP Session Initiation Protocol
  • the SIP protocol provides a standards-based way to provide IP communications for multiple devices and applications.
  • the service components here refer to the user service components (1 to n) and the resource control service components (1 to n) in FIG. In the SIP service environment, these service components are also referred to as SIP service nodes. This portion is composed of a user agent client 41, a user agent server terminal 42, and a SIP session control service 43.
  • SIP Service Node 41 and User Agent Server (SIP Service Node) 42 refers to the above-described service components, including both the User Service component and the Resource Control Service component.
  • SIP communication the calling party is referred to as a user agent client 41, and the called party is referred to as a user agent server 42.
  • the user agent client 41 issues a message and the user agent server 42 responds to the message.
  • the SIP Session Control Service 43 provides SIP session control services for these service components, controls session and session context between components, and performs statistical analysis and intelligent decision making.
  • the SIP service functions provided in the SIP session control service 43 include a SIP session controller 431, a SIP proxy 432, a SIP context manager 433, an online application management service 434, and a control information base 435.
  • the SIP session controller 431 can create, modify, and delete sessions between one or more service nodes, manage the state and lifecycle of the session, manage global control sessions, resource control sessions, and resource binding sessions.
  • the SIP proxy 432 provides proxy services for both parties, such as basic function location, forwarding, and session control (determining the Proxy protocol stack; protocol stack encapsulation, interface object definition; determining the SIP object address encoding mode, and encoding component implementation).
  • the SIP context manager 433 manages context information between SIP service nodes.
  • Each context is an independent service node, and the association between the service nodes is realized through the context, which may be a simple context relationship or a complex Multiple contexts.
  • the SIP context manager 433 can also acquire and manage the resource control service component 127 and POD13. Contextual information between them to construct a comprehensive association from the control plane to the resource data plane context, associating the control plane with the data plane.
  • the SIP context manager 433 is responsible for the update of the context.
  • the online application management service 434 includes a rules and policy engine 4341, real-time binding control 4342, online application statistics 4343, statistical and intelligent analysis 4344, planning and scheduling decisions 4345.
  • the online application management service controls and manages the POD resource services controlled by the session object service node and the service node through SIP, implements management interface, controls data configuration, SIP node status, SIP statistics summary, statistics and intelligent analysis, planning and scheduling. Decision making, etc.
  • the online application here refers to real-time service component interaction and collaborative execution and resource control service component control of POD resources.
  • the service component herein refers to a service component that implements the entire control service, including a user oriented service component 126 and a resource control service component 127. Some rules and policies are defined in the rules and policy engine 4341 to control the binding and removal of online service components and resources.
  • the real-time binding control 4342 controls the binding between the service components, and the binding of the resource control service component 126 to the POD device resource 13, and the SIP binding control of the resource control service component and the POD device resource will be described in detail in FIG. .
  • Online application statistics 4343 online statistics on the number of resources used by each service node 43432, the duration of use 43331; and the number and duration of use of POD resources controlled by the resource control service node, and summarized, which will be described in detail in FIG.
  • Statistical and intelligent analysis 4344 provides analysis of online statistical data to form a knowledge base. And through the planning and scheduling decision 4345 to provide decision support for the binding of the next phase of the SIP session request with the service component and the POD resource.
  • the statistical and intelligent analysis 4344 here comes from the analysis function in the decision support system.
  • the statistical analysis can include regression analysis, factor analysis, principal component analysis, Bayesian network, etc.
  • Intelligent analysis can include neural networks, genetic algorithms and so on.
  • the statistical and intelligent analysis 4344 may be an analysis of the failure rate of the previous request, an analysis of the probability that the request is accepted.
  • the analysis can include the availability of one or more service components (service providers).
  • Stored in the control information base 435 are various control information including sessions, contexts, knowledge, and the like. Intelligent session control is achieved through this part.
  • Figure 5 is a diagram showing the types, structures, and relationship diagrams of data stored in the control information base of Figure 4 of the present invention.
  • the control information base 51 is for session control services, and the control information base includes fields session infor 511, context infor 512, statistic config infor 513, and rule and knowledge 514 information.
  • the session infor 511 field mainly refers to various session information, including the Global session ID. 5111, Rsc—us—session—key 5112, Rsc—session—key 5113, Srv Cmp key 51 14.
  • a global session is created for the request by the SIP session controller 43 1 , each session having a unique identity, which is uniquely identified by the Global_session_ID 51 11 .
  • Global_session_ID 51 1 1 is passed between service components.
  • the resource user agent in the SIP session controller 431 creates a resource user session for the request, represented by the field Rsc_us_session_key 5112.
  • the resource binding agent in the session controller creates a resource binding session for the request, which is represented by the field Rsc_session_key5113.
  • the associated components that implement the control process are represented by Srv Cmp key 5114.
  • the Context infor 512 field includes the Usr_Cmp_Context 5121, Srv_Cmp_Context 5122, Srv_Cmp_POD_Context 5123 fields. Sessions between objects of different levels and levels correspond to different contexts.
  • the session context between the user service components is represented by the field Usr_Cmp_context 5121, and the session context between the resource control service components is represented by the field Srv_Cmp_context 5122.
  • the service control component and the POD can also be controlled.
  • Context Srv - Cmp - POD - context 5123. 6 is a flow diagram of an interactive session between SIP session control service components of the present invention.
  • the session between the service components is implemented by the SIP protocol
  • the session between the service components is implemented by the SIP protocol.
  • the specific process is as follows:
  • Step 601 The session control service component creates a SIP session, where the session is created through the SIP protocol.
  • Step 602 Generate a SIP session ID (identity), each session has a unique ID, and record the session ID in the SIP session control service.
  • Step 603 Insert a session ID in each SOAP message.
  • the communication between service components connected by the service bus uses SOAP and http protocols (this is somewhat limited, if other protocols are used, how? Generalization).
  • Step 604 The session ID is transmitted between the service components of the ESB connection through the soap message.
  • Step 605 The service component receives the session ID.
  • Step 606 Determine whether it is a new session ID, and if yes, go to step 607, otherwise go to step 610.
  • Step 607 Review the session ID and the SIP session control service, and determine whether the session ID is stored in the SIP session control service, and if yes, proceed to step 608.
  • Step 608 The service component records the session ID.
  • Step 609 Perform component functions requested by the user.
  • Step 610 Determine whether the session process is finished. If yes, go to step 611, otherwise continue to judge.
  • Step 611 The session ID is deleted from the SIP session control service and service component, and the session process ends.
  • Figure 7 is a block diagram of the binding of the SIP Control Request and POD of the present invention.
  • the client 701 sends a service request 7011, where the client 7011 refers to the client 11 in FIG. 1, and the service request 7011 refers to a resource service request, that is, an IT infrastructure resource required for the service run by the client to request the service operation from the system.
  • the user service component 702 receives the client's request, and invokes the service design 7022 to design a logical POD 7021 for the business request, that is, a set of IT infrastructure resources required for the business design and planning execution of the business. Specifically, at this stage, the design execution service request is performed. How many servers, storage, and network resources are needed.
  • the user service component 702 herein is one of the user service components 126 of FIG. 1 that performs business design functions.
  • Logical POD 7021 refers to a collection of logical IT infrastructure resources required to perform a business, including servers, storage, networks, and the like.
  • the resource control service component 704 which is one of the resource control service components 127 of FIG.
  • the resource control service component 704 controls access and allocation of resources, and the allocation schedule 7042 in the resource control service component 704 determines to assign devices in the logical POD to devices in the software-defined POD, ie, to allocate the service requests to the real physical devices. on. This process is also referred to as the binding of logical POD7021 and software-defined POD 7041.
  • the software-defined POD 7041 refers to real device resources defined by software, such as real servers and virtual machines; the difference between it and logical POD 7021 is: Logical POD 7021 only designs and plans resources for the business, that is, how much hardware is required for a service operation.
  • the device, and the software-defined POD 7041 defines and determines the real device resources for running the service, including the real resource name and the real resource address.
  • the session between the user service component 702 and the resource control service component 704 is controlled by the SIP session control service 703, which manages the context of the session.
  • the binding information between the logic POD 7021 and the software-defined POD 7041 is controlled in real time, that is, the mapping relationship or the distribution relationship information between the control logic POD 7021 and the software-defined POD 7041.
  • the business request is implemented at the POD service unit.
  • the POD service unit 705 herein is the POD service unit 131 in FIG. 1 and refers to a collection of IT infrastructure devices.
  • the service request 7011 obtains the hardware device in the POD service unit 705, and runs to generate the resource instance Runtime POD 706.
  • the logical POD service unit 7021 includes a logical VM 70211, which designs and plans a logical virtual machine 70211 for service requests. And assigning the logical VM 70211 to the software-defined VM 70411, that is, assigning the logical VM 70211 to a virtual machine on the server, the process being controlled by the SIP session control service, requesting on the server 7051 in the POD service unit Implemented on VM 70511 to generate runtime VM 7061.
  • FIG. 8 is a block diagram of the use of the SIP statistical online resource of the present invention.
  • the SIP session control service 81 can count the number and duration of resources used by the service request.
  • the SIP session control service 81 refers to the SIP session control service 43 in FIG. 4, including the SIP session controller 811, the SIP proxy 812, and the online application statistics 813, wherein the online application statistics 813 includes a usage duration 8131 and a resource number 8132.
  • the SIP session control service issues a SIP message request to the resource controller (service component) 8211, where the SIP message can be an Invite message.
  • the resource control server 8211 receives the request, and generates a child process, that is, the service point 1 82111 to the service point 2 82112, and the service point 1 82111 and the service point n 82112 also become service components that can provide a service function, thereby becoming controlled by the SIP session control service 81.
  • the SIP session control service 81 sends a SIP request to the service point 1 82111.
  • the request message includes information such as Call-ID and CCID.
  • the SIP request here may be an Invite request, the call-ID is a session ID, and the CCID is a total duration of measurement resource usage. ID.
  • Service Point 1 82111 controls the operation of Runtime virtual machine 8212, and the duration of Runtime virtual machine 8212 is counted by CCID.
  • the service point 1 82111 returns a SIP response message to the SIP session control service, where the message includes the running time of the virtual machine and the number of resources used by the CCID, and the number of resources used here is measured by the service point.
  • the online application statistics 813 can further charge the use of resources according to the returned usage time 8131 and the number of resources 8132, and perform intelligent and statistical analysis.
  • the POD service unit 82 here is the POD service unit 13. Ben in FIG.
  • the resources of the invention are not limited to the Runtime virtual machine 8212, but also include other devices in the POD service unit 82, such as the server 821, FC SAN 822, IP SAN/NAS.
  • Figure 9 is a flow diagram of the SIP session control service of the present invention.
  • the SIP session control service includes creating a session, managing the life cycle of the session, managing the session context, counting the number and duration of resources used by the online service, analyzing the statistical data, and binding with the POD. Together, these services build the flow of SIP session services to ensure operational integrity and session intelligence.
  • This process is also a further refinement of the session control service part of Figure 2, the specific process is as follows:
  • Step 901 Create a control session for the request, control the interactive session between each service component through which the request passes, and maintain the session state and connection.
  • Step 902 Determine whether it is necessary to intelligently guide the component binding process, and if yes, proceed to step 903, otherwise proceed to step 904.
  • Step 903 Provide an indication for the component binding process through the knowledge base in the SIP.
  • the knowledge and rule base formed by the statistical and intelligent analysis in the SIP can provide decision support for the dynamic binding of the request and the service component.
  • Step 904 Control a session between service nodes (service components), where the service node refers to a SIP service node, that is, a user agent client and a user agent server of SIP communication.
  • the SIP service node refers to each control plane.
  • Each service component including a user service component and a resource control service component, can be run on one or more servers.
  • Step 905 It is judged whether the service node is faulty. If a fault occurs, the process proceeds to step 906, otherwise, the process proceeds to step 907.
  • Step 906 Select an alternate node and record the process.
  • Step 907 Count the number and duration of resources used by the service node.
  • Step 908 Track the session flow, maintain the session context, where the context manager can be used to save and manage the context of the session.
  • Step 909 Control the context of the resource control service component and the POD device resource, and associate the resource context in the runtime POD. Since there is a resource container in the POD service unit, the context relationship between the resources in a POD service unit is stored therein. , the context can be a resource control service Component control and access resources provide references, while resource control service components are controlled by SIP sessions, so a runtime POD context can be associated with the SIP service node's session context.
  • Step 910 Form the context of the entire session control through the above association.
  • Step 911 Online statistics on the usage of POD resources. The detailed process is shown in Figure 8.
  • Step 912 Analyze resource usage and the entire session control context to form knowledge and guide decisions.
  • the decisions here include dynamic binding decisions between request and service components and resources, and some other dynamic control decisions.
  • Step 913 It is judged whether the control process is finished. If it is finished, the process proceeds to step 614, otherwise the determination is continued.
  • Step 914 Terminate the control session and release the resource.
  • Figure 10 is a flow chart showing the control session life cycle and session relationship of the present invention. Since the control process includes two phases of user-oriented service and resource-oriented service, and the request is finally bound to the POD resource, the entire session process includes three phases, and the specific process is as follows:
  • Step 1001 The session control service component receives the resource request, where the session control service is the SIP session control service in FIG.
  • Step 1002 The SIP proxy in the session control service component creates a global controlling session for the request, which can be created by using a global user agent in the SIP proxy.
  • the global control session refers to the total session of the entire control process, and global control.
  • the session also includes several sub-control sessions.
  • Step 1003 Determine whether to enter the resource control phase, and if yes, proceed to step 704, otherwise continue to determine;
  • the resource control phase herein refers to the phase in which the resource control service component interacts through the service bus.
  • Step 1004 The SIP proxy in the session control service component creates a resource control session, where the resource user agent in the SIP proxy is used to create the session, and the resource control session is a request to run to the resource control service component phase, between the resource control service components.
  • Session, resource control session is a sub-session of global control session, and there are multiple resource control sessions under one global control session.
  • Step 1005 Determine whether to enter the resource binding phase, and if yes, proceed to step 1006, otherwise proceed to the step to continue to determine;
  • the resource binding phase herein refers to the resource control service component and the POD
  • the device resource binds and interacts to generate a phase of the resource instance, which connects the control plane and the data plane.
  • the resource bound by the resource controller is a virtual machine (VM)
  • VM virtual machine
  • Step 1007 It is judged whether the resource instance is finished. If it is finished, the process proceeds to step 1008, otherwise, the process proceeds to step 1009.
  • Step 1008 End the resource binding session, the resource control session, and the global control session, and release the occupied resources.
  • the resource instance ends, the corresponding control process also ends, ending the control session.
  • Step 1009 Determine whether the session time exceeds the threshold. If the threshold is exceeded, go to step 1008, otherwise go to 1007 and judge again.
  • 11 is a functional block diagram of the binding of the POD service unit and the resource control component of the present invention. Indicates the interaction relationship between the resource control service component and related components when accessing POD resources. This part is composed of a resource control service component 1 1101, a resource control service component 2 1102, a POD service unit 1103, a resource bus 1104, a data model unit 1105, and a reference model unit 1106.
  • the resource control service component 1 1101 and the resource control service component 2 1102 are resource controllers that control various device resources.
  • the resource control service component may refer to a virtual machine controller (VM controller), storage controller, etc.
  • the POD service unit 1103 includes a resource container 11031.
  • the resource container 11031 stores a context relationship between a server, a network, and a storage device resource. Through the context, it is known that one device (such as a server) can be associated with other network devices and Storage device.
  • the resource bus 1104 includes a message broker 11041, which has a message queue for topic-based publish subscriptions.
  • the Message Agent 11041 has a QoS 110411 that provides a subset of QoS features such as stability (which can be automatically replied when packets are lost), persistence (can be automatically restored, and consistent by lock).
  • a communicator is also included in the resource bus 1104.
  • the total resources Line 1104 can be a DDS (Distributed Data Service) or an ICEdntemet communication engine).
  • the reference model unit 1 106 stores the meta-reference information, that is, through the description information of a data structure, the stored meta-information has information such as a node reference, an instance reference, a service provider reference, and the like.
  • Reference model unit 1 106 includes resource addressing 11061, meta event 11062, policy 11063.
  • resource addressing 1 1061 has an identity system (ID system), which has the identity, name and reference relationship of various resources, and can realize resource addressing.
  • ID system identity system
  • meta event 11062 a meta description of the following resource state events is made to let the entire system know about these states.
  • Strategy 11063 is the various strategies that are defined therein.
  • the real resource status 11051 information is stored in the data model unit 1105.
  • the resource control service component 1 1101 issues a request for resource subscription to the resource bus 1104 and declares the subject of the resource to be subscribed, such as name, type, QoS, and the like.
  • the resource bus 1 104 determines the subscribing POD resources according to the resource status information in the data model unit and the resource context information in the POD service unit, and informs the published resource subject, and the resource bus 1104 simultaneously controls the resource control service component 1 1102 and the POD service. Communication and interaction between units 1 103.
  • Figure 12 is a flow diagram of the binding between the resource control service component and resources of the present invention.
  • the resource bus acts as an intermediary to control the communication and interaction between the resource control service component and the resource.
  • Step 1201 During the resource control session, the session object resource control service component issues a binding request with the POD device resource.
  • the session object here refers to the resource control service component, where the resource control service component refers to the resource controller, and the resource can be either a physical device resource or a virtual device resource.
  • the resource control service component refers to a virtual machine controller (VM controller) and a resource virtual machine (VM). Binding of session objects to device resources can be done during a resource control session.
  • VM controller virtual machine controller
  • VM resource virtual machine
  • Step 1202 Determine whether dynamic binding is required. If necessary, proceed to step 1203. Otherwise, go to step 1207; the dynamic binding here is relative to static binding, and the static binding refers to before performing binding. , the binding rules and processes are determined in advance, and the dynamic binding refers to dynamically determining binding rules and processes according to resource states and the like when performing binding.
  • Step 1203 The resource bus sends the request to the data model unit and the reference model unit, and the real state information, state transition information, and the like of the storage resource in the data model unit are defined in the reference model unit.
  • Step 1204 Obtain status information of the device resource from the data model unit, determine available device resources, where the available device set can be determined.
  • the available device resources refer to available virtual machines.
  • Step 1205 Determine schedulable device resources according to the POD context and device priority.
  • the POD service unit has a container that stores the associated context of the IT device resources, ensuring that the requested device resources are in the same POD service unit.
  • a resource scheduler is used to schedule resources through a certain algorithm. The algorithm is based on Information such as the last used error rate based on the available device usage; through this step, the resources bound to the resource control service component are determined, and dynamic binding between the two is achieved.
  • Step 1206 Obtain corresponding device resource identity and address information from the reference model unit, and obtain a functional behavior indication of the device resource and the resource control service component, and the binding behavior can be performed by using the information and the indication.
  • Step 1207 The resource bus loads the static binding information in the configuration file to determine the device resources that can be bound.
  • the static binding information is set by the system administrator and fixedly bound.
  • Step 1208 The resource bus sends the request to the reference model unit.
  • Step 1209 Obtain device resource identity and address information from the reference model unit, and obtain a functional behavior indication of the device resource and the resource control service component.
  • Step 1210 Establish a binding between the resource control service component and the device resource, and the binding behavior may be a communication behavior signal, announcement, or interrogation, and the resource control service component and the device resource may communicate, and control the operation of the device resource. .
  • Step 121 1 During the control session, the resource control service component can interact with multiple device resources to implement distributed transaction processing, and form an interaction data flow between the session object resource control service component and the device resource.
  • the virtual machine binder 1 can bind the signal communication between the virtual machine 1 and the virtual machine 2
  • the virtual machine binder 2 can bind the virtual machine.
  • the virtual machine binder 3 can bind the Interrogation communication between the virtual machine 3, the virtual machine 4 and the virtual machine 5, thereby forming an interaction process between the virtual machine controller and the virtual machine.
  • the main innovations of the present invention are as follows: (1) The service resource component is collaboratively completed to complete the delivery of the service resource, and the resource control service component cooperates to complete the delivery of the physical resource, thereby completing the two-stage resource delivery in one time, and controlling the service request to access the resource through the cooperation between the components;
  • SIP session control service is used to control the interaction between components in real time, control the interaction session context, control the binding of requests and POD resources, and count the number and duration of resources used by online services to ensure service quality and operation. Integrity.
  • control process By controlling the two components of component binding and communication and session process simultaneously, the control process can be dynamically programmed, and the interactive session between components can be controlled in real time, and the offline control process can be transformed into an online real-time control process. Guarantee the quality of service and the integrity of operations.
  • the SIP session control service is used to manage the context between the service components, and controls the context of the resource control service component and the physical POD device resource, and performs statistical intelligence analysis through the context information to implement intelligent session and control decision support.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Disclosed are a system and method for controlling a real-time resource supply process based on a delivery point, so that flexible and dynamic binding of resource requests, service components and POD resources can be implemented, and interaction between the service components and session context can be controlled in real time, thereby implementing unified control of two phases of user-oriented services and resource-oriented services during the resource delivery process and ensuring service quality and completeness of resource delivery. The technical solution is: constructing a control plane to control an entire resource delivery process, which comprises component binding and simultaneous control from two dimensions of communication and a session process, and implements unified control of two phases of user-oriented services and resource-oriented services.

Description

基于交付点的实时资源供应流程控制系统和方法 发明领域  Real-time resource supply flow control system and method based on delivery point
本发明涉及 IT 基础设施资源管理和交付, 更为具体地, 涉及面向服务的 体系和通信环境中的一种基于交付点的资源供给流程和会话控制的方法及系 统。 背景技术  The present invention relates to IT infrastructure resource management and delivery, and more particularly to a method and system for delivery point based resource provisioning and session control in a service oriented architecture and communication environment. Background technique
IT基础设施资源的交付是云计算技术研究的热点。如何将数据中心中的 IT 设备资源连接起来, 以服务的方式交付给用户, 从而向用户提供 IT基础设施服 务, 是基础设施资源交付要解决的基本问题。  The delivery of IT infrastructure resources is a hot topic in cloud computing technology research. How to connect IT equipment resources in the data center and deliver them to users in a service manner to provide IT infrastructure services to users is a basic problem to be solved by infrastructure resource delivery.
在企业环境中, 企业的 IT 基础设施资源应该服务于企业的业务, 需要为 不同的应用业务供应 IT基础设施资源。 由于企业业务的多样化, 比如有开发类 业务, 测试类业务, 生产经营类业务等; 对生产经营类业务而言, 不同的企业 有不同的生产经营类业务, 同一企业有多种生产经营类业务, 这就使得在企业 环境中以服务的方式交付 IT基础设施变得更为复杂。 其复杂性主要体现如下: 需要考虑以业务为中心来供应资源, 这就涉及到业务资源规划 (对于一个具体 的业务, 需要多少服务器, 存储, 网络资源, 即为业务规划逻辑资源) 和 IT 基础设施资源交付运行 (业务获得真实的物理资源后运行起来) 两个阶段, 如 何将这两个阶段结合在一起, 实现以业务驱动为中心的实时 (real-time ) 资源 供给过程, 是企业环境中 IT基础设施资源交付要解决的基本问题。  In an enterprise environment, an enterprise's IT infrastructure resources should serve the business of the enterprise and supply IT infrastructure resources for different application services. Due to the diversification of corporate business, such as development business, testing business, production and operation business, etc.; for production and business operations, different companies have different production and operation businesses, and the same enterprise has multiple production and operation categories. Business, which makes it more complicated to deliver IT infrastructure as a service in an enterprise environment. The complexity is mainly as follows: It is necessary to consider the business-centric supply of resources, which involves business resource planning (for a specific business, how many servers, storage, network resources, that is, business planning logical resources) and IT foundation Facility resource delivery operation (the business runs after real physical resources are acquired) Two stages, how to combine these two phases to realize a business-driven real-time resource supply process, which is in the enterprise environment The basic issues to be addressed in the delivery of IT infrastructure resources.
针对该问题, 考虑将传统的 IT 基础设施资源交付扩充为业务资源交付和 物理资源(即 IT基础设施资源)交付两个阶段, 第一阶段为业务资源交付, 即 业务所需的逻辑资源的交付, 第二阶段为真实的物理资源的交付过程 (由于大 多数企业都采用了虚拟化技术, 该阶段也可以为真实的物理资源和虚拟资源), 即将逻辑资源映射到真实的物理资源。  In response to this problem, consider extending the traditional IT infrastructure resource delivery to two phases of business resource delivery and physical resource (ie, IT infrastructure resource) delivery. The first phase is the delivery of business resources, that is, the delivery of logical resources required by the business. The second stage is the delivery process of real physical resources (since most enterprises adopt virtualization technology, this stage can also be real physical resources and virtual resources), that is, logical resources are mapped to real physical resources.
这两个阶段的实现需要多个服务组件协作完成, 涉及到面向用户业务的功 能组件和面向资源的功能组件两个层次的功能组件 (业务资源交付和物理资源 交付两个层次的功能组件) , 这些功能组件是异构的, 采用不同的编程语言和 接口, 处于不同的协议栈, 如何实现这些异构组件之间的通信, 组件和资源间 的通信 (把资源也看做一种功能组件) , 并实现请求和组件间的灵活动态的绑 定, 是实现组件间的协作与交互的关键。 The implementation of these two phases requires the cooperation of multiple service components, which involves functional components of user-oriented business and functional components of resource-oriented functional components (two levels of functional components for business resource delivery and physical resource delivery). These functional components are heterogeneous, use different programming languages and interfaces, are in different protocol stacks, and how to implement communication between these heterogeneous components, components and resources. Communication (seeing resources as a functional component) and implementing flexible and dynamic binding between requests and components is the key to achieving collaboration and interaction between components.
另一方面, 由于 IT 基础设施资源处于最底层, 为上面的业务提供资源支 撑, 资源交付过程中的一个很小的问题都将严重地影响上面的业务的运行, 从 而给企业生产和经营带来巨大的损失。 因而基础设施资源交付过程的控制尤为 关键, 即需要对整个组件交互过程进行控制 (既需要对每个服务节点进行服务 质量控制, 哪个节点出了问题, 怎样处理; 又要对节点间的交互上下文进行控 制) , 确保服务质量。 企业的生产业务很多都是实时性要求比较高的业务, IT 基础设施资源交付业务也有很高的实时性要求, 因而为业务供应基础设施资源 时, 还需要对组件交互过程进行实时控制。 因而需要一种对组件的交互过程进 行实时动态控制的方法, 控制组件之间的交互上下文, 对交互过程进行统计和 智能分析, 已确保运营的完整性和服务质量的提升。  On the other hand, because the IT infrastructure resources are at the bottom, providing resources for the above services, a small problem in the resource delivery process will seriously affect the operation of the above business, thus bringing the production and operation of the enterprise. Huge loss. Therefore, the control of the infrastructure resource delivery process is particularly critical, that is, the entire component interaction process needs to be controlled (both service quality control is required for each service node, which node has a problem, how to deal with it; and the interaction context between nodes) Control) to ensure quality of service. Many of the production operations of enterprises are services with high real-time requirements. The IT infrastructure resource delivery services also have high real-time requirements. Therefore, when the infrastructure resources are supplied to the services, the component interaction process needs to be controlled in real time. Therefore, there is a need for a method for real-time dynamic control of the interaction process of components, controlling the interaction context between components, and performing statistical and intelligent analysis on the interaction process, which ensures the integrity of the operation and the improvement of service quality.
再者, 在 IT 基础设施资源交付场景中, 服务组件中的资源控制组件最终 要绑定到资源, 需要对资源绑定进行控制。  Furthermore, in the IT infrastructure resource delivery scenario, the resource control component in the service component is ultimately bound to the resource, and the resource binding needs to be controlled.
针对这些问题, 首先考虑面向服务的体系环境, 将这些组件转化为服务, 实现硬件的软件化,软件的服务化,采用服务总线来实现组件间的集成和通信, 从而将数据中心资源转化为云服务。 通过会话控制服务来实时动态地控制组件 的交互过程, 保证资源交付的完整性和服务质量。 目前一般的服务组件的交互 和通信采用企业服务总线 (ESB ) 。 ESB是一种软件体系模型, 该模型可以用 于面向服务的体系 (SOA) 环境中, 来设计和实施软件应用间的交互和通信。 ESB和与之相连的服务组件间的通信一般采用 http (超文本链接协议) 和 soap (简单对象访问协议) 协议, 两者都是无连接的协议, 这就不能控制服务组件 间的交互关系 (即上下文关系) , 动态配置组件的交互过程。 为了解决该问题, 传统的研究引入了很多方法,如在 ESB中引入统计分析来绑定组件和保证 QoS, 见 IBM 专禾 'J " middleware components for bundling service invocations(US 7,839,799 B2) " ; 如通过增加专门的上下文引擎中间件来控制流程上下文, 更 新上下文,基于上下文的自我学习, 自我优化,见 IBM专利" Optimizing service processing based on business information, operational intelligence, and self-learning (US 7,921, 195 ) " ; 也有从工作流管理的角度来解决的, 见 IBM 专禾1 J " System and method for dynamically configuring a multiplatform computing environment (US 7,739,243 B2) " 。 In response to these problems, we first consider the service-oriented system environment, transform these components into services, implement hardware software, software service, and use the service bus to realize integration and communication between components, thereby transforming data center resources into clouds. service. Dynamically control the interaction process of components in real time through session control services to ensure the integrity of resource delivery and quality of service. Currently, the interaction and communication of general service components uses the Enterprise Service Bus (ESB). ESB is a software architecture model that can be used in a Service Oriented Architecture (SOA) environment to design and implement interactions and communications between software applications. The communication between the ESB and the service components connected to it is generally based on the http (Hypertext Link Protocol) and soap (Simple Object Access Protocol) protocols, both of which are connectionless protocols, which cannot control the interaction between service components ( That is, contextual relationships), the process of dynamically configuring components. In order to solve this problem, traditional research has introduced many methods, such as introducing statistical analysis in the ESB to bind components and guarantee QoS, see IBM's "J" middleware components for bundling service invocations (US 7,839,799 B2)"; Add specialized context engine middleware to control process context, update context, context-based self-learning, self-optimization, see IBM patent "Optimizing service processing based on business information, operational intelligence, and self-learning (US 7,921, 195)"; also solved from the perspective of workflow management, see IBM 1 "System and method for dynamically configuring a multiplatform computing environment (US 7,739,243 B2)".
这些方法虽然可以从一定程度上解决组件交互的动态配置和上下文控制 问题, 但不能实时控制组件的交互过程。 由于在 IT基础设施资源交付场景中, 根据用户的请求, 需要实时交付 IT基础设施资源, 并且对实时性要求很高。 而 会话业务具有较高的实时性, 其会话控制一般采用会话控制协议 SIP, 因而可 以考虑采用 SIP来实时控制组件间的会话 (由于服务组件本身用于控制资源交 付的过程的, 该会话属于控制层面的会话, 不同于数据层面的会话)。 关于 SIP 和控制会话的相关发明也有很多, 多数用于 IP网络多媒体会话控制, 也有用于 PSTN 和数据网络的, 以及用于 IP 网络中的应用之间交互的。 如专利 " US 7,869,787 B2 " 发明了一种 IP通信系统中的对服务的计费的方法, 通过建立网 元和收费功能间的收费的控制会话来计费。 专利 " method and apparatus for session control (US 7,590, 122 B2) "提出了一个与被保护的网元相关的会话过滤 器。 会话请求在发送到被保护的网元之前被会话过滤器处理。 被保护的网元将 发出事件信息来表明不被要求的会话条件 (不能会话) , 例如一个过载条件。 会话过滤器将直接或间接地收到事件信息, 从而降低或停止被发送到被保护的 网元的会话请求。 这两种方法通过增加专门的会话控制器来控制信令, 从而起 到计量或保护节点的作用, 但并未涉及到不同应用场景 (不同服务间) 的会话 控制。  Although these methods can solve the dynamic configuration and context control of component interaction to some extent, they cannot control the interaction process of components in real time. Because in the IT infrastructure resource delivery scenario, IT infrastructure resources need to be delivered in real time according to the user's request, and the real-time requirements are very high. The session service has higher real-time performance, and the session control generally adopts the session control protocol SIP. Therefore, SIP can be considered to control the session between components in real time. (Because the service component itself is used to control the process of resource delivery, the session belongs to the control. Sessions at the level, different from sessions at the data level). There are also many related inventions about SIP and control sessions, most of which are used for IP network multimedia session control, as well as for PSTN and data networks, and for interaction between applications in IP networks. For example, the patent "US 7,869,787 B2" invents a method of charging a service in an IP communication system, which is charged by establishing a control session for charging between the network element and the charging function. The patent "method and apparatus for session control (US 7,590, 122 B2)" proposes a session filter associated with a protected network element. The session request is processed by the session filter before being sent to the protected network element. The protected network element will issue an event message to indicate the session condition (not a session) that is not required, such as an overload condition. The session filter will receive event information directly or indirectly, thereby reducing or stopping the session request sent to the protected network element. These two methods control the signaling by adding a dedicated session controller, which acts as a metering or protection node, but does not involve session control in different application scenarios (different services).
专利 " Session QoS control apparatus ( US 7,606,914 B2 ) "提出了一种会话 The patent "Session QoS control apparatus (US 7,606,914 B2)" proposes a session
QoS控制方法, 收到会话信息后, 分析会话信息和确定 QoS策略, 并确定在哪 些节点上设置 QoS策略。 该方法偏重 QoS策略的设置与评估, 并未涉及服务 组件间的交互控制。 The QoS control method, after receiving the session information, analyzes the session information and determines the QoS policy, and determines which nodes to set the QoS policy on. This method focuses on the setting and evaluation of QoS policies and does not involve interaction control between service components.
专禾 lj " Integrated application management system, apparatus and program, and integrated session management server, system, program and server chassis, and communication system, session management server and integrated application server (US 8,037, 170 B2) "提出了一个集成的应用系统, 使得增加一个新的应用 和用户选择一个可选的应用变得简单, 增进了应用间的交互, 该系统包括客户 端, 应用服务器, 以及管理设备来控制从应用服务器到客户端的集成服务的供 应,管理集成会话。专禾1 J " Communicating application control and data information using a traffic flow over a wireless link (US 7,653,405 B2),, 提出了一种无线网络 中的应用信息通信方法, 数据信息的通信通过无线链接上的 traffic flow, 数据 信息的通信通过与 traffic flow 相关的无线信令中的无线控制消息。 专利 " Methods and apparatus for controlling IP applications during resources shortage (US 7,536, 192 B2) "涉及通信会话和资源管理, 一种在用于维持通信会话的资 源, 如带宽资源降低或损失的情况下, 能维持移动节点间的通信会话的方法和 系统。专禾1 J " System, apparatus, and method for providing multi-application support using a single protocol stack (US 7,480,254 B2) ',提出了一种在多应用的环境中, 使用单独的协议栈来定义将来的消息应该被指向哪个特定的应用的方法 (SIP 不同于 http, 因为通信节点可以监听将要到来的通信) 。 这些方法主要考虑到 在应用交互间的会话控制,但没有涉及到 IT基础设施资源控制组件间的交互问 题, 也没有考虑资源控制组件对资源的运行进行控制的问题, 因而也不能控制 服务组件对 runtime (运行时) IT 基础设施资源的绑定和计量, 更未涉及到虚 机的情况。 " Integrated application management system, apparatus and program, and integrated session management server, system, program and server chassis, and communication system, session management server and integrated application server (US 8,037, 170 B2)" The application system makes it easy to add a new application and the user to select an optional application, which enhances the interaction between applications. The system includes a client, an application server, and a management device to control the integration service from the application server to the client. For Should, manage the integration session. 1 " Communicating application control and data information using a traffic flow over a wireless link (US 7,653,405 B2), proposes an application information communication method in a wireless network, the communication of the data information through the traffic flow on the wireless link The communication of data information is through wireless control messages in the wireless signaling associated with the traffic flow. The "Method and apparatus for controlling IP applications during resources shortage (US 7,536, 192 B2)" relates to communication sessions and resource management, one in method and system resources for maintaining the communication session, as in the case of loss or reduced bandwidth, can maintain a communication session between the mobile node. specially Wo 1 J "system, apparatus, and method for providing multi-application support using a Single protocol stack (US 7,480,254 B2) ', proposes a method for defining which specific application should be pointed to in future messages in a multi-application environment (SIP is different from http because the communication node can Monitor the incoming communication). These methods mainly consider the session control between application interactions, but do not involve the interaction between the IT infrastructure resource control components, nor the resource control component to control the operation of the resources, and therefore cannot control the service component pairs. The binding and metering of the IT infrastructure resources, not to mention the virtual machine.
可见, 需要一种适合 IT 基础设施资源交付环境的组件会话控制方法, 实 时高效地控制组件之间的会话状态以及会话上下文, 从而可以有效地控制服务 组件间的交互 (还可以控制服务组件和资源间的交互) , 控制服务组件与资源 的绑定, 对服务组件的运行状态进行统计, 通过上下文信息和统计信息做智能 分析, 实现智能会话和控制决策支持, 保证运营的完整性和服务质量。 发明概述  It can be seen that a component session control method suitable for the IT infrastructure resource delivery environment is needed, and the session state and the session context between the components are controlled in real time, so that the interaction between the service components can be effectively controlled (the service components and resources can also be controlled). Inter-activity), control the binding of service components and resources, perform statistics on the running status of service components, perform intelligent analysis through context information and statistical information, implement intelligent session and control decision support, and ensure operational integrity and service quality. Summary of invention
本发明的目的在于解决上述问题, 提供了一种基于交付点的实时资源供应 流程控制系统, 可以实现资源请求和服务组件及 POD资源间的灵活动态的绑 定, 实时地控制服务组件之间的交互及会话上下文, 从而实现资源交付过程中 面向用户的业务和面向资源的业务两个阶段的统一控制, 保证资源交付的服务 质量和完整性。  The object of the present invention is to solve the above problems, and provide a real-time resource supply flow control system based on a delivery point, which can realize flexible and dynamic binding between a resource request and a service component and a POD resource, and control the service component between the real-time. Interaction and session context, thus achieving unified control of user-oriented services and resource-oriented services in the process of resource delivery, ensuring service quality and integrity of resource delivery.
本发明的另一目的在于提供了一种基于交付点的实时资源供应流程控制 方法, 可以实现资源请求和服务组件及 POD资源间的灵活动态的绑定, 从而实 现资源交付过程中面向用户的业务和面向资源的业务两个阶段的统一控制, 保 证资源交付的服务质量和完整性。 Another object of the present invention is to provide a real-time resource supply flow control method based on a delivery point, which can implement flexible and dynamic binding of resource requests and service components and POD resources. The two phases of user-oriented services and resource-oriented services in the process of resource delivery are unified to ensure the quality and integrity of service delivery.
本发明的技术方案为: 本发明揭示了一种基于交付点的实时资源供应流程 控制系统, 在面向服务的体系和通信环境中实时控制 IT设备资源交付的流程和 会话, 其特征在于, 所述系统包括服务总线、 资源总线、 参考模型单元、 数据 模型单元、 会话控制服务组件、 与服务总线相连的用户服务组件、 与资源总线 相连的资源控制服务组件, 其中:  The technical solution of the present invention is: The present invention discloses a real-time resource supply flow control system based on a delivery point, which controls a process and a session of IT device resource delivery in real time in a service-oriented system and a communication environment, wherein The system includes a service bus, a resource bus, a reference model unit, a data model unit, a session control service component, a user service component connected to the service bus, and a resource control service component connected to the resource bus, wherein:
服务总线与参考模型单元、 数据模型单元、 资源总线、 会话控制服务组件 以及用户服务组件相连, 接收客户端发出的资源请求, 引发会话控制服务, 并 对请求进行调度;  The service bus is connected to the reference model unit, the data model unit, the resource bus, the session control service component, and the user service component, receives the resource request sent by the client, triggers the session control service, and schedules the request;
会话控制服务组件为请求创建控制会话, 实时控制服务组件间的交互会 话, 控制会话上下文, 提供请求和服务组件间的动态绑定指示;  The session control service component creates a control session for the request, controls the interaction session between the service components in real time, controls the session context, and provides a dynamic binding indication between the request and the service component;
参考模型单元定义了各组件及组件间共享的功能行为以及数据源的地址 和关系, 为组件的绑定和执行提供所需的数据, 数据在一参考模型中更新; 数据模型单元存储物理 POD服务单元中的 IT设备资源的状态及状态迁移数 据, 为资源控制组件绑定物理 POD提供所需的资源数据;  The reference model unit defines the functional behavior shared by each component and component, as well as the address and relationship of the data source, providing the required data for the binding and execution of the component. The data is updated in a reference model; the data model unit stores the physical POD service. The state and state transition data of the IT device resources in the unit, providing the resource data required for the resource control component to bind the physical POD;
资源总线与服务总线、 参考模型单元、 数据模型单元以及物理 POD服务单 元相连, 控制资源控制服务组件和资源间的通信和交互;  The resource bus is connected to the service bus, the reference model unit, the data model unit, and the physical POD service unit, and controls the communication and interaction between the resource control service component and the resource;
物理 POD服务单元根据策略定义和划分的设备集合, 构成资源供应基本单 元, 该单元具有不依赖于其他设备而独立工作的功能, POD服务单元的数量至 少为一个, POD服务单元与资源控制服务组件进行交互;  The physical POD service unit constitutes a resource supply basic unit according to a policy definition and a divided device set, and the unit has a function of independently working independently of other devices, and the number of POD service units is at least one, and the POD service unit and the resource control service component Interact;
用户服务组件的数量至少为一个, 用户服务组件执行请求所需的业务交付 功能, 多个用户服务组件协作完成用户业务交付流程;  The number of user service components is at least one, the user service component performs the business delivery function required for the request, and the plurality of user service components cooperate to complete the user service delivery process;
资源控制服务组件的数量至少为一个, 资源控制服务组件执行请求所需的 资源控制功能, 多个资源控制服务组件协作完成 POD资源控制流程。  The number of resource control service components is at least one, the resource control service component performs the resource control function required for the request, and the plurality of resource control service components cooperate to complete the POD resource control process.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 服务 总线根据请求消息中携带的信息、 或会话控制服务组件和参考模型单元及数据 模型单元中的指示来确定将请求绑定到服务组件。  According to an embodiment of the delivery point-based real-time resource provisioning flow control system of the present invention, the service bus determines to bind the request based on the information carried in the request message, or the instructions in the session control service component and the reference model unit and the data model unit. Set to the service component.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 资源 总线根据请求消息中携带的信息、 或数据模型单元中的资源状态信息和 POD上 下文确定将请求绑定到物理 POD服务单元。 An embodiment of a delivery point based real time resource provisioning flow control system according to the present invention, resource The bus determines to bind the request to the physical POD service unit based on the information carried in the request message, or the resource status information and the POD context in the data model unit.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 会话 控制服务组件进一步包括:  According to an embodiment of the delivery point-based real-time resource provisioning process control system of the present invention, the session control service component further includes:
SIP会话控制器采用 SIP协议为请求创建控制会话, 控制一个或多个服务组 件之间的交互, 保持会话的状态和生命周期;  The SIP session controller uses the SIP protocol to create a control session for the request, controls the interaction between one or more service components, and maintains the state and lifecycle of the session;
SIP上下文管理器跟踪服务组件之间的会话上下文, 并控制资源控制服务 组件与 POD设备资源的上下文;  The SIP context manager tracks the session context between the service components and controls the context of the resource control service component and the POD device resource;
在线应用管理服务实时控制请求与服务组件和物理 POD服务单元的绑定, 在线统计执行请求的服务组件运行时使用的资源数目和时长, 以及执行请求的 POD资源使用的数目和时长;  The online application management service real-time controls the binding of the request to the service component and the physical POD service unit, and the number and duration of resources used by the service component running the online service execution request, and the number and duration of the POD resource usage for executing the request;
控制信息库存储各种控制信息, 包括会话控制信息、 上下文控制信息、 统 计配置信息、 知识和规则信息。  The control information store stores various control information including session control information, context control information, statistical configuration information, knowledge, and rule information.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 参考 模型进一步包括:  According to an embodiment of the delivery point based real time resource provisioning process control system of the present invention, the reference model further comprises:
资源寻址标记资源身份, 并通过身份引用关系和地址求解服务寻址资源; 元事件对捕捉到的 POD资源设备事件进行元描述, 确定事件与资源匹配关 系。  The resource is addressed to the resource identity, and the service addressing resource is solved by the identity reference relationship and the address; the meta-event meta-describes the captured POD resource device event, and determines the event-to-resource relationship.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, POD 服务单元进一步包括 IT设备资源模块, 其中包括服务器、 FCSAN、 IP SAN, 所 述 POD服务单元还包括设备连接服务模块、 设备路由服务模块、 集成接入模块 API。  According to an embodiment of the delivery point-based real-time resource supply flow control system of the present invention, the POD service unit further includes an IT device resource module, including a server, a FCSAN, and an IP SAN, and the POD service unit further includes a device connection service module. Device routing service module, integrated access module API.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, POD 服务单元还包括一资源容器, 里面存有在 POD服务单元内的资源之间的上下文 关系。  According to an embodiment of the delivery point-based real-time resource provisioning process control system of the present invention, the POD service unit further includes a resource container in which a context relationship between resources within the POD service unit is stored.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 在线 应用管理服务进一步包括 POD绑定控制, 实时控制逻辑 POD与软件定义的 POD间 的映射关系或分配关系信息, 控制将逻辑虚机分配到服务器上的真实虚机上。  According to an embodiment of the delivery point-based real-time resource supply flow control system of the present invention, the online application management service further includes POD binding control, real-time control mapping relationship between the logical POD and the software-defined POD, or allocation relationship information, and the control will be The logical virtual machine is assigned to the real virtual machine on the server.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 在线 应用管理服务进一步包括在线业务统计, 通过与服务点会话获取运行时资源的 使用数目和时长, 通过 SIP消息中的 CCID信息来计量资源使用的总时长。 An embodiment of a delivery point based real time resource provisioning flow control system according to the present invention, online The application management service further includes online service statistics, and obtains the total duration of resource usage by using the CCID information in the SIP message by obtaining the number and duration of the runtime resources from the service point session.
根据本发明的基于交付点的实时资源供应流程控制系统的一实施例, 在线 应用管理服务进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control system of the present invention, the online application management service further includes:
所述统计和智能分析采用统计和智能分析模型和算法对统计的组件运行 结果以及资源运行情况进行分析;  The statistical and intelligent analysis uses statistical and intelligent analysis models and algorithms to analyze the statistical component operation results and resource operation;
所述规划和调度决策根据分析的结果作出请求与服务组件和资源动态绑 定的决策。  The planning and scheduling decisions make decisions based on the results of the analysis that are dynamically tied to service components and resources.
本发明还揭示了一种基于交付点的实时资源供应流程控制方法, 在面向服 务的体系和通信环境中实时控制资源交付的流程和会话, 该方法包括:  The invention also discloses a real-time resource supply process control method based on delivery point, which controls the process and session of resource delivery in real time in a service-oriented system and a communication environment, the method comprising:
收到客户端发出的资源请求;  Receive a resource request from the client;
创建控制会话, 实时控制请求经过的每个服务组件之间的交互会话, 保持 会话状态和连接;  Create a control session, control the interactive session between each service component through which the request passes, maintain session state and connection;
根据请求消息中携带的信息, 或会话控制服务组件和参考模型单元及数据 模型单元中的指示来确定将请求绑定到服务组件;  Determining binding of the request to the service component based on information carried in the request message, or an indication in the session control service component and the reference model unit and the data model unit;
引发服务组件来处理请求;  Raising a service component to process the request;
根据数据模型单元中的资源状态信息和 POD上下文确定将请求绑定到物理 POD服务单元;  Binding the request to the physical POD service unit according to the resource status information and the POD context in the data model unit;
请求获得物理 POD资源运行起来, 生成资源实例。  Request to obtain physical POD resources to run, and generate resource instances.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
如果请求与服务组件静态绑定, 则服务总线加载配置文件中的静态绑定信 息;  If the request is statically bound to the service component, the service bus loads the static binding information in the configuration file;
服务总线将相应的服务组件绑定到参考模型单元, 获得功能的指示; 服务组件运行参考模型单元中定义的功能。  The service bus binds the corresponding service component to the reference model unit to obtain an indication of the function; the service component runs the function defined in the reference model unit.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
如果需要将请求与服务组件动态绑定, 则主服务总线从会话控制服务组件 和参考模型单元及数据模型单元中获得动态绑定指示; 根据绑定指示, 引发相应的服务组件。 If the request needs to be dynamically bound to the service component, the primary service bus obtains a dynamic binding indication from the session control service component and the reference model unit and the data model unit; According to the binding instructions, the corresponding service component is raised.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
创建会话时生成会话 ID, 将会话 ID插入 SOAP消息中。  The session ID is generated when the session is created, and the session ID is inserted into the SOAP message.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
跟踪服务组件之间的会话上下文, 并控制资源控制服务组件与物理 POD设 备资源的上下文。  Tracks the session context between service components and controls the context of resource control service components and physical POD device resources.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
基于会话上下文, 实时控制逻辑 POD与软件定义的 POD间的绑定信息, 控制 逻辑 POD与软件定义的 POD间的映射关系或分配关系信息。  Based on the session context, the binding information between the logical POD and the software-defined POD is controlled in real time, and the mapping relationship or the distribution relationship information between the logical POD and the software-defined POD is controlled.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
通过与服务点会话获取运行时资源的使用数目和时长, 通过 SIP消息中的 Get the number and duration of runtime resources through a session with a service point, through the SIP message
CCID信息来计量资源使用的总时长。 CCID information to measure the total duration of resource usage.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
收到请求时, 为请求创建全局控制会话;  When a request is received, a global control session is created for the request;
进入资源控制服务组件通过从数据服务中间件进行交互的阶段, 创建资源 控制会话;  Entering the resource control service component to create a resource control session by interacting with the data service middleware;
进入资源控制服务组件与 POD设备资源绑定交互阶段, 创建资源绑定会话; 控制会话关系和会话生命周期。  Enter the resource control service component and the POD device resource binding interaction phase to create a resource binding session; control the session relationship and the session life cycle.
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
采用统计和智能分析模型和算法对统计的组件运行结果以及资源运行情 况进行分析;  Statistical and intelligent analysis models and algorithms are used to analyze the statistical component operation results and resource operation conditions;
根据分析的结果作出请求与服务组件以及物理 POD资源动态绑定的决策。 根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括: The decision to dynamically bind the request to the service component and the physical POD resource is made based on the results of the analysis. An embodiment of a delivery point based real-time resource supply flow control method according to the present invention, the party The law further includes:
在资源控制会话期间内, 资源控制服务组件请求与 POD设备资源的绑定; 若需要动态绑定, 资源总线将请求发往数据模型单元和参考模型单元; 根据数据模型单元中的设备资源的状态信息, 确定可用的设备资源; 根据 POD上下文和设备优先级确定可调度的设备资源;  During the resource control session, the resource control service component requests binding with the POD device resource; if dynamic binding is required, the resource bus sends the request to the data model unit and the reference model unit; according to the state of the device resource in the data model unit Information, determining available device resources; determining schedulable device resources based on POD context and device priority;
根据参考模型单元中的设备资源身份和地址信息, 以及参考模型单元中的 设备资源和资源控制服务组件的功能行为指示信息, 建立资源控制服务组件和 设备资源之间的绑定, 执行绑定行为。  Establishing a binding between the resource control service component and the device resource according to the device resource identity and address information in the reference model unit, and the functional behavior indication information of the device resource and the resource control service component in the reference model unit, and performing the binding behavior .
根据本发明的基于交付点的实时资源供应流程控制方法的一实施例, 该方 法进一步包括:  According to an embodiment of the delivery point-based real-time resource supply flow control method of the present invention, the method further includes:
若需要静态绑定, 资源总线加载配置文件中的静态绑定信息, 确定可以绑 定的设备资源;  If static binding is required, the resource bus loads the static binding information in the configuration file to determine the device resources that can be bound;
根据参考模型单元中的设备资源身份和地址信息, 以及参考模型单元中的 设备资源和资源控制服务组件的功能行为指示信息, 建立资源控制服务组件和 设备资源之间的绑定, 执行绑定行为。 本发明对比现有技术有如下的有益效果: 本发明的方案是构建一个控制平 面, 将资源请求灵活动态地绑定到服务组件及 POD资源, 实时地控制服务组件 之间的交互及会话上下文, 从而实现资源交付过程中面向用户的业务和面向资 源的业务两个阶段的统一控制, 保证资源交付的服务质量和完整性。  Establishing a binding between the resource control service component and the device resource according to the device resource identity and address information in the reference model unit, and the functional behavior indication information of the device resource and the resource control service component in the reference model unit, and performing the binding behavior . Compared with the prior art, the present invention has the following beneficial effects: The solution of the present invention is to construct a control plane, flexibly and dynamically bind resource requests to service components and POD resources, and control interaction and session context between service components in real time. Thereby, the unified control of the user-oriented service and the resource-oriented service in the resource delivery process is realized, and the service quality and integrity of the resource delivery are guaranteed.
附图说明  DRAWINGS
图 1是本发明的基于交付点的实时资源供应流程控制系统的总图。  1 is a general view of a delivery point based real time resource supply flow control system of the present invention.
图 2是本发明的基于交付点的实时资源供应流程控制方法总的流程图。 图 3是本发明的中间件组件绑定方法的流程图。  2 is a general flow chart of a delivery point based real-time resource supply flow control method of the present invention. 3 is a flow chart of a middleware component binding method of the present invention.
图 4是本发明的会话控制服务组件的功能框图。  4 is a functional block diagram of a session control service component of the present invention.
图 5是本发明的图 4中的 controlling information store (控制信息库) 中存 储的数据类型、 结构及其关系图。  Figure 5 is a diagram showing the data types, structures, and relationship diagrams stored in the controlling information store of Figure 4 of the present invention.
图 6是本发明的 SIP会话控制服务控制组件间的交互会话的流程图。 图 7是本发明的 SIP会话控制服务控制请求与 POD的绑定框图。 图 8是本发明的 SIP会话控制服务统计在线业务的框图。 6 is a flow diagram of an interactive session between SIP Session Control Service Control components of the present invention. 7 is a block diagram of a SIP session control service control request and a POD of the present invention. Figure 8 is a block diagram of the SIP session control service statistics online service of the present invention.
图 9是本发明的会话控制服务的总流程图。  Figure 9 is a general flow diagram of the session control service of the present invention.
图 10是本发明的控制会话生命周期流程图。  Figure 10 is a flow chart of the control session life cycle of the present invention.
图 11是本发明的 POD服务单元与资源控制组件绑定功能框图。  11 is a functional block diagram of the binding of the POD service unit and the resource control component of the present invention.
图 12是本发明的资源控制组件和资源之间的绑定流程图。 发明的详细说明  Figure 12 is a flow diagram of the binding between the resource control component and resources of the present invention. Detailed description of the invention
下面结合附图和实施例对本发明作进一步的描述。 图 1是本发明的基于交付点的实时资源供应流程控制系统的总图。 这里的 资源指数据中心的硬件设备和虚拟设备。 系统由客户端 11, 资源交付控制中心 12和物理 POD服务单元 131〜13n组成。 通过资源交付控制中心 12, 可以构 建一个控制平面, 对资源交付的过程进行控制。 其中客户端 11为资源服务的 请求方, 可以包括各种资源请求者, 在本发明的一个或多个较佳实施例中, 客 户端可以包括企业的测试业务部门、 开发业务部门、 运营业务部门, 这些部门 的管理员向控制中心请求实时资源来执行各自的业务。  The invention will now be further described with reference to the drawings and embodiments. 1 is a general view of a delivery point based real time resource supply flow control system of the present invention. Resources here refer to hardware devices and virtual devices in the data center. The system consists of a client 11, a resource delivery control center 12, and physical POD service units 131~13n. Through the resource delivery control center 12, a control plane can be constructed to control the process of resource delivery. The client 11 is a requester of the resource service, and may include various resource requesters. In one or more preferred embodiments of the present invention, the client may include a test service department, a development service department, and an operation service department of the enterprise. The administrators of these departments request real-time resources from the control center to perform their respective businesses.
资源交付控制中心 12是本发明的实时控制资源交付的核心, 由服务总线 121、 资源总线 122、 参考模型单元 123、 数据模型单元 124、 会话控制服务组 件 125、 用户服务组件 126以及资源控制服务总线 127组成。 其中参考模型单 元 123、 数据模型单元 124和会话控制服务组件 125属于管理控制型的组件, 这些管理控制型的组件的功能使能贯穿整个控制流程。 用户服务组件 126和资 源控制服务组件 127属于具有特定功能的功能型组件。 其中服务组件与服务请 求的绑定流程 (流程控制) 通过服务总线 121和参考模型单元 123、 数据模型 单元 124以及会话控制服务组件 125来完成。 会话的控制通过会话控制服务组 件 125完成。 其中服务总线 121连接控制中心中的主要功能组件, 负责组件之 间的通信、 协议转化、 负载均衡、 路由和监控。 服务总线 121与参考模型单元 123、 数据模型单元 124、 资源总线 122、 会话控制服务组件 125、 多个用户服 务组件 126以及资源控制服务组件 127相连。 服务总线 121接收客户端 11发 出的资源请求, 引发会话控制服务, 并对请求进行调度。 服务总线 121可以绑 定与之相连的服务组件, 包括用户服务组件 126和资源控制服务组件 127, 并 管理服务生命周期, 实现服务组件的复用。 在本发明的一个较佳实施例中, 主 服务总线可以是 ESB。 面向用户的服务组件 126有多个, 从用户服务组件 1到 用户服务组件 n, 这些用户服务组件指面向用户的功能模块, 如服务工厂、 服 务设计者、 服务代理等, 提供 web服务, 其中的消息以 XML文件的形式传递, 用户服务组件 126之间的交互通过主服务总线 (ESB ) 121实现。 用户服务组 件运行请求所需的业务交付功能, 多个用户服务组件协作完成用户业务交付流 程。 资源控制服务组件 127有多个, 从资源控制服务组件 1到资源控制服务组 件 n。 与用户服务组件 126不同, 这里的资源控制服务组件 127指一些用于资 源控制的功能组件, 如 VM控制器 (controller) 、 存储控制器、 网络控制器等 资源控制器。 资源控制组件服务提供资源状态模型, 执行对底层资源的访问控 制操作。 The resource delivery control center 12 is the core of the real-time control resource delivery of the present invention, and is composed of a service bus 121, a resource bus 122, a reference model unit 123, a data model unit 124, a session control service component 125, a user service component 126, and a resource control service bus. 127 composition. The reference model unit 123, the data model unit 124, and the session control service component 125 belong to a management control type component, and the functions of these management control type components are enabled throughout the entire control flow. The user service component 126 and the resource control service component 127 belong to a functional component having a specific function. The binding process (flow control) of the service component and the service request is completed by the service bus 121 and the reference model unit 123, the data model unit 124, and the session control service component 125. Control of the session is done by the session control service component 125. The service bus 121 is connected to the main functional components in the control center, and is responsible for communication between components, protocol conversion, load balancing, routing, and monitoring. The service bus 121 is coupled to the reference model unit 123, the data model unit 124, the resource bus 122, the session control service component 125, the plurality of user service components 126, and the resource control service component 127. The service bus 121 receives the resource request issued by the client 11, initiates a session control service, and schedules the request. Service bus 121 can be tied The service components associated with it, including the user service component 126 and the resource control service component 127, manage the service lifecycle and implement reuse of the service components. In a preferred embodiment of the invention, the primary service bus can be an ESB. There are multiple user-oriented service components 126, from user service component 1 to user service component n. These user service components refer to user-oriented functional modules, such as service factories, service designers, service agents, etc., providing web services, among which The messages are delivered in the form of an XML file, and the interaction between the user service components 126 is implemented by the main service bus (ESB) 121. The user service component runs the business delivery function required by the request, and multiple user service components cooperate to complete the user business delivery process. There are a plurality of resource control service components 127, from the resource control service component 1 to the resource control service component n. Unlike the user service component 126, the resource control service component 127 herein refers to some functional components for resource control, such as a resource controller such as a VM controller, a storage controller, a network controller, and the like. The resource control component service provides a resource state model to perform access control operations on the underlying resources.
参考模型单元 123中存储了用户业务信息、 资源引用信息、 身份信息等各 种数据信息和数据关系信息, 定义了各组件执行的功能行为和数据源, 为 ESB 将请求绑定到服务组件提供功能指示和寻址服务。 参考模型单元 123中存储的 数据具有瞬时 (transient) 特征, 随着请求的执行, 各种信息的变化将在参考 模型中更新。 数据模型单元 124是真实的资源状态的模型, 其中存储服务器状 态、 虚机状态、 存储状态、 网络状态以及这些资源状态的生命周期, 是这些物 理资源的软件表现形式。 通过资源数据模型, 可以决定资源请求的提交, 以及 将资源请求路由到哪个服务器上。  The reference model unit 123 stores various data information and data relationship information such as user service information, resource reference information, and identity information, defines functional behaviors and data sources executed by each component, and provides functions for the ESB to bind the request to the service component. Indication and addressing services. The data stored in the reference model unit 123 has a transient characteristic, and as the request is executed, changes in various information are updated in the reference model. The data model unit 124 is a model of real resource states in which the storage server state, the virtual machine state, the storage state, the network state, and the lifecycle of these resource states are software representations of these physical resources. Through the resource data model, you can decide on the submission of resource requests and on which server to route resource requests.
资源总线 122是一种异构资源环境中的分布式数据服务, 负责资源控制服 务组件与资源的通信, 可以屏蔽不同的操作系统和不同的编程语言的差异。 资 源总线 122与服务总线 121、 参考模型单元 123、 数据模型单元 124以及物理 POD服务单元 13相连, 控制资源控制服务组件 127和资源间的通信和交互。 资源总线 124主要包括基于主题的发布订阅功能和 QoS保证功能。 资源总线 124可以是分布式数据服务 DDS, Internet communication engine ( ICE ) 等。 会 话控制服务组件 125基于 SIP协议, SIP协议提供了一种基于标准的、 为多种 设备和应用提供 IP通信的方式。 会话控制服务组件 125为请求创建控制会话, 实时控制服务组件间的交互会话, 控制会话上下文, 在线统计和智能决策, 提 供请求和服务组件间的动态绑定指示。 会话控制服务组件 125主要包括 SIP会 话服务和 SIP管理服务,其中 SIP会话服务指 SIP协议中用于控制会话的创建、 修改、 结束等会话管理服务, 通过该服务, 可以实现 SIP级会话控制和分布式 事务处理。 SIP管理服务用于管理 SIP控制的服务节点的会话上下文, 以及资 源控制服务组件与资源的上下文, 与 POD的绑定, 在线应用的移除, 并提供 在线的应用统计服务, 包括统计执行请求的服务节点使用的资源数量和资源使 用时长, 以及执行请求的资源使用的数目和时长, 提供统计和智能分析决策服 务。 直接与物理 POD服务单元 13相连。 会话控制服务组件将在图 4中详细描 述。 The resource bus 122 is a distributed data service in a heterogeneous resource environment, and is responsible for communication between resource control service components and resources, and can shield different operating systems and different programming languages. The resource bus 122 is coupled to the service bus 121, the reference model unit 123, the data model unit 124, and the physical POD service unit 13, and controls communication and interaction between the resource control service component 127 and resources. The resource bus 124 mainly includes a topic-based publish and subscribe function and a QoS guarantee function. The resource bus 124 may be a distributed data service DDS, an Internet communication engine (ICE), or the like. The Session Control Service component 125 is based on the SIP protocol, which provides a standards-based way of providing IP communications for a variety of devices and applications. The session control service component 125 creates a control session for the request, controls the interaction session between the service components in real time, controls the session context, online statistics, and intelligent decision making. A dynamic binding indication between the request and the service component. The session control service component 125 mainly includes a SIP session service and a SIP management service, wherein the SIP session service refers to a session management service for controlling the creation, modification, and termination of a session in the SIP protocol, by which SIP level session control and distribution can be implemented. Transaction processing. The SIP management service is used to manage the session context of the SIP-controlled service node, the context of the resource control service component and the resource, the binding with the POD, the removal of the online application, and the provision of online application statistics services, including statistical execution requests. The number of resources used by the service node and the length of time the resource is used, as well as the number and duration of resource usage for the request, provide statistical and intelligent analysis decision services. Directly connected to the physical POD service unit 13. The session control service component will be described in detail in FIG.
物理 POD (交付点) 服务单元 13是单个交付资源模块, 其中包括 IT设备 资源, 如服务器 131、 FC SAN 132、 IP SAN/NAS 133, 这些资源通过一定的划 分形成一个物理 POD服务单元 13。 在数据中心网络中定义和划分设备集合, 构成资源供应物理单元, 该单元可不依赖于其他设备而独立工作, 最终形成物 理 POD服务单元 13。 物理 POD服务单元 13中有一个资源容器, 里面存有在 —个物理 POD服务单元 13内的资源之间的上下文关系。 POD的划分根据数据 中心的资源数目和业务资源需求来决定, 来得到一个折中的结果。 由于 POD 内的资源具有上下文关系, 因而 POD内的资源通信很容易, 而 POD之间的通 信则变得困难。 因而在划分 POD的时候, 要考虑兼顾两种情况。 在数据中心 中, 可以划分多个物理 POD服务单元 13, 从物理 POD服务单元 1 131到 POD 服务单元 n 13n。 每个物理 POD服务单元 13由 IT设备资源模块 1313、 设备连 接服务模块 1310、 设备路由服务模块 1311以及集成接入模块 1312组成, 其中 集成接入模块 1312为资源控制服务提供访问的 API。 图 2是本发明的基于交付点的实时资源供应流程控制方法的总的流程图。 该方法包括服务流程控制和会话控制两个维度, 会话控制, 具体流程如下: 步骤 201 : 客户端发出请求, 请求使用资源。  The physical POD (delivery point) service unit 13 is a single delivery resource module, which includes IT equipment resources, such as the server 131, the FC SAN 132, and the IP SAN/NAS 133. These resources form a physical POD service unit 13 by a certain division. The set of devices is defined and divided in the data center network to form a resource provisioning physical unit, which can work independently without relying on other devices, and finally form a physical POD service unit 13. The physical POD service unit 13 has a resource container in which a context relationship between resources within a physical POD service unit 13 is stored. The division of POD is determined by the number of resources in the data center and the needs of the business resources to obtain a compromise result. Since the resources within the POD have contextual relationships, resource communication within the POD is easy, and communication between PODs becomes difficult. Therefore, when dividing the POD, consider both situations. In the data center, a plurality of physical POD service units 13 can be divided, from physical POD service unit 1 131 to POD service unit n 13n. Each physical POD service unit 13 is composed of an IT equipment resource module 1313, a device connection service module 1310, a device routing service module 1311, and an integrated access module 1312, wherein the integrated access module 1312 provides an API for accessing the resource control service. 2 is a general flow chart of a delivery point based real-time resource supply flow control method of the present invention. The method includes two dimensions of service flow control and session control, and session control. The specific process is as follows: Step 201: The client sends a request to request to use resources.
步骤 202: 服务总线收到客户端发出的资源请求, 在本发明的一个较佳实 施例中, 服务总线是企业服务总线 ESB。  Step 202: The service bus receives a resource request from the client. In a preferred embodiment of the invention, the service bus is an enterprise service bus ESB.
步骤 203 : 服务总线调用会话控制服务组件为请求创建控制会话, 实时控 制请求经过的每个服务组件之间的交互会话, 控制会话上下文, 保持会话状态 和连接; 这里的组件指控制中心 12中的用户服务组件和资源控制服务组件, 步骤 204: 服务总线根据请求消息中的信息, 或控制会话服务和参考模型 单元及数据模型单元中的指示绑定服务组件, 调度服务; 客户端发出的请求中 会携带消息, 控制会话服务可以控制组件之间的动态绑定, 参考 /数据模型单元 中定义了功能组件的行为, 以及要使用到的数据源。 在本发明中, 功能组件间 的绑定包括静态绑定和动态绑定, 将在图 3中详细介绍。 Step 203: The service bus invokes the session control service component to create a control session for the request, and controls the real time. The interactive session between each service component through which the request passes, controls the session context, maintains the session state and connections; the components herein refer to the user service component and the resource control service component in the control center 12, step 204: the service bus is based on the request message In the information, or in the control session service and the reference model unit and the data model unit, the indication binding service component, the scheduling service; the request sent by the client carries a message, and the control session service can control the dynamic binding between the components, The behavior of the functional components and the data sources to be used are defined in the Reference/Data Models cell. In the present invention, the binding between functional components includes static binding and dynamic binding, which will be described in detail in FIG.
步骤 205 : 服务总线确定将请求绑定到哪个服务组件后, 引发服务组件处 理请求, 维持服务组件间的通信和交互。  Step 205: After the service bus determines which service component to bind the request to, it initiates a service component processing request to maintain communication and interaction between the service components.
步骤 206: 判断请求是否到达资源总线, 如果到达, 转入到步骤 207。 步骤 207: 资源总线根据数据模型单元中的资源状态信息和 POD上下文确 定将请求绑定到物理 POD服务单元; 数据模型单元中存储资源的真实状态信 息, 状态变迁信息等, POD服务单元内有一个 container存储 IT设备资源的关 联上下文, 确保执行请求的设备资源在同一个 POD服务单元内。  Step 206: Determine whether the request reaches the resource bus, and if yes, proceed to step 207. Step 207: The resource bus determines to bind the request to the physical POD service unit according to the resource state information and the POD context in the data model unit; the real state information of the resource in the data model unit, the state transition information, etc., and the POD service unit has a The container stores the associated context of the IT device resource, ensuring that the requested device resource is in the same POD service unit.
步骤 208 : 资源总线维持资源控制服务组件与资源间的通信和交互, 确保 交互的实时性。  Step 208: The resource bus maintains communication and interaction between the resource control service component and the resource to ensure real-time interaction.
步骤 209: 资源控制服务组件控制对资源的操作, 在本发明的一个较佳实 施例中,资源控制服务组件指虚机控制器(VM controller)、资源指虚机(VM), 在一个资源控制会话期间, 虚机控制器控制对虚机的操作。  Step 209: The resource control service component controls the operation of the resource. In a preferred embodiment of the present invention, the resource control service component refers to a virtual machine controller (VM controller) and a resource virtual machine (VM), which is controlled by a resource. During the session, the virtual machine controller controls the operation of the virtual machine.
步骤 210: 客户端发出的资源请求经过资源交付控制中心的组件协作控制 后获得资源运行起来, 生成资源实例, 从而完成了资源交付控制的过程。 这里 的资源指计算、 存储、 网络资源, 在一个 POD服务单元内。  Step 210: The resource request sent by the client is controlled by the component of the resource delivery control center, and the resource is run to generate a resource instance, thereby completing the process of resource delivery control. Resources here refer to computing, storage, and network resources within a POD service unit.
步骤 211 : 结束控制会话, 释放所占资源。  Step 211: End the control session and release the occupied resources.
步骤 212: 更新数据模型单元中的资源状态, 更新参考模型中的引用关系 信息。  Step 212: Update the resource status in the data model unit, and update the reference relationship information in the reference model.
步骤 213 : 结束服务流程, 回收资源。 图 3是本发明的请求与服务组件绑定的流程图。该方法是图 2中的步骤 204 中的服务总线根据请求消息中的信息,参考 /数据模型单元中的指示绑定服务组 件的进一步细化。 服务总线根据请求消息中的信息, 参考 /数据模型单元中的指 示绑定服务组件通过与参考模型单元和数据模型单元的交互, 获得组件运行的 功能指示, 以及组件的绑定指示。可以实现服务组件和请求的静态和动态绑定, 具体流程如下: Step 213: End the service process and recycle resources. 3 is a flow diagram of the binding of a request and service component of the present invention. The method is that the service bus in step 204 in FIG. 2 binds the service group according to the information in the request message according to the indication in the reference/data model unit. Further refinement of the pieces. The service bus, according to the information in the request message, indicates in the reference/data model unit that the binding service component obtains a function indication of the component operation and a binding indication of the component by interacting with the reference model unit and the data model unit. Static and dynamic binding of service components and requests can be implemented. The specific process is as follows:
步骤 301 : 服务总线收到服务请求。  Step 301: The service bus receives the service request.
步骤 302 : 服务总线判定是否将请求与服务组件进行动态绑定, 这里的组 件指控制中心 12中的用户服务组件和资源控制服务组件, 这里的动态绑定与 静态绑定不同, 指请求并不是人为地事先静态设置的, 而是根据服务请求和各 种配置策略信息灵活动态地确定的绑定方式; 若请求已静态绑定好, 则转入到 步骤 304, 否则转入到步骤 303。  Step 302: The service bus determines whether the request is dynamically bound to the service component. The component here refers to the user service component and the resource control service component in the control center 12. Here, the dynamic binding is different from the static binding, and the request is not The binding mode is manually and statically determined in advance, and is flexibly and dynamically determined according to the service request and various configuration policy information. If the request is statically bound, the process proceeds to step 304, otherwise, the process proceeds to step 303.
步骤 303 : 服务总线从会话控制服务组件和参考模型单元及数据模型单元 中获得动态绑定指示。 具体表现为, 通过会话控制服务组件确定请求和组件间 的绑定关系, 从而建立执行请求的服务序列, 这里的绑定关系通过会话上下文 分析来确定, 将在图 4中详细说明; 通过参考模型单元及数据模型单元中定义 的组件间的共享的行为和数据源, 增强组件之间的动态绑定, 将执行请求的各 组件动态地绑定在一起。  Step 303: The service bus obtains a dynamic binding indication from the session control service component and the reference model unit and the data model unit. Specifically, the session control service component determines the binding relationship between the request and the component, thereby establishing a service sequence for executing the request, where the binding relationship is determined by session context analysis, which will be described in detail in FIG. 4; The shared behavior and data source between the components defined in the unit and the data model unit, the dynamic binding between the components is enhanced, and the components that execute the request are dynamically bound together.
步骤 304 : 服务总线加载配置文件中的静态绑定信息, 该配置文件信息是 在请求中事先定义好的, 通过静态绑定信息, 确定执行该请求的各关联服务组 件, 请求在服务组件间传递, 从而形成服务流。  Step 304: The service bus loads the static binding information in the configuration file, where the configuration file information is defined in advance in the request, and the static binding information determines the related service components that execute the request, and the request is transmitted between the service components. , thereby forming a service flow.
步骤 305 : 根据上述会话控制服务组件和参考模型单元及数据模型单元中 的绑定指示, 引发相应的服务组件, 在本发明的一个较佳实施例中, 先引发执 行该请求的第一个服务组件。  Step 305: Initiate a corresponding service component according to the binding instruction in the session control service component and the reference model unit and the data model unit, and in a preferred embodiment of the present invention, first trigger the first service to execute the request. Component.
步骤 306 : 服务总线将相应的服务组件绑定到参考模型单元, 获得功能的 指示, 参考模型单元中定义了服务组件运行的行为和数据源。  Step 306: The service bus binds the corresponding service component to the reference model unit to obtain an indication of the function, and the reference model unit defines the behavior and data source of the service component running.
步骤 307 : 获得功能指示后, 服务组件运行参考模型单元中定义的功能, 当参考模型单元更新时, 服务组件运行更新后的功能。  Step 307: After obtaining the function indication, the service component runs the function defined in the reference model unit, and when the reference model unit is updated, the service component runs the updated function.
步骤 308 : 服务总线将服务组件动态绑定到参考模型单元, 获得功能的指 示, 参考模型单元中定义了服务组件运行的行为和数据源。  Step 308: The service bus dynamically binds the service component to the reference model unit to obtain an indication of the function, and the reference model unit defines the behavior and data source of the service component running.
步骤 309 : 服务组件运行参考模型单元中定义的功能。 步骤 310: 绑定过程和执行过程结束, 形成服务的工作流, 服务总线作为 中介控制请求通过多个服务组件协作执行的流程, 管理服务的生命周期。 图 4是本发明的会话控制服务组件的功能框图。 本发明的会话控制服务组 件采用会话控制协议(SIP )来实现。 SIP(Session Initiation Protocol)是一个应用 层的信令控制协议, 用于创建、 修改和释放一个或多个参与者的会话。 SIP协 议提供了一种基于标准的、为多种设备和应用提供 IP通信的方式。在本发明中, 通过采用 SIP协议, 可以实时控制服务组件之间的通信会话, 实现分布式事务 处理, 保证运营的完整性, 为服务质量 QoS提供 (信息) 支持。 这里的服务组 件指图 1中的用户服务组件 (1到 n) 和资源控制服务组件 (1到 n) 。 在 SIP 服务环境下, 这些服务组件也称之为 SIP服务节点。 该部分由用户代理客户端 41、 用户代理服务器端 42和 SIP会话控制服务 43组成。 其中用户代理客户端Step 309: The service component runs the functions defined in the reference model unit. Step 310: The binding process and the execution process end, forming a workflow of the service, and the service bus acts as an intermediary to control the process of collaborative execution of the service through multiple service components, and manages the service life cycle. 4 is a functional block diagram of a session control service component of the present invention. The session control service component of the present invention is implemented using Session Control Protocol (SIP). SIP (Session Initiation Protocol) is an application layer signaling control protocol used to create, modify, and release sessions of one or more participants. The SIP protocol provides a standards-based way to provide IP communications for multiple devices and applications. In the present invention, by adopting the SIP protocol, communication sessions between service components can be controlled in real time, distributed transaction processing is realized, operational integrity is ensured, and (information) support is provided for quality of service QoS. The service components here refer to the user service components (1 to n) and the resource control service components (1 to n) in FIG. In the SIP service environment, these service components are also referred to as SIP service nodes. This portion is composed of a user agent client 41, a user agent server terminal 42, and a SIP session control service 43. User agent client
( SIP服务节点) 41和用户代理服务器 (SIP服务节点) 42指上述服务组件, 既包括用户服务组件, 也包括资源控制服务组件。 当采用 SIP通信时, 主叫方 称之为用户代理客户端 41, 被叫方称之为用户代理服务器 42。 用户代理客户 端 41发出消息, 用户代理服务器 42对消息进行响应。 SIP会话控制服务 43为 这些服务组件提供 SIP会话控制服务, 控制组件间的会话和会话上下文, 做统 计分析和智能决策。 (SIP Service Node) 41 and User Agent Server (SIP Service Node) 42 refers to the above-described service components, including both the User Service component and the Resource Control Service component. When SIP communication is employed, the calling party is referred to as a user agent client 41, and the called party is referred to as a user agent server 42. The user agent client 41 issues a message and the user agent server 42 responds to the message. The SIP Session Control Service 43 provides SIP session control services for these service components, controls session and session context between components, and performs statistical analysis and intelligent decision making.
SIP会话控制服务 43中提供的 SIP服务功能包括 SIP会话控制器 431、 SIP 代理 432、 SIP上下文管理器 433、在线应用管理服务 434以及控制信息库 435。 SIP会话控制器 431可以创建、 修改和删除一个或多个服务节点之间的会话, 管理会话的状态和生命周期, 管理全局控制会话, 资源控制会话和资源绑定会 话。 SIP代理 432为通信双方提供代理服务, 如基本功能定位, 转发及会话控 制 (确定 Proxy协议栈; 协议栈封装、 接口对象定义; 确定 SIP对象地址编码 方式, 以及编码部件实现) 。 SIP上下文管理器 433管理 SIP服务节点之间的 上下文信息, 每一个上下文都是一个独立的服务节点, 通过上下文来实现各服 务节点之间的关联, 既可以是简单的上下文关系, 也可以是复杂的多上下文关 系。通过将 SIP服务节点与 POD13绑定, 这里的 SIP服务节点是资源控制服务 组件, SIP上下文管理器 433还能获取并管理资源控制服务组件 127和 POD13 之间的上下文信息, 从而构建从控制平面到资源数据平面上下文的全面关联, 将控制平面和数据平面关联在一起。 SIP上下文管理器 433负责上下文的更新。 在线应用管理服务 434包括规则和策略引擎 4341, 实时绑定控制 4342, 在线 应用统计 4343, 统计和智能分析 4344, 规划和调度决策 4345。 在线应用管理 服务通过 SIP对会话对象服务节点及服务节点控制的 POD资源业务进行实时控 制和管理, 实现管理接口, 控制数据配置, SIP节点状态, SIP统计数据汇总, 统计和智能分析, 规划和调度决策等。 这里的在线应用指实时的服务组件交互 协作执行及资源控制服务组件对 POD资源的控制业务。 这里的服务组件指实 现整个控制服务的服务组件, 包括面向用户服务组件 126和资源控制服务组件 127。 其中规则和策略引擎 4341中定义了一些规则和策略来控制在线服务组件 和资源的绑定和移除。 实时绑定控制 4342控制服务组件之间的绑定, 以及资 源控制服务组件 126与 POD设备资源 13的绑定, SIP对资源控制服务组件与 POD设备资源的绑定控制将在图 7中详细说明。 在线应用统计 4343在线统计 每个服务节点使用的资源数量 43432, 使用的时长 43431 ; 以及资源控制服务 节点控制的 POD资源的使用数量和时长, 并进行汇总, 将在图 8中详细说明。 统计和智能分析 4344提供对在线统计的数据进行分析, 形成知识库。 并通过 规划和调度决策 4345来为下阶段的 SIP会话请求与服务组件和 POD资源的绑 定提供决策支持。 这里的统计和智能分析 4344来自于决策支持系统中的分析 功能, 统计分析可以包括回归分析, 因子分析, 主成分分析, 贝叶斯网络等, 智能分析可以包括神经网络, 遗传算法等。 在本发明中, 统计和智能分析 4344 可以是对先前的请求的失败率的分析, 请求被接受的概率的分析。 因而, 该分 析可以包括一个或多个服务组件 (服务提供者) 的可用性。 控制信息库 435中 存储的是各种控制信息, 包括会话, 上下文, 知识等。 通过该部分可实现智能 会话控制。 图 5是本发明的图 4中的控制信息库中存储的数据类型、结构及其关系图。 控制信息库 51是为了会话控制服务的, 控制信息库中包括字段 session infor 511, context infor 512、 statistic config infor 513、 以及 rule禾口 knowledge 514信 息。 其中 session infor 511字段主要指各种会话信息, 包括 Global session ID 5111, Rsc— us— session— key 5112, Rsc— session— key 5113, Srv Cmp key 51 14。用户 请求到达时, 通过 SIP 会话控制器 43 1为请求创建一个全局会话, 每个会话都 有一个唯一的身份, 该会话通过 Global— session— ID 51 11来唯一标识。在一个请 求的执行流程中, Global— session— ID 51 1 1在服务组件之间传递。 当请求运行到 资源控制服务组件阶段, SIP会话控制器 431中的资源用户代理 (resource user agent) 就会为请求创建资源用户会话, 通过字段 Rsc— us— session— key 51 12来表 示。 当请求到达 POD资源时, 会话控制器中的资源绑定代理为请求创建资源 绑定会话, 通过字段 Rsc— session— key5113来表示。 实现控制过程的关联组件用 Srv Cmp key 5114来表示。 Context infor512字段中包括 Usr—Cmp— context 5121, Srv— Cmp— context 5122, Srv— Cmp— POD— context 5123字段。 不同层次和 级别的对象间的会话对应不同的上下文关系。 用户服务组件间的会话上下文采 用字段 Usr— Cmp— context 5121表示, 资源控制服务组件间的会话上下文用字 段 Srv— Cmp— context 5122来表示, 通过 SIP会话控制, 还可以控制服务控制组 件与 POD间的上下文关系 Srv— Cmp— POD— context 5123。 图 6是本发明的 SIP会话控制服务组件间的交互会话的流程图。 这里服务 组件间的会话是通过 SIP协议来实现的, 通过 SIP协议来实现服务组件间的会 话。 具体流程如下: The SIP service functions provided in the SIP session control service 43 include a SIP session controller 431, a SIP proxy 432, a SIP context manager 433, an online application management service 434, and a control information base 435. The SIP session controller 431 can create, modify, and delete sessions between one or more service nodes, manage the state and lifecycle of the session, manage global control sessions, resource control sessions, and resource binding sessions. The SIP proxy 432 provides proxy services for both parties, such as basic function location, forwarding, and session control (determining the Proxy protocol stack; protocol stack encapsulation, interface object definition; determining the SIP object address encoding mode, and encoding component implementation). The SIP context manager 433 manages context information between SIP service nodes. Each context is an independent service node, and the association between the service nodes is realized through the context, which may be a simple context relationship or a complex Multiple contexts. By binding the SIP service node to the POD 13, where the SIP service node is a resource control service component, the SIP context manager 433 can also acquire and manage the resource control service component 127 and POD13. Contextual information between them to construct a comprehensive association from the control plane to the resource data plane context, associating the control plane with the data plane. The SIP context manager 433 is responsible for the update of the context. The online application management service 434 includes a rules and policy engine 4341, real-time binding control 4342, online application statistics 4343, statistical and intelligent analysis 4344, planning and scheduling decisions 4345. The online application management service controls and manages the POD resource services controlled by the session object service node and the service node through SIP, implements management interface, controls data configuration, SIP node status, SIP statistics summary, statistics and intelligent analysis, planning and scheduling. Decision making, etc. The online application here refers to real-time service component interaction and collaborative execution and resource control service component control of POD resources. The service component herein refers to a service component that implements the entire control service, including a user oriented service component 126 and a resource control service component 127. Some rules and policies are defined in the rules and policy engine 4341 to control the binding and removal of online service components and resources. The real-time binding control 4342 controls the binding between the service components, and the binding of the resource control service component 126 to the POD device resource 13, and the SIP binding control of the resource control service component and the POD device resource will be described in detail in FIG. . Online application statistics 4343 online statistics on the number of resources used by each service node 43432, the duration of use 43331; and the number and duration of use of POD resources controlled by the resource control service node, and summarized, which will be described in detail in FIG. Statistical and intelligent analysis 4344 provides analysis of online statistical data to form a knowledge base. And through the planning and scheduling decision 4345 to provide decision support for the binding of the next phase of the SIP session request with the service component and the POD resource. The statistical and intelligent analysis 4344 here comes from the analysis function in the decision support system. The statistical analysis can include regression analysis, factor analysis, principal component analysis, Bayesian network, etc. Intelligent analysis can include neural networks, genetic algorithms and so on. In the present invention, the statistical and intelligent analysis 4344 may be an analysis of the failure rate of the previous request, an analysis of the probability that the request is accepted. Thus, the analysis can include the availability of one or more service components (service providers). Stored in the control information base 435 are various control information including sessions, contexts, knowledge, and the like. Intelligent session control is achieved through this part. Figure 5 is a diagram showing the types, structures, and relationship diagrams of data stored in the control information base of Figure 4 of the present invention. The control information base 51 is for session control services, and the control information base includes fields session infor 511, context infor 512, statistic config infor 513, and rule and knowledge 514 information. The session infor 511 field mainly refers to various session information, including the Global session ID. 5111, Rsc—us—session—key 5112, Rsc—session—key 5113, Srv Cmp key 51 14. When the user request arrives, a global session is created for the request by the SIP session controller 43 1 , each session having a unique identity, which is uniquely identified by the Global_session_ID 51 11 . In the execution flow of a request, Global_session_ID 51 1 1 is passed between service components. When the request is run to the resource control service component phase, the resource user agent in the SIP session controller 431 creates a resource user session for the request, represented by the field Rsc_us_session_key 5112. When the request arrives at the POD resource, the resource binding agent in the session controller creates a resource binding session for the request, which is represented by the field Rsc_session_key5113. The associated components that implement the control process are represented by Srv Cmp key 5114. The Context infor 512 field includes the Usr_Cmp_Context 5121, Srv_Cmp_Context 5122, Srv_Cmp_POD_Context 5123 fields. Sessions between objects of different levels and levels correspond to different contexts. The session context between the user service components is represented by the field Usr_Cmp_context 5121, and the session context between the resource control service components is represented by the field Srv_Cmp_context 5122. Through the SIP session control, the service control component and the POD can also be controlled. Context Srv - Cmp - POD - context 5123. 6 is a flow diagram of an interactive session between SIP session control service components of the present invention. Here, the session between the service components is implemented by the SIP protocol, and the session between the service components is implemented by the SIP protocol. The specific process is as follows:
步骤 601 : 会话控制服务组件创建一个 SIP会话, 这里通过 SIP协议来创 建会话。  Step 601: The session control service component creates a SIP session, where the session is created through the SIP protocol.
步骤 602 : 生成一个 SIP会话 ID (身份) , 每个会话都有一个唯一的 ID, 并将该会话 ID记录在 SIP会话控制服务中。  Step 602: Generate a SIP session ID (identity), each session has a unique ID, and record the session ID in the SIP session control service.
步骤 603 : 在每一个 SOAP消息中插入会话 ID, 在本发明的一个较佳实施 例中, 服务总线连接的服务组件间的通信采用 SOAP和 http协议 (这个有些局 限, 若是使用其它协议, 则如何泛化呢) 。  Step 603: Insert a session ID in each SOAP message. In a preferred embodiment of the present invention, the communication between service components connected by the service bus uses SOAP and http protocols (this is somewhat limited, if other protocols are used, how? Generalization).
步骤 604 : 会话 ID通过 soap消息在 ESB连接的服务组件间传输。  Step 604: The session ID is transmitted between the service components of the ESB connection through the soap message.
步骤 605 : 服务组件收到会话 ID。  Step 605: The service component receives the session ID.
步骤 606 : 判断是否是新会话 ID, 若是, 转入到步骤 607, 否则转入到步 骤 610。 步骤 607: 审核会话 ID与 SIP会话控制服务 , 通过判断 SIP会话控制服 务中是否存储该会话 ID, 若是, 则转入到步骤 608。 Step 606: Determine whether it is a new session ID, and if yes, go to step 607, otherwise go to step 610. Step 607: Review the session ID and the SIP session control service, and determine whether the session ID is stored in the SIP session control service, and if yes, proceed to step 608.
步骤 608 : 服务组件记录会话 ID。  Step 608: The service component records the session ID.
步骤 609: 执行用户请求的组件功能。  Step 609: Perform component functions requested by the user.
步骤 610: 判断会话过程是否结束, 若是, 则转入到步骤 611, 否则继续 进行判断。  Step 610: Determine whether the session process is finished. If yes, go to step 611, otherwise continue to judge.
步骤 611 : 从 SIP会话控制服务和服务组件中删除 session ID, 会话过程结 束。 图 7是本发明的 SIP控制请求与 POD的绑定的框图。  Step 611: The session ID is deleted from the SIP session control service and service component, and the session process ends. Figure 7 is a block diagram of the binding of the SIP Control Request and POD of the present invention.
客户端 701发出业务请求 7011,这里的客户端 7011指图 1中的客户端 11, 业务请求 7011指资源业务请求, 即客户端运行的业务向系统请求业务运行所 需的 IT基础设施资源。 用户服务组件 702接收客户端的请求, 调用业务设计 7022为业务请求设计逻辑 POD 7021, 即为业务设计和规划执行业务所需的 IT 基础设施资源集合, 具体而言, 在该阶段, 设计执行业务请求需要多少服务器、 存储、 网络资源。 这里的用户服务组件 702是图 1中用户服务组件 126中的一 个, 执行业务设计功能。 逻辑 POD 7021指执行业务需要的逻辑 IT基础设施资 源的集合, 该集合包括服务器、 存储、 网络等。 用户服务组件 702完成对请求 的业务设计后, 将结果发往资源控制服务组件 704, 资源控制服务组件 704是 图 1中的资源控制服务组件 127中的一个。 资源控制服务组件 704控制对资源 的访问和分配, 资源控制服务组件 704中的分配调度 7042确定将逻辑 POD中 的设备分配到软件定义的 POD中的设备上, 即将业务请求分配到真实的物理 设备上。 该过程也称之为逻辑 POD7021和软件定义的 POD 7041的绑定。 这里 软件定义的 POD 7041指通过软件定义的真实设备资源, 如真实的服务器、 虚 机; 其与逻辑 POD 7021的差别在于: 逻辑 POD 7021只为业务设计和规划资 源, 即一个业务运行需要多少硬件设备, 而软件定义的 POD 7041则定义和确 定了运行业务的真实的设备资源, 包括真实的资源名字、 真实的资源地址。 用 户服务组件 702和资源控制服务组件 704之间的会话通过 SIP会话控制服务 703 来控制, 其中 SIP上下文管理 7031管理会话的上下文。 POD绑定控制 7032基 于会话上下文, 实时控制逻辑 POD 7021与软件定义的 POD 7041间的绑定信 息, 即控制逻辑 POD 7021与软件定义的 POD 7041间的映射关系或分配关系 信息。完成将业务请求 7011分配到软件定义的 POD 7041后,业务请求在 POD 服务单元实施。 这里的 POD服务单元 705是图 1中的 POD服务单元 131, 指 IT基础设施设备的集合。业务请求 7011获得 POD服务单元 705中的硬件设备, 运行起来, 生成资源实例 Runtime POD 706。 The client 701 sends a service request 7011, where the client 7011 refers to the client 11 in FIG. 1, and the service request 7011 refers to a resource service request, that is, an IT infrastructure resource required for the service run by the client to request the service operation from the system. The user service component 702 receives the client's request, and invokes the service design 7022 to design a logical POD 7021 for the business request, that is, a set of IT infrastructure resources required for the business design and planning execution of the business. Specifically, at this stage, the design execution service request is performed. How many servers, storage, and network resources are needed. The user service component 702 herein is one of the user service components 126 of FIG. 1 that performs business design functions. Logical POD 7021 refers to a collection of logical IT infrastructure resources required to perform a business, including servers, storage, networks, and the like. After the user service component 702 completes the service design for the request, the result is sent to the resource control service component 704, which is one of the resource control service components 127 of FIG. The resource control service component 704 controls access and allocation of resources, and the allocation schedule 7042 in the resource control service component 704 determines to assign devices in the logical POD to devices in the software-defined POD, ie, to allocate the service requests to the real physical devices. on. This process is also referred to as the binding of logical POD7021 and software-defined POD 7041. The software-defined POD 7041 refers to real device resources defined by software, such as real servers and virtual machines; the difference between it and logical POD 7021 is: Logical POD 7021 only designs and plans resources for the business, that is, how much hardware is required for a service operation. The device, and the software-defined POD 7041 defines and determines the real device resources for running the service, including the real resource name and the real resource address. The session between the user service component 702 and the resource control service component 704 is controlled by the SIP session control service 703, which manages the context of the session. POD binding control 7032 base In the session context, the binding information between the logic POD 7021 and the software-defined POD 7041 is controlled in real time, that is, the mapping relationship or the distribution relationship information between the control logic POD 7021 and the software-defined POD 7041. Upon completion of assigning the business request 7011 to the software defined POD 7041, the business request is implemented at the POD service unit. The POD service unit 705 herein is the POD service unit 131 in FIG. 1 and refers to a collection of IT infrastructure devices. The service request 7011 obtains the hardware device in the POD service unit 705, and runs to generate the resource instance Runtime POD 706.
在本发明的一个较佳实施例中, 基础设施资源环境中采用了虚拟化技术, 有大量虚机 (VM) , 逻辑 POD服务单元 7021包括逻辑 VM 70211, 为业务请 求设计和规划逻辑虚机 70211, 并将逻辑 VM 70211分配到软件定义的 VM 70411上, 即将逻辑 VM 70211分配到服务器上的某台虚机上, 该过程由 SIP 会话控制服务来控制, 请求在 POD服务单元中的服务器 7051上的 VM 70511 上实施, 生成 runtime VM 7061。 图 8是本发明的 SIP统计在线资源使用情况的框图。 SIP会话控制服务 81 可以统计业务请求使用的资源数目和时长。 SIP会话控制服务 81指图 4中的 SIP会话控制服务 43, 包括 SIP会话控制器 811、 SIP代理 812、 在线应用统计 813, 其中在线应用统计 813包括使用时长 8131和资源数目 8132。 SIP会话控 制服务向资源控制器 (服务组件) 8211发出 SIP消息请求, 这里的 SIP消息可 以是 Invite消息。 资源控制服务器 8211收到请求, 生成子进程, 即服务点 1 82111到服务点 2 82112, 服务点 1 82111和服务点 n 82112也成为可以提供服 务功能的服务组件, 从而成为 SIP会话控制服务 81 控制会话的对象。 SIP会 话控制服务 81向服务点 1 82111发出 SIP请求,请求消息中包含 Call-ID、CCID 等信息, 这里的 SIP请求可以是 Invite请求, call-ID是会话 ID, CCID是计量 资源使用总时长的 ID。 服务点 1 82111控制 Runtime 虚机 8212的运行, 并通 过 CCID统计 Runtime虚机 8212运行的时长。服务点 1 82111向 SIP会话控制 服务返回 SIP应答消息, 该消息中包括 CCID统计的虚机运行时长和使用的资 源数目, 这里使用的资源数目由服务点计量。 在线应用统计 813根据返回的使 用时长 8131和资源数目 8132信息, 可以进一步对资源的使用进行计费, 并 做智能和统计分析。 这里的 POD服务单元 82是图 1中的 POD服务单元 13.本 发明的资源不限定在 Runtime 虚机 8212, 还包括 POD服务单元 82中的其它 的设备, 如服务器 821, FC SAN 822, IP SAN/NAS. 图 9是本发明的 SIP会话控制服务的流程图。 SIP会话控制服务包括创建 会话, 管理会话的生命周期, 管理会话上下文, 统计在线业务使用的资源数目 和时长, 对统计的数据进行分析, 与 POD进行绑定等。 这些服务共同构建了 SIP会话服务的流程, 以此来保证运营的完整性和会话的智能性。 该流程也是 图 2中会话控制服务部分的进一步细化, 具体流程如下: In a preferred embodiment of the present invention, a virtualization technology is adopted in an infrastructure resource environment, and a large number of virtual machines (VMs) are included. The logical POD service unit 7021 includes a logical VM 70211, which designs and plans a logical virtual machine 70211 for service requests. And assigning the logical VM 70211 to the software-defined VM 70411, that is, assigning the logical VM 70211 to a virtual machine on the server, the process being controlled by the SIP session control service, requesting on the server 7051 in the POD service unit Implemented on VM 70511 to generate runtime VM 7061. FIG. 8 is a block diagram of the use of the SIP statistical online resource of the present invention. The SIP session control service 81 can count the number and duration of resources used by the service request. The SIP session control service 81 refers to the SIP session control service 43 in FIG. 4, including the SIP session controller 811, the SIP proxy 812, and the online application statistics 813, wherein the online application statistics 813 includes a usage duration 8131 and a resource number 8132. The SIP session control service issues a SIP message request to the resource controller (service component) 8211, where the SIP message can be an Invite message. The resource control server 8211 receives the request, and generates a child process, that is, the service point 1 82111 to the service point 2 82112, and the service point 1 82111 and the service point n 82112 also become service components that can provide a service function, thereby becoming controlled by the SIP session control service 81. The object of the session. The SIP session control service 81 sends a SIP request to the service point 1 82111. The request message includes information such as Call-ID and CCID. The SIP request here may be an Invite request, the call-ID is a session ID, and the CCID is a total duration of measurement resource usage. ID. Service Point 1 82111 controls the operation of Runtime virtual machine 8212, and the duration of Runtime virtual machine 8212 is counted by CCID. The service point 1 82111 returns a SIP response message to the SIP session control service, where the message includes the running time of the virtual machine and the number of resources used by the CCID, and the number of resources used here is measured by the service point. The online application statistics 813 can further charge the use of resources according to the returned usage time 8131 and the number of resources 8132, and perform intelligent and statistical analysis. The POD service unit 82 here is the POD service unit 13. Ben in FIG. The resources of the invention are not limited to the Runtime virtual machine 8212, but also include other devices in the POD service unit 82, such as the server 821, FC SAN 822, IP SAN/NAS. Figure 9 is a flow diagram of the SIP session control service of the present invention. The SIP session control service includes creating a session, managing the life cycle of the session, managing the session context, counting the number and duration of resources used by the online service, analyzing the statistical data, and binding with the POD. Together, these services build the flow of SIP session services to ensure operational integrity and session intelligence. This process is also a further refinement of the session control service part of Figure 2, the specific process is as follows:
步骤 901 : 为请求创建控制会话, 实时控制请求经过的每个服务组件之间 的交互会话, 保持会话状态和连接。  Step 901: Create a control session for the request, control the interactive session between each service component through which the request passes, and maintain the session state and connection.
步骤 902: 判断是否需要智能地指导组件绑定流程, 如果是, 则转入到步 骤 903, 否则转入到步骤 904。  Step 902: Determine whether it is necessary to intelligently guide the component binding process, and if yes, proceed to step 903, otherwise proceed to step 904.
步骤 903 : 通过 SIP中的知识库来为组件绑定流程提供指示, SIP中的统计 和智能分析而形成的知识和规则库可以为请求与服务组件的动态绑定提供决 策支持。  Step 903: Provide an indication for the component binding process through the knowledge base in the SIP. The knowledge and rule base formed by the statistical and intelligent analysis in the SIP can provide decision support for the dynamic binding of the request and the service component.
步骤 904: 控制服务节点 (服务组件) 间的会话, 这里的服务节点是指 SIP 服务节点, 即 SIP通信的用户代理客户端和用户代理服务器, 在本发明中, SIP 服务节点指各构成控制平面的各服务组件, 包括用户服务组件和资源控制服务 组件, 服务节点可以运行在一个或多个服务器上。  Step 904: Control a session between service nodes (service components), where the service node refers to a SIP service node, that is, a user agent client and a user agent server of SIP communication. In the present invention, the SIP service node refers to each control plane. Each service component, including a user service component and a resource control service component, can be run on one or more servers.
步骤 905 : 判断服务节点是否出现故障, 若出现故障, 则转入到步骤 906, 否则转入到步骤 907。  Step 905: It is judged whether the service node is faulty. If a fault occurs, the process proceeds to step 906, otherwise, the process proceeds to step 907.
步骤 906: 选择备用的节点, 并记录该过程。  Step 906: Select an alternate node and record the process.
步骤 907: 统计服务节点使用的资源数目和时长, 这里指服务节点在执行 控制功能的会话过程中使用的资源数目以及时间。  Step 907: Count the number and duration of resources used by the service node. Here, the number and time of resources used by the service node in the session during which the control function is executed.
步骤 908 : 跟踪会话流程, 保持会话上下文, 这里可以通过上下文管理器 来保存和管理会话的上下文。  Step 908: Track the session flow, maintain the session context, where the context manager can be used to save and manage the context of the session.
步骤 909: 控制资源控制服务组件与 POD设备资源的上下文, 关联运行时 POD中的资源上下文,由于 POD服务单元中有一个资源容器, 里面存有在一个 POD服务单元内的资源之间的上下文关系, 该上下文关系可以为资源控制服务 组件控制和访问资源提供参考, 而资源控制服务组件由 SIP会话控制, 因而可 以将一个运行时的 POD上下文关系与 SIP服务节点的会话上下文进行关联。 Step 909: Control the context of the resource control service component and the POD device resource, and associate the resource context in the runtime POD. Since there is a resource container in the POD service unit, the context relationship between the resources in a POD service unit is stored therein. , the context can be a resource control service Component control and access resources provide references, while resource control service components are controlled by SIP sessions, so a runtime POD context can be associated with the SIP service node's session context.
步骤 910: 通过上面的关联, 形成整个会话控制的上下文。  Step 910: Form the context of the entire session control through the above association.
步骤 911 : 在线统计 POD资源使用情况, 详细过程见上图 8。  Step 911: Online statistics on the usage of POD resources. The detailed process is shown in Figure 8.
步骤 912: 分析资源使用情况和整个会话控制上下文, 形成知识, 指导决 策, 这里的决策包括请求和服务组件及资源间的动态绑定决策, 及一些其它的 动态控制决策。  Step 912: Analyze resource usage and the entire session control context to form knowledge and guide decisions. The decisions here include dynamic binding decisions between request and service components and resources, and some other dynamic control decisions.
步骤 913 : 判断控制过程是否结束, 若结束, 则转入到步骤 614, 否则继 续进行判断。  Step 913: It is judged whether the control process is finished. If it is finished, the process proceeds to step 614, otherwise the determination is continued.
步骤 914: 终止控制会话, 释放资源。 图 10是本发明的控制会话生命周期和会话关系流程图。 由于控制过程包 括面向用户的业务和面向资源的业务两个阶段, 而请求最终绑定到 POD资源, 因而整个会话流程包括三个阶段, 具体流程如下:  Step 914: Terminate the control session and release the resource. Figure 10 is a flow chart showing the control session life cycle and session relationship of the present invention. Since the control process includes two phases of user-oriented service and resource-oriented service, and the request is finally bound to the POD resource, the entire session process includes three phases, and the specific process is as follows:
步骤 1001 : 会话控制服务组件收到资源请求, 这里的会话控制服务是图 4 中的 SIP会话控制服务。  Step 1001: The session control service component receives the resource request, where the session control service is the SIP session control service in FIG.
步骤 1002: 会话控制服务组件中的 SIP代理为请求创建一个全局控制会话 ( global controlling session),这里可以使用 SIP代理中的全局用户代理来创建, 全局控制会话指整个控制过程的总会话, 全局控制会话下面又包括若干个子控 制会话。  Step 1002: The SIP proxy in the session control service component creates a global controlling session for the request, which can be created by using a global user agent in the SIP proxy. The global control session refers to the total session of the entire control process, and global control. The session also includes several sub-control sessions.
步骤 1003 : 判断是否进入资源控制阶段, 若是, 则转入到步骤 704, 否则 继续判断; 这里的资源控制阶段指资源控制服务组件通过服务总线进行交互的 阶段。  Step 1003: Determine whether to enter the resource control phase, and if yes, proceed to step 704, otherwise continue to determine; the resource control phase herein refers to the phase in which the resource control service component interacts through the service bus.
步骤 1004: 会话控制服务组件中的 SIP代理创建资源控制会话, 这里使用 SIP代理中的资源用户代理来创建该会话, 资源控制会话是请求运行到资源控 制服务组件阶段, 资源控制服务组件之间的会话, 资源控制会话是全局控制会 话的子会话, 一个全局控制会话下有多个资源控制会话。  Step 1004: The SIP proxy in the session control service component creates a resource control session, where the resource user agent in the SIP proxy is used to create the session, and the resource control session is a request to run to the resource control service component phase, between the resource control service components. Session, resource control session is a sub-session of global control session, and there are multiple resource control sessions under one global control session.
步骤 1005 : 判断是否进入资源绑定阶段, 若是, 则进入步骤 1006, 否则 进入步骤继续进行判断; 这里的资源绑定阶段是指资源控制服务组件与 POD 设备资源绑定交互, 生成资源实例的阶段, 该阶段连接控制平面和数据平面。 步骤 1006: 会话控制服务组件中的 SIP代理为请求创建资源绑定会话, 这 里使用 SIP代理中的资源绑定代理来创建, 资源绑定会话是指资源控制服务组 件和 POD资源设备进行交互的会话, 在本发明的一个较佳实施例中, 若资源 控制器绑定的资源是虚机 (VM) , 则一个虚机 (VM) —个资源绑定会话 ( session) 。 Step 1005: Determine whether to enter the resource binding phase, and if yes, proceed to step 1006, otherwise proceed to the step to continue to determine; the resource binding phase herein refers to the resource control service component and the POD The device resource binds and interacts to generate a phase of the resource instance, which connects the control plane and the data plane. Step 1006: The SIP proxy in the session control service component creates a resource binding session for the request, where is created by using a resource binding proxy in the SIP proxy, and the resource binding session refers to a session in which the resource control service component and the POD resource device interact. In a preferred embodiment of the present invention, if the resource bound by the resource controller is a virtual machine (VM), then a virtual machine (VM) is a resource binding session.
步骤 1007: 判断资源实例是否结束, 若结束, 则转入到步骤 1008, 否则 转入到步骤 1009。  Step 1007: It is judged whether the resource instance is finished. If it is finished, the process proceeds to step 1008, otherwise, the process proceeds to step 1009.
步骤 1008 : 结束资源绑定会话, 资源控制会话, 全局控制会话, 释放所占 资源。 当资源实例结束后, 相应的控制过程也结束, 结束控制会话。  Step 1008: End the resource binding session, the resource control session, and the global control session, and release the occupied resources. When the resource instance ends, the corresponding control process also ends, ending the control session.
步骤 1009: 判断会话时间是否超过阀值, 若超过阀值, 转入到步骤 1008, 否则转入到 1007, 重新判断。 图 11是本发明的 POD服务单元与资源控制组件绑定功能框图。 表示了资 源控制服务组件访问 POD资源时与相关组件的交互关系。 该部分由资源控制 服务组件 1 1101、 资源控制服务组件 2 1102、 POD服务单元 1103、 资源总线 1104、 数据模型单元 1105、 参考模型单元 1106组成。 其中资源控制服务组件 1 1101和资源控制服务组件 2 1102指控制各种设备资源的资源控制器,在本发 明的一个或多个较佳实施例中, 资源控制服务组件可以指虚机控制器 (VM controller) , 存储控制器等。 POD服务单元 1103中包括一资源容器 11031, 资 源容器 11031中存放服务器、 网络、 存储设备资源之间的上下文关系, 通过该 上下文关系知道其中的一个设备 (如服务器) 可以关联到其它的网络设备和存 储设备。 资源总线 1104中包括一消息代理 11041, 其中有一个消息队列, 可以 实现基于主题的发布订阅。 消息代理 11041中有一个 QoS 110411, 提供一部 分 QoS功能, 如稳定性 (当数据包丢失了, 可以自动回复) 、 持久性 (可以自 动恢复, 通过 lock保持一致性) 。 资源总线 1104中还包括一个通信器  Step 1009: Determine whether the session time exceeds the threshold. If the threshold is exceeded, go to step 1008, otherwise go to 1007 and judge again. 11 is a functional block diagram of the binding of the POD service unit and the resource control component of the present invention. Indicates the interaction relationship between the resource control service component and related components when accessing POD resources. This part is composed of a resource control service component 1 1101, a resource control service component 2 1102, a POD service unit 1103, a resource bus 1104, a data model unit 1105, and a reference model unit 1106. The resource control service component 1 1101 and the resource control service component 2 1102 are resource controllers that control various device resources. In one or more preferred embodiments of the present invention, the resource control service component may refer to a virtual machine controller ( VM controller), storage controller, etc. The POD service unit 1103 includes a resource container 11031. The resource container 11031 stores a context relationship between a server, a network, and a storage device resource. Through the context, it is known that one device (such as a server) can be associated with other network devices and Storage device. The resource bus 1104 includes a message broker 11041, which has a message queue for topic-based publish subscriptions. The Message Agent 11041 has a QoS 110411 that provides a subset of QoS features such as stability (which can be automatically replied when packets are lost), persistence (can be automatically restored, and consistent by lock). A communicator is also included in the resource bus 1104.
( Communicator) 11042, 通信器 (Communicator) 11042采用对象封装的通信 (类似于 RPC ) , 就是将对象封装起来, 通信访问的时候, 不需要知道类的内 容, 只知道接口即可 (IDL) 。 在本发明的一个或多个较佳实施例中, 资源总 线 1104可以是 DDS (分布式数据服务)或 ICEdntemet communication engine )。 参考模型单元 1 106里面存储的就是元引用信息, 即通过一个数据结构的描述 信息, 存储的元信息有节点 (node ) 引用、 实例 (instance ) 引用、 服务提供者 ( service provider) 引用等信息。 参考模型单元 1 106包括资源寻址 11061、 元 事件 11062、策略 11063。其中资源寻址 1 1061中有一个身份系统(ID system), 有各种资源的身份、名字和引用关系,可以实现资源的寻址。对于元事件(meta event) 11062, 就是对下面的资源状态事件的元描述, 以让整个系统知道这些 状态。 策略 11063即为其中定有的各种策略。 真实的资源状态 11051信息是存 储在数据模型单元 1105中的。 (Communicator) 11042, Communicator 11042 uses object-packaged communication (similar to RPC), which encapsulates objects, and does not need to know the contents of the class when communicating, but only knows the interface (IDL). In one or more preferred embodiments of the invention, the total resources Line 1104 can be a DDS (Distributed Data Service) or an ICEdntemet communication engine). The reference model unit 1 106 stores the meta-reference information, that is, through the description information of a data structure, the stored meta-information has information such as a node reference, an instance reference, a service provider reference, and the like. Reference model unit 1 106 includes resource addressing 11061, meta event 11062, policy 11063. Among them, resource addressing 1 1061 has an identity system (ID system), which has the identity, name and reference relationship of various resources, and can realize resource addressing. For meta event 11062, a meta description of the following resource state events is made to let the entire system know about these states. Strategy 11063 is the various strategies that are defined therein. The real resource status 11051 information is stored in the data model unit 1105.
在本发明中, 资源控制服务组件 1 1101向资源总线 1104发出资源订阅的 请求, 并申明要订阅的资源主题, 如名字、 类型、 QoS等。 资源总线 1 104根 据数据模型单元中的资源状态信息和 POD服务单元中的资源上下文信息确定 可订阅的 POD资源, 并告知发布的资源主题, 资源总线 1104同时控制资源控 制服务组件 1 1102与 POD服务单元 1 103之间的通信和交互。 图 12是本发明的资源控制服务组件和资源之间的绑定流程图。 资源总线 作为中介控制资源控制服务组件和资源之间的通信和交互, 具体流程如下: 步骤 1201 : 在资源控制会话期间内, 会话对象资源控制服务组件发出与 POD设备资源的绑定请求。 这里的会话对象指资源控制服务组件, 这里的资源 控制服务组件指资源控制器, 资源既可以是物理设备资源, 也可以是虚拟设备 资源。 在本发明的一个较佳实施例中, 资源控制服务组件指虚机控制器 (VM controller) 、 资源指虚机 (VM ) 。 在一个资源控制会话期间, 可以做会话对 象与设备资源的绑定工作。  In the present invention, the resource control service component 1 1101 issues a request for resource subscription to the resource bus 1104 and declares the subject of the resource to be subscribed, such as name, type, QoS, and the like. The resource bus 1 104 determines the subscribing POD resources according to the resource status information in the data model unit and the resource context information in the POD service unit, and informs the published resource subject, and the resource bus 1104 simultaneously controls the resource control service component 1 1102 and the POD service. Communication and interaction between units 1 103. Figure 12 is a flow diagram of the binding between the resource control service component and resources of the present invention. The resource bus acts as an intermediary to control the communication and interaction between the resource control service component and the resource. The specific process is as follows: Step 1201: During the resource control session, the session object resource control service component issues a binding request with the POD device resource. The session object here refers to the resource control service component, where the resource control service component refers to the resource controller, and the resource can be either a physical device resource or a virtual device resource. In a preferred embodiment of the present invention, the resource control service component refers to a virtual machine controller (VM controller) and a resource virtual machine (VM). Binding of session objects to device resources can be done during a resource control session.
步骤 1202: 判断是否需要动态绑定, 如果需要, 则转入到步骤 1203, 否 则转入到步骤 1207 ; 这里的动态绑定是相对于静态绑定的, 静态绑定是指在执 行绑定之前, 事先确定好的绑定规则和流程, 动态绑定则指在执行绑定时, 根 据资源状态等动态地确定绑定规则和流程。  Step 1202: Determine whether dynamic binding is required. If necessary, proceed to step 1203. Otherwise, go to step 1207; the dynamic binding here is relative to static binding, and the static binding refers to before performing binding. , the binding rules and processes are determined in advance, and the dynamic binding refers to dynamically determining binding rules and processes according to resource states and the like when performing binding.
步骤 1203 : 资源总线将请求发往数据模型单元和参考模型单元, 数据模型 单元中存储资源的真实状态信息、 状态变迁信息等, 参考模型单元中定义了各 组件的行为和数据源, 以及组件间共享的信息。 Step 1203: The resource bus sends the request to the data model unit and the reference model unit, and the real state information, state transition information, and the like of the storage resource in the data model unit are defined in the reference model unit. The behavior and data sources of the component, as well as the information shared between the components.
步骤 1204 : 从数据模型单元中获得设备资源的状态信息, 确定可用的设备 资源, 这里可以确定可用的设备集合, 在本发明的一个较佳实施例中, 可用的 设备资源指可用的虚机。  Step 1204: Obtain status information of the device resource from the data model unit, determine available device resources, where the available device set can be determined. In a preferred embodiment of the present invention, the available device resources refer to available virtual machines.
步骤 1205 : 根据 POD上下文和设备优先级确定可调度的设备资源。 POD 服务单元内有一个 container存储 IT设备资源的关联上下文, 确保执行请求的 设备资源在同一个 POD服务单元内, 这里采用一个资源调度器, 通过一定的 算法来对资源进行调度, 算法的依据是根据可用的设备的使用情况, 上次使用 的出错率等信息; 通过该步骤, 确定与资源控制服务组件绑定的资源, 实现了 两者之间的动态绑定。  Step 1205: Determine schedulable device resources according to the POD context and device priority. The POD service unit has a container that stores the associated context of the IT device resources, ensuring that the requested device resources are in the same POD service unit. Here, a resource scheduler is used to schedule resources through a certain algorithm. The algorithm is based on Information such as the last used error rate based on the available device usage; through this step, the resources bound to the resource control service component are determined, and dynamic binding between the two is achieved.
步骤 1206 : 从参考模型单元中获得相应的设备资源身份和地址信息, 并获 得设备资源和资源控制服务组件的功能行为指示, 通过这些信息和指示, 可以 执行绑定行为。  Step 1206: Obtain corresponding device resource identity and address information from the reference model unit, and obtain a functional behavior indication of the device resource and the resource control service component, and the binding behavior can be performed by using the information and the indication.
步骤 1207 : 资源总线加载配置文件中的静态绑定信息, 确定可以绑定的设 备资源, 该静态绑定信息是系统管理员实现设置好的, 固定地绑定起来的。 ; 步骤 1208 : 资源总线将请求发往参考模型单元。  Step 1207: The resource bus loads the static binding information in the configuration file to determine the device resources that can be bound. The static binding information is set by the system administrator and fixedly bound. Step 1208: The resource bus sends the request to the reference model unit.
步骤 1209 : 从参考模型单元中获得设备资源身份和地址信息, 并获得设备 资源和资源控制服务组件的功能行为指示。  Step 1209: Obtain device resource identity and address information from the reference model unit, and obtain a functional behavior indication of the device resource and the resource control service component.
步骤 1210 : 建立资源控制服务组件和设备资源之间的绑定, 执行绑定行为 可以是通信行为 signal、 announcement或 interrogation, 资源控制服务组件和 设备资源之间可以进行通信, 并控制设备资源的运行。  Step 1210: Establish a binding between the resource control service component and the device resource, and the binding behavior may be a communication behavior signal, announcement, or interrogation, and the resource control service component and the device resource may communicate, and control the operation of the device resource. .
步骤 121 1 : 在控制会话期间内, 资源控制服务组件可与多个设备资源之间 进行交互, 实现分布式事务的处理, 形成会话对象资源控制服务组件和设备资 源之间的交互数据流。 在本发明的一个较佳实施例中, 在虚机控制器的会话期 间, 虚机绑定器 1可以绑定虚机 1和虚机 2的 signal通信, 虚机绑定器 2可以 绑定虚机 2的 announcement通信, 虚机绑定器 3可以绑定虚机 3、 虚机 4及虚 机 5之间的 Interrogation通信, 从而形成虚机控制器和虚机之间的交互流程。 本发明的主要创新点如下: ( 1 ) 通过用户服务组件协作完成业务资源的交付, 资源控制服务组件协 作完成物理资源的交付, 从而一次性完成两阶段的资源交付, 通过组件间的协 作来控制业务请求对资源的访问; Step 121 1 : During the control session, the resource control service component can interact with multiple device resources to implement distributed transaction processing, and form an interaction data flow between the session object resource control service component and the device resource. In a preferred embodiment of the present invention, during the session of the virtual machine controller, the virtual machine binder 1 can bind the signal communication between the virtual machine 1 and the virtual machine 2, and the virtual machine binder 2 can bind the virtual machine. In the announcement communication of the machine 2, the virtual machine binder 3 can bind the Interrogation communication between the virtual machine 3, the virtual machine 4 and the virtual machine 5, thereby forming an interaction process between the virtual machine controller and the virtual machine. The main innovations of the present invention are as follows: (1) The service resource component is collaboratively completed to complete the delivery of the service resource, and the resource control service component cooperates to complete the delivery of the physical resource, thereby completing the two-stage resource delivery in one time, and controlling the service request to access the resource through the cooperation between the components;
(2) 通过服务总线、 资源总线、 参考模型单元、 数据模型单元、 SIP会话 服务来动态地控制请求与服务组件的绑定以及请求与 POD资源的绑定, 以确 保动态灵活地获取资源;  (2) dynamically control the binding of the request to the service component and the binding of the request to the POD resource through the service bus, the resource bus, the reference model unit, the data model unit, and the SIP session service to ensure dynamic and flexible access to the resource;
( 3 )采用 SIP会话控制服务来对组件间的交互进行实时控制, 控制交互的 会话上下文, 控制请求与 POD资源的绑定, 并统计在线业务使用的资源数目 和时长, 确保服务质量和运营的完整性。  (3) SIP session control service is used to control the interaction between components in real time, control the interaction session context, control the binding of requests and POD resources, and count the number and duration of resources used by online services to ensure service quality and operation. Integrity.
本发明的有益效果如下:  The beneficial effects of the present invention are as follows:
( 1 ) 动态地控制资源的实时交付过程, 实现面向用户的业务和面向资源 的业务两个阶段的统一控制, 将资源供给直接与业务部门的资源需求关联起 来, 一次性为业务需求供应按需交付的资源, 从而解决困扰企业已久的业务需 求与资源供给的矛盾, 实现以业务为中心的资源供给。  (1) Dynamically control the real-time delivery process of resources, realize unified control of two stages of user-oriented business and resource-oriented business, directly link resource supply with resource requirements of business departments, and supply on-demand service demand at one time The resources delivered to solve the contradiction between the business needs and resource supply that have long plagued the enterprise, and realize the supply of resources centered on the business.
(2 ) 通过对组件绑定和通信以及会话过程两个维度进行同时控制, 既可 以动态编排控制流程, 又可以实时控制组件间的交互会话, 将离线的控制过程 转化成在线的实时控制过程, 保证服务质量和运营的完整性。  (2) By controlling the two components of component binding and communication and session process simultaneously, the control process can be dynamically programmed, and the interactive session between components can be controlled in real time, and the offline control process can be transformed into an online real-time control process. Guarantee the quality of service and the integrity of operations.
( 3 )采用 SIP会话控制服务管理服务组件之间的上下文, 并控制资源控制 服务组件与物理 POD设备资源的上下文, 通过上下文信息做统计智能分析, 实现智能会话和控制决策支持。 上述实施例是提供给本领域普通技术人员来实现和使用本发明的, 本领域 普通技术人员可在不脱离本发明的发明思想的情况下, 对上述实施例做出种种 修改或变化, 因而本发明的保护范围并不被上述实施例所限, 而应该是符合权 利要求书所提到的创新性特征的最大范围。  (3) The SIP session control service is used to manage the context between the service components, and controls the context of the resource control service component and the physical POD device resource, and performs statistical intelligence analysis through the context information to implement intelligent session and control decision support. The above embodiments are provided to enable a person skilled in the art to implement and use the present invention, and those skilled in the art can make various modifications or changes to the above embodiments without departing from the inventive concept. The scope of protection of the invention is not limited by the embodiments described above, but should be the maximum range of the inventive features as claimed.

Claims

权 利 要 求 书 claims
1、 一种基于交付点的实时资源供应流程控制系统, 在面向服务的体系和 通信环境中实时控制 IT设备资源交付的流程和会话,其特征在于, 所述系统包 括服务总线、 资源总线、 参考模型单元、 数据模型单元、 会话控制服务组件、 与服务总线相连的用户服务组件、 与资源总线相连的资源控制服务组件、 物理 POD服务单元, 其中: 服务总线与参考模型单元、 数据模型单元、 资源总线、 会话控制服务组件以及用户服务组件相连, 接收客户端发出的资源请求, 引发 会话控制服务, 并对请求进行调度; 1. A real-time resource supply process control system based on delivery points, which controls the process and session of IT equipment resource delivery in real time in a service-oriented system and communication environment. It is characterized in that the system includes a service bus, a resource bus, and a reference Model unit, data model unit, session control service component, user service component connected to the service bus, resource control service component connected to the resource bus, physical POD service unit, among which: service bus and reference model unit, data model unit, resource The bus, session control service component and user service component are connected to receive resource requests from clients, initiate session control services, and schedule requests;
会话控制服务组件为请求创建控制会话, 实时控制服务组件间的交互会 话, 控制会话上下文, 提供请求和服务组件间的动态绑定指示; The session control service component creates a control session for the request, controls the interactive session between service components in real time, controls the session context, and provides dynamic binding instructions between the request and the service component;
参考模型单元定义了各组件及组件间共享的功能行为以及数据源的地址 和关系, 为组件的绑定和执行提供所需的数据, 数据在一参考模型中更新; 数据模型单元存储物理 POD服务单元中的 IT设备资源的状态及状态迁移 数据, 为资源控制组件绑定物理 POD 提供所需的资源数据, 资源状态数据的 变化在数据模型中更新; The reference model unit defines the functional behaviors shared between components and the addresses and relationships of data sources. It provides the required data for the binding and execution of components. The data is updated in a reference model; the data model unit stores physical POD services. The status and status migration data of IT equipment resources in the unit provide the required resource data for the resource control component to bind the physical POD. Changes in resource status data are updated in the data model;
资源总线与服务总线、 参考模型单元、 数据模型单元以及物理 POD 服务 单元相连, 控制资源控制服务组件和资源间的通信和交互; The resource bus is connected to the service bus, reference model unit, data model unit and physical POD service unit, and controls the communication and interaction between resource control service components and resources;
物理 POD 服务单元根据策略定义和划分的设备集合, 构成资源供应基本 单元, 该单元具有不依赖于其他设备而独立工作的功能, POD 服务单元的数 量至少为一个, POD服务单元与资源控制服务组件进行交互; The physical POD service unit is a collection of equipment defined and divided according to the policy, which constitutes the basic unit of resource supply. This unit has the function of working independently without relying on other equipment. The number of POD service units is at least one. The POD service unit and the resource control service component interact;
用户服务组件的数量至少为一个, 用户服务组件执行请求所需的业务交付 功能, 多个用户服务组件协作完成用户业务交付流程; The number of user service components is at least one, the user service component performs the business delivery function required by the request, and multiple user service components collaborate to complete the user business delivery process;
资源控制服务组件的数量至少为一个, 资源控制服务组件执行请求所需的 资源控制功能, 多个资源控制服务组件协作完成 POD资源控制流程。 The number of resource control service components is at least one. The resource control service component performs the resource control function required by the request. Multiple resource control service components cooperate to complete the POD resource control process.
2、 根据权利要求 1 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 服务总线根据请求消息中携带的信息、 或会话控制服务组件和参考 模型单元及数据模型单元中的指示来确定将请求绑定到服务组件。 2. The real-time resource supply process control system based on delivery point according to claim 1, characterized in that the service bus controls the service component according to the information carried in the request message, or the instructions in the session control service component and the reference model unit and the data model unit. to determine which request to bind to the service component.
3、 根据权利要求 1 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 资源总线根据请求消息中携带的信息、 或数据模型单元中的资源状 态信息和 POD上下文确定将请求绑定到物理 POD服务单元。 3. The real-time resource supply process control system based on delivery point according to claim 1, characterized in that the resource bus determines to bind the request according to the information carried in the request message, or the resource status information and POD context in the data model unit. Determined to the physical POD service unit.
4、 根据权利要求 1 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 会话控制服务组件进一步包括: 4. The real-time resource supply process control system based on delivery point according to claim 1, characterized in that the session control service component further includes:
SIP会话控制器采用 SIP协议为请求创建控制会话, 控制一个或多个服务 组件之间的交互, 保持会话的状态和生命周期; The SIP session controller uses the SIP protocol to create a control session for the request, controls the interaction between one or more service components, and maintains the status and life cycle of the session;
SIP 上下文管理器跟踪服务组件之间的会话上下文, 并控制资源控制服务 组件与 POD设备资源的上下文; The SIP context manager tracks the session context between service components and controls the context of resource control service components and POD device resources;
在线应用管理服务实时控制请求与服务组件和物理 POD服务单元的绑定, 在线统计执行请求的服务组件运行时使用的资源数目和时长, 以及执行请求的 POD资源使用的数目和时长; The online application management service controls the binding of requests to service components and physical POD service units in real time, and provides online statistics on the number and duration of resources used by service components that execute requests, as well as the number and duration of POD resources used by execution requests;
控制信息库存储各种控制信息, 包括会话控制信息、 上下文控制信息、 统 计配置信息、 知识和规则信息。 The control information base stores various control information, including session control information, context control information, statistical configuration information, knowledge and rule information.
5、 根据权利要求 1 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 参考模型进一步包括: 5. The real-time resource supply process control system based on delivery points according to claim 1, characterized in that the reference model further includes:
资源寻址标记资源身份, 并通过身份引用关系和地址求解服务寻址资源; 元事件对捕捉到的 POD 资源设备事件进行元描述, 确定事件与资源匹配 关系。 Resource addressing marks resource identities and addresses resources through identity reference relationships and address resolution services; meta-events meta-describe captured POD resource equipment events and determine the matching relationship between events and resources.
6、 根据权利要求 1 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, POD 服务单元进一步包括 IT 设备资源模块, 其中包括服务器、 FCSAN、 IP SAN, 所述 POD服务单元还包括设备连接服务模块、 设备路由服 务模块、 集成接入模块 API。 6. The real-time resource supply process control system based on delivery point according to claim 1, characterized in that the POD service unit further includes an IT equipment resource module, which includes a server, FCSAN, and IP SAN, and the POD service unit further includes Device connection service module, device routing service module, integrated access module API.
7、 根据权利要求 1 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, POD服务单元还包括一资源容器, 里面存有在 POD服务单元内的 资源之间的上下文关系。 7. The real-time resource supply process control system based on delivery point according to claim 1, characterized in that the POD service unit also includes a resource container, which contains the resources stored in the POD service unit. Contextual relationships between resources.
8、 根据权利要求 4 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 在线应用管理服务进一步包括 POD绑定控制, 实时控制逻辑 POD 与软件定义的 POD 间的映射关系或分配关系信息, 控制将逻辑虚机分配到服 务器上的真实虚机上。 8. The real-time resource supply process control system based on delivery points according to claim 4, characterized in that the online application management service further includes POD binding control, and the mapping relationship or allocation between the real-time control logical POD and the software-defined POD. Relationship information that controls the allocation of logical virtual machines to real virtual machines on the server.
9、 根据权利要求 4 所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 在线应用管理服务进一步包括在线业务统计, 通过与服务点会话获 取运行时资源的使用数目和时长, 通过 SIP消息中的 CCID信息来计量资源使 用的总时长。 9. The real-time resource supply process control system based on the delivery point according to claim 4, characterized in that the online application management service further includes online business statistics, and the usage number and duration of the runtime resources are obtained through a session with the service point, through The CCID information in the SIP message is used to measure the total duration of resource usage.
10、 根据权利要求 4所述的基于交付点的实时资源供应流程控制系统, 其 特征在于, 在线应用管理服务进一步包括: 10. The real-time resource supply process control system based on delivery point according to claim 4, characterized in that the online application management service further includes:
所述统计和智能分析采用统计和智能分析模型和算法对统计的组件运行 结果以及资源运行情况进行分析; The statistical and intelligent analysis uses statistical and intelligent analysis models and algorithms to analyze statistical component operation results and resource operation conditions;
所述规划和调度决策根据分析的结果作出请求与服务组件和资源动态绑 定的决策。 The planning and scheduling decisions make decisions on dynamically binding requests to service components and resources based on the results of the analysis.
11、 一种基于交付点的实时资源供应流程控制方法, 在面向服务的体系和 通信环境中实时控制资源交付的流程和会话, 该方法包括: 11. A real-time resource supply process control method based on delivery points, which controls resource delivery processes and sessions in real time in a service-oriented system and communication environment. The method includes:
收到客户端发出的资源请求; Receive a resource request from the client;
创建控制会话, 实时控制请求经过的每个服务组件之间的交互会话, 保持 会话状态和连接; Create a control session, control the interactive session between each service component that the request passes through in real time, and maintain the session status and connection;
根据请求消息中携带的信息, 或会话控制服务组件和参考模型单元及数据 模型单元中的指示来确定将请求绑定到服务组件; Determine to bind the request to the service component based on the information carried in the request message, or the instructions in the session control service component and reference model unit and data model unit;
引发服务组件来处理请求; Initiate service components to handle requests;
根据数据模型单元中的资源状态信息和 POD 上下文确定将请求绑定到物 理 POD服务单元; 请求获得物理 POD资源运行起来, 生成资源实例 Determine to bind the request to the physical POD service unit based on the resource status information and POD context in the data model unit; Request to obtain physical POD resources and run them to generate resource instances.
12、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 12. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
如果请求与服务组件静态绑定, 则服务总线加载配置文件中的静态绑定信 息; If the request is statically bound to the service component, the service bus loads the static binding information in the configuration file;
服务总线将相应的服务组件绑定到参考模型单元, 获得功能的指示; 服务组件运行参考模型单元中定义的功能。 The service bus binds the corresponding service component to the reference model unit and obtains instructions for the function; the service component runs the function defined in the reference model unit.
13、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 13. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
如果需要将请求与服务组件动态绑定, 则主服务总线从会话控制服务组件 和参考模型单元及数据模型单元中获得动态绑定指示; If the request needs to be dynamically bound to the service component, the main service bus obtains dynamic binding instructions from the session control service component and the reference model unit and data model unit;
根据绑定指示, 引发相应的服务组件。 According to the binding instructions, the corresponding service component is triggered.
14、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 14. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
创建会话时生成会话 ID, 将会话 ID插入 SOAP消息中。 A session ID is generated when a session is created, and the session ID is inserted into the SOAP message.
15、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 15. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
跟踪服务组件之间的会话上下文, 并控制资源控制服务组件与物理 POD 设备资源的上下文。 Tracks session context between service components and controls the context of resource control service components with physical POD device resources.
16、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 16. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
基于会话上下文, 实时控制逻辑 POD与软件定义的 POD间的绑定信息, 控制逻辑 POD与软件定义的 POD间的映射关系或分配关系信息。 Based on the session context, the binding information between the logical POD and the software-defined POD is controlled in real time, and the mapping relationship or allocation relationship information between the logical POD and the software-defined POD is controlled.
17、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 17. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
通过与服务点会话获取运行时资源的使用数目和时长, 通过 SIP消息中的 CCID信息来计量资源使用的总时长。 Obtain the number and duration of runtime resource usage through a session with the service point, and measure the total duration of resource usage through the CCID information in the SIP message.
18、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 18. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
收到请求时, 为请求创建全局控制会话; When a request is received, create a global control session for the request;
进入资源控制服务组件通过从数据服务中间件进行交互的阶段, 创建资源 控制会话; Enter the stage where the resource control service component interacts with the data service middleware and creates a resource control session;
进入资源控制服务组件与 POD 设备资源绑定交互阶段, 创建资源绑定会 话; Enter the resource binding interaction stage between the resource control service component and the POD device, and create a resource binding session;
控制会话关系和会话生命周期。 Control session relationships and session lifecycle.
19、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 19. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
采用统计和智能分析模型和算法对统计的组件运行结果以及资源运行情 况进行分析; Use statistical and intelligent analysis models and algorithms to analyze statistical component operation results and resource operation conditions;
根据分析的结果作出请求与服务组件以及物理 POD资源动态绑定的决策。 Based on the analysis results, decisions are made to dynamically bind requests to service components and physical POD resources.
20、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 20. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
在资源控制会话期间内, 资源控制服务组件请求与 POD设备资源的绑定; 若需要动态绑定, 资源总线将请求发往数据模型单元和参考模型单元; 根据数据模型单元中的设备资源的状态信息, 确定可用的设备资源; 根据 POD上下文和设备优先级确定可调度的设备资源; During the resource control session, the resource control service component requests binding with POD device resources; if dynamic binding is required, the resource bus sends the request to the data model unit and reference model unit; according to the status of the device resources in the data model unit Information, determine available device resources; determine schedulable device resources based on POD context and device priority;
根据参考模型单元中的设备资源身份和地址信息, 以及参考模型单元中的 设备资源和资源控制服务组件的功能行为指示信息, 建立资源控制服务组件和 设备资源之间的绑定, 执行绑定行为。 Based on the device resource identity and address information in the reference model unit, as well as the functional behavior indication information of the device resources and resource control service components in the reference model unit, establish a binding between the resource control service component and the device resource, and perform the binding behavior .
21、 根据权利要求 11 所述的基于交付点的实时资源供应流程控制方法, 其特征在于, 该方法进一步包括: 21. The real-time resource supply process control method based on delivery point according to claim 11, characterized in that the method further includes:
若需要静态绑定, 资源总线加载配置文件中的静态绑定信息, 确定可以绑 定的设备资源; If static binding is required, the resource bus loads the static binding information in the configuration file to determine the device resources that can be bound;
根据参考模型单元中的设备资源身份和地址信息, 以及参考模型单元中的 设备资源和资源控制服务组件的功能行为指示信息, 建立资源控制服务组件和 设备资源之间的绑定, 执行绑定行为。 Based on the device resource identity and address information in the reference model unit, as well as the functional behavior indication information of the device resources and resource control service components in the reference model unit, establish a binding between the resource control service component and the device resource, and perform the binding behavior .
PCT/CN2012/081102 2012-09-07 2012-09-07 System and method for controlling real-time resource supply process based on delivery point WO2014036715A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280046577.5A CN103828326B (en) 2012-09-07 2012-09-07 Based on real time resources supply chain control system and the method for paying point
PCT/CN2012/081102 WO2014036715A1 (en) 2012-09-07 2012-09-07 System and method for controlling real-time resource supply process based on delivery point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/081102 WO2014036715A1 (en) 2012-09-07 2012-09-07 System and method for controlling real-time resource supply process based on delivery point

Publications (1)

Publication Number Publication Date
WO2014036715A1 true WO2014036715A1 (en) 2014-03-13

Family

ID=50236461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/081102 WO2014036715A1 (en) 2012-09-07 2012-09-07 System and method for controlling real-time resource supply process based on delivery point

Country Status (2)

Country Link
CN (1) CN103828326B (en)
WO (1) WO2014036715A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360843A (en) * 2014-10-23 2015-02-18 桂林电子科技大学 Priority-based JMS (java messaging service) message scheduling method in SOA (service-oriented architecture) system
CN106790623A (en) * 2016-12-30 2017-05-31 北京华为数字技术有限公司 A kind of virtual reality device obtains control method, controller and the control system of service

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851082B (en) * 2019-11-08 2023-09-19 浪潮云信息技术股份公司 Method for storing container butt-jointed optical fiber network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906580A (en) * 2004-01-21 2007-01-31 国际商业机器公司 Method and system for a grid-enabled virtual machine with movable objects
CN102103518A (en) * 2011-02-23 2011-06-22 运软网络科技(上海)有限公司 System for managing resources in virtual environment and implementation method thereof
CN102262557A (en) * 2010-05-25 2011-11-30 运软网络科技(上海)有限公司 Method for constructing virtual machine monitor by bus architecture and performance service framework
CN102347959A (en) * 2011-11-18 2012-02-08 运软网络科技(上海)有限公司 Resource access system and method based on identity and session

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906580A (en) * 2004-01-21 2007-01-31 国际商业机器公司 Method and system for a grid-enabled virtual machine with movable objects
CN102262557A (en) * 2010-05-25 2011-11-30 运软网络科技(上海)有限公司 Method for constructing virtual machine monitor by bus architecture and performance service framework
CN102103518A (en) * 2011-02-23 2011-06-22 运软网络科技(上海)有限公司 System for managing resources in virtual environment and implementation method thereof
CN102347959A (en) * 2011-11-18 2012-02-08 运软网络科技(上海)有限公司 Resource access system and method based on identity and session

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360843A (en) * 2014-10-23 2015-02-18 桂林电子科技大学 Priority-based JMS (java messaging service) message scheduling method in SOA (service-oriented architecture) system
CN106790623A (en) * 2016-12-30 2017-05-31 北京华为数字技术有限公司 A kind of virtual reality device obtains control method, controller and the control system of service
CN106790623B (en) * 2016-12-30 2020-11-27 北京华为数字技术有限公司 Control method, controller and control system for acquiring service by virtual reality equipment

Also Published As

Publication number Publication date
CN103828326B (en) 2016-08-17
CN103828326A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
CN113448721A (en) Network system for computing power processing and computing power processing method
WO2021233391A1 (en) Routing information sending method, routing information receiving method, network element and node device
Povedano-Molina et al. DARGOS: A highly adaptable and scalable monitoring architecture for multi-tenant Clouds
US8606897B2 (en) Systems and methods for exporting usage history data as input to a management platform of a target cloud-based network
Albano et al. Message-oriented middleware for smart grids
US8719780B2 (en) Application server with a protocol-neutral programming model for developing telecommunications-based applications
US20150163179A1 (en) Execution of a workflow that involves applications or services of data centers
Ferreira et al. QoS-as-a-Service in the Local Cloud
CN101741850A (en) Multitask concurrent executive system and method for hybrid network service
CN109688222A (en) The dispatching method of shared computing resource, shared computing system, server and storage medium
EP1361761A1 (en) Telecommunications network management system and method for service monitoring
TW200525938A (en) Remote system administration using command line environment
Tao et al. Study on manufacturing grid resource service QoS modeling and evaluation
Kertész et al. Integrated monitoring approach for seamless service provisioning in federated clouds
Fei et al. A policy-driven distributed framework for monitoring quality of web services
CN108900314A (en) A kind of the number of request charging method and device of network acceleration service
Xiaofeng et al. WoT/SDN: web of things architecture using SDN
WO2014036715A1 (en) System and method for controlling real-time resource supply process based on delivery point
Biran et al. Federated cloud computing as system of systems
Marques et al. Proactive resource management for cloud of services environments
CN110011984A (en) A kind of distributed cluster system and method based on REST and RPC
Virani et al. Service composition based on multi agent in cloud environment
CN111061723A (en) Workflow implementation method and device
Lee et al. Mobility-aware balanced scheduling algorithm in mobile grid based on mobile agent
Zhu et al. Enhancing ESB based execution platform to support flexible communication Web services over heterogeneous networks

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: 12884256

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12884256

Country of ref document: EP

Kind code of ref document: A1