[go: up one dir, main page]

CN118401930A - System and method for implementing network-based reusable computing - Google Patents

System and method for implementing network-based reusable computing Download PDF

Info

Publication number
CN118401930A
CN118401930A CN202180105077.3A CN202180105077A CN118401930A CN 118401930 A CN118401930 A CN 118401930A CN 202180105077 A CN202180105077 A CN 202180105077A CN 118401930 A CN118401930 A CN 118401930A
Authority
CN
China
Prior art keywords
service
manager
routine
work
task
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202180105077.3A
Other languages
Chinese (zh)
Inventor
李顼
张航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN118401930A publication Critical patent/CN118401930A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Multi Processors (AREA)

Abstract

A method and a system are provided for a second computing service to reuse a first service function of a first computing service, the first service function being part of a first task, the first task being part of a first job, the job being part of the first computing service managed by a first service manager. By mapping information identifying the work of the second computing service authorized for reuse to a combination of information identifying the first computing service and information identifying the reuse, and storing the mapped information in a service profile of the second computing service in a service data store, the work of the second computing service can be reused according to the order provided herein.

Description

用于实现基于网络的可重用计算的系统和方法System and method for implementing network-based reusable computing

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

这是针对本发明提交的首次申请。This is the first application filed for the present invention.

技术领域Technical Field

本发明一般涉及基于网络的计算服务领域,尤其涉及在第二互连计算服务内使用第一互连计算服务的方法。The present invention generally relates to the field of network-based computing services, and more particularly to a method of using a first interconnected computing service within a second interconnected computing service.

背景技术Background technique

随着社会的发展,智能运输设备、智能家居设备、机器人等智能终端正在逐步进入人们的日常生活中。传感器在智能终端上发挥着十分重要的作用。安装在智能终端上的各式各样的传感器,比如毫米波雷达,激光雷达,摄像头,超声波雷达等,在智能终端的运动过程中感知周围的环境,收集数据,进行移动物体的辨识,以及静止场景如车道线、标示牌的识别,并结合导航仪及地图数据进行路径规划。传感器可以预先察觉到可能发生的危险并辅助甚至自主采取必要的规避手段,有效增加了智能终端的安全性和舒适性。With the development of society, smart terminals such as smart transportation equipment, smart home devices, and robots are gradually entering people's daily lives. Sensors play a very important role in smart terminals. Various sensors installed on smart terminals, such as millimeter-wave radars, lidars, cameras, ultrasonic radars, etc., sense the surrounding environment during the movement of smart terminals, collect data, identify moving objects, and static scenes such as lane lines and signs, and plan paths in combination with navigation and map data. Sensors can detect possible dangers in advance and assist or even autonomously take necessary avoidance measures, effectively increasing the safety and comfort of smart terminals.

智能驾驶技术包括感知、决策、控制等阶段。感知模块是智能车辆的“眼睛”,感知模块接收周围环境信息,通过机器学习技术了解认知所处的环境。感知模块可以根据各个传感器的输出,对其他交通参与者进行状态估计,实现对其他各个交通参与者的跟踪。决策模块利用感知模块输出的信息,对交通参与者的行为进行预测,从而对自车进行行为决策。控制模块根据决策模块的输出计算车辆的横向加速度和纵向加速度,控制自车通行。Intelligent driving technology includes perception, decision-making, and control. The perception module is the "eye" of the intelligent vehicle. The perception module receives information about the surrounding environment and uses machine learning technology to understand the environment in which it is located. The perception module can estimate the state of other traffic participants based on the output of each sensor and track other traffic participants. The decision module uses the information output by the perception module to predict the behavior of traffic participants and make behavioral decisions for the vehicle. The control module calculates the lateral acceleration and longitudinal acceleration of the vehicle based on the output of the decision module and controls the passage of the vehicle.

感知模块对各个交通参与者进行状态估计的状态估计结果是对车辆中各个传感器采集的数据进行处理得到的。考虑到车辆的成本,通常在车辆中设置性价比高的传感器。但是,性价比高的传感器对周围环境进行感知的精度可能较低。The state estimation result of the perception module for each traffic participant is obtained by processing the data collected by each sensor in the vehicle. Considering the cost of the vehicle, cost-effective sensors are usually installed in the vehicle. However, the accuracy of cost-effective sensors in perceiving the surrounding environment may be low.

可以在车辆顶部设置高精度传感器。对高精度传感器采集的数据进行处理,处理结果可以用于对车辆中感知模块确定的状态估计结果的准确度进行评估。A high-precision sensor can be installed on the top of the vehicle. The data collected by the high-precision sensor is processed, and the processing results can be used to evaluate the accuracy of the state estimation results determined by the perception module in the vehicle.

对高精度传感器采集的数据进行处理的方式,影响着处理结果的准确度,从而影响对感知模块的评估结果的准确度。The way in which data collected by high-precision sensors is processed affects the accuracy of the processing results, and thus affects the accuracy of the evaluation results of the perception module.

发明内容Summary of the invention

本发明的实施例解决了网络设置中的互操作性问题,其中,智能服务的复合计算模块可能位于不同的网络位置。Embodiments of the present invention address interoperability issues in a network setting where composite computing modules of an intelligent service may be located at different network locations.

解决了用于在网络设置中部署第一计算服务,以及用于设备访问第一计算服务的系统和方法的互操作性问题。实施例还包括在第一计算服务中重用第二计算服务的系统和方法。The interoperability problem of the system and method for deploying a first computing service in a network setting and for a device to access the first computing service is solved. The embodiment also includes a system and method for reusing a second computing service in a first computing service.

解决的一个问题是服务编排问题。实施例支持确定第一计算服务的服务功能的部署位置,并选择计算平面来支持该计算服务。One problem solved is the service orchestration problem. Embodiments support determining a deployment location for a service function of a first computing service and selecting a computing plane to support the computing service.

解决的另一个问题是服务公开问题。实施例支持向设备和其它服务提供商提供第一计算服务的可用性信息。Another problem that is addressed is the service disclosure problem. Embodiments support providing availability information of a first computing service to devices and other service providers.

解决的另一个问题是服务访问问题,其中,方法允许设备访问第一计算服务。Another problem addressed is a service access problem, wherein a method allows a device to access a first computing service.

解决的另一个问题是上下文同步问题。这涉及将第一计算服务内的第一任务的执行同步到计算上下文。第一任务的执行可以与第一计算服务中的第二任务的执行共享计算上下文,以及与第一计算服务重用的第二计算服务共享计算上下文。因此,可以跨任务和跨服务执行上下文同步。Another problem that is solved is the context synchronization problem. This involves synchronizing the execution of a first task within a first computing service to a computing context. The execution of the first task can share a computing context with the execution of a second task in the first computing service, and with a second computing service that is reused by the first computing service. Thus, context synchronization can be performed across tasks and across services.

实施例的技术效果包括:利用服务功能之间的例程实现的第一计算服务能够重用第二计算服务的部分,所述第二计算服务也是在网络上利用服务功能之间的例程实现的,这两个计算服务位于网络上。Technical effects of the embodiment include: a first computing service implemented using routines between service functions can reuse parts of a second computing service, which is also implemented using routines between service functions on a network, and the two computing services are located on the network.

实施例包括一种实现计算服务的方法,所述方法包括:第一服务管理器从应用控制器接收对第一计算服务的服务注册请求;所述第一服务管理器向第二服务管理器请求对第二计算服务的授权;所述第一服务管理器使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务。技术优点的非限制性示例支持在服务注册期间进行特定的重用,并触发对重用的授权。An embodiment includes a method for implementing a computing service, the method comprising: a first service manager receiving a service registration request for a first computing service from an application controller; the first service manager requesting authorization for a second computing service from a second service manager; the first service manager creating a service profile for the first computing service using at least a portion of the second service to instantiate the first computing service. A non-limiting example of a technical advantage supports specific reuse during service registration and triggers authorization for reuse.

在实施例中,所述使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务包括:所述第一服务管理器从所述第二服务管理器接收重用所述第二计算服务的工作的授权。技术优点的非限制性示例支持第一服务管理器接收授权结果,以便其可以进行下一步。In an embodiment, the creating a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service includes: the first service manager receiving authorization from the second service manager to reuse the work of the second computing service. A non-limiting example of a technical advantage supports the first service manager to receive the authorization result so that it can proceed to the next step.

在实施例中,所述第二服务管理器的方法可以包括:授权所述第二计算服务的所述工作的重用;更新所述第二计算服务的服务简档;响应所述第一计算服务。技术优点的非限制性示例支持记录重用,然后在稍后识别和支持重用。In an embodiment, the method of the second service manager may include: authorizing reuse of the work of the second computing service; updating a service profile of the second computing service; responding to the first computing service.Non-limiting examples of technical advantages support recording reuse and then identifying and supporting reuse at a later time.

在实施例中,第一服务和第二服务可以是同一服务,服务注册请求可以基于所述服务中的现有工作向所述服务中添加新工作的服务注册请求。技术优点的非限制性示例支持基于计算服务中的现有工作向计算服务中动态地添加新工作。In an embodiment, the first service and the second service may be the same service, and the service registration request may be a service registration request to add a new job to the service based on existing jobs in the service. A non-limiting example of a technical advantage supports dynamically adding new jobs to a computing service based on existing jobs in the computing service.

在实施例中,方法还可以包括:第二服务管理器将标识被授权重用的所述第二计算服务的所述工作的信息映射到以下各项的组合:标识所述第一计算服务的信息,以及标识所述第二计算服务的所述工作的所述重用的信息。In an embodiment, the method may further include: the second service manager mapping information identifying the work of the second computing service that is authorized for reuse to a combination of: information identifying the first computing service, and information identifying the reuse of the work of the second computing service.

在实施例中,方法还可以包括:第二服务管理器将映射后的信息存储在服务数据存储库中的所述第二计算服务的服务简档中。In an embodiment, the method may further include: the second service manager storing the mapped information in a service profile of the second computing service in a service data repository.

在实施例中,所述第一服务管理器使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务可以包括:重用所述第二计算服务的所述工作。In an embodiment, the first service manager creating a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service may include: reusing the work of the second computing service.

在实施例中,请求可以是对新部署的请求,并且所述重用所述第二计算服务的所述工作可以包括:所述第二服务管理器授权所述工作的所述重用。In an embodiment, the request may be a request for a new deployment, and said reusing said work of said second computing service may include: said second service manager authorizing said reuse of said work.

在实施例中,请求可以是对远程连接的请求,并且所述重用所述第二计算服务的所述工作可以包括:第二服务管理器创建工作的副本以供第一服务使用。In an embodiment, the request may be a request for a remote connection, and said reusing said work of said second computing service may include: the second service manager creating a copy of the work for use by the first service.

在实施例中,方法可以包括:所述第一服务管理器将所述第二计算服务的所述工作的所述重用映射到所述第二计算服务的所述工作的所述副本的重用;所述第一服务管理器通过以下方式来更新所述第一计算服务的服务描述信息(service descriptioninformation,SDI):将标识所述第二计算服务的所述工作的信息替换为标识所述第二计算服务的所述工作的所述副本的信息。In an embodiment, the method may include: the first service manager maps the reuse of the work of the second computing service to the reuse of the copy of the work of the second computing service; the first service manager updates the service description information (SDI) of the first computing service by replacing the information identifying the work of the second computing service with the information identifying the copy of the work of the second computing service.

在实施例中,方法还可以包括:编排器针对第二计算服务进行一个或多个增量部署决策。In an embodiment, the method may further include: the orchestrator making one or more incremental deployment decisions for the second computing service.

在实施例中,方法还可以包括:编排器还针对第二计算服务的工作进行一个或多个动态部署决策。In an embodiment, the method may further include: the orchestrator further making one or more dynamic deployment decisions for the work of the second computing service.

在实施例中,一个或多个动态部署决策可以包括:第一动态部署决策,所述第一动态部署决策确定额外部署位置和工作Y的每个内部功能的对应的计算和网络资源要求;第二动态部署决策,所述第二动态部署决策确定功能间连接和基于所述额外部署位置的功能间连接。In an embodiment, one or more dynamic deployment decisions may include: a first dynamic deployment decision, which determines additional deployment locations and corresponding computing and network resource requirements for each internal function of work Y; a second dynamic deployment decision, which determines inter-function connections and inter-function connections based on the additional deployment locations.

实施例包括一种用于设备请求计算服务的方法,所述方法包括:网络实体从设备接收对计算服务的请求;向工作管理器发送使用所述设备的信息执行工作的通知;从所述工作管理器接收对设备的工作执行的确认;向所述设备发送响应。An embodiment includes a method for a device to request a computing service, the method comprising: a network entity receiving a request for a computing service from a device; sending a notification to a work manager to perform work using information of the device; receiving a confirmation of the execution of the work of the device from the work manager; and sending a response to the device.

在实施例中,方法还可以包括:所述工作管理器根据所述设备的所述信息执行所述工作,其中,所述执行所述工作包括:标识例程,所述例程与表示所述设备的服务功能相关联;为每个例程标识所述例程所属的所述工作的任务;其中,当触发所述任务管理器执行所述任务时,所述工作管理器向任务管理器发送任务请求,所述任务请求包括标识所述设备的信息。In an embodiment, the method may further include: the work manager executes the work according to the information of the device, wherein the execution of the work includes: identifying a routine, the routine being associated with a service function representing the device; identifying, for each routine, a task of the work to which the routine belongs; wherein, when the task manager is triggered to execute the task, the work manager sends a task request to the task manager, the task request including information identifying the device.

在实施例中,方法还可以包括:工作管理器根据标识所述设备的信息执行所述工作,其中,所述执行所述工作包括:标识例程,所述例程与表示所述设备的服务功能相关联;为每个例程标识所述例程所属的所述工作的任务;其中,在所述任务管理器正在执行所述任务时,所述工作管理器向所述任务管理器发送任务更新请求,所述任务更新请求包括标识所述设备的信息。In an embodiment, the method may further include: a work manager executes the work based on information identifying the device, wherein the execution of the work includes: identifying a routine, the routine being associated with a service function representing the device; identifying, for each routine, a task of the work to which the routine belongs; wherein, when the task manager is executing the task, the work manager sends a task update request to the task manager, the task update request including information identifying the device.

在实施例中,方法还可以包括:网络实体向应用控制器通知所述工作执行。In an embodiment, the method may further include: the network entity notifying the application controller of the work execution.

在实施例中,方法还可以包括网络实体作为服务管理器。In an embodiment, the method may further include the network entity acting as a service manager.

在实施例中,方法还可以包括:工作管理器从所述任务管理器接收在第一任务与第二任务之间执行上下文同步的请求,所述请求源自所述第一任务的例程管理器;标识需要上下文同步的第二任务;请求去激活第一任务执行;请求去激活第二任务执行;请求激活所述第一任务执行;请求激活所述第二任务执行;其中,所述执行上下文同步的请求包括标识所述例程执行的信息。In an embodiment, the method may also include: the work manager receives a request from the task manager to perform context synchronization between the first task and the second task, the request originating from the routine manager of the first task; identifying the second task that requires context synchronization; requesting to deactivate the execution of the first task; requesting to deactivate the execution of the second task; requesting to activate the execution of the first task; requesting to activate the execution of the second task; wherein the request to perform context synchronization includes information identifying the routine execution.

在实施例中,方法还可以包括:工作管理器生成标识上下文的信息,所述任务执行应该同步到所述上下文。In an embodiment, the method may further include: the work manager generating information identifying a context to which the task execution should be synchronized.

在实施例中,执行上下文同步的请求还可以包括标识上下文的信息,任务执行应该同步到所述上下文。In an embodiment, the request to perform context synchronization may also include information identifying the context to which the task execution should be synchronized.

在实施例中,所述去激活可以包括在所述任务管理器接收到关于例程去激活的响应之后,所述工作管理器:向所述任务管理器发送去激活任务的请求,所述任务管理器用于向所述例程管理器发送去激活本地例程执行,以及去激活外来例程执行的请求;从所述任务管理器接收关于任务去激活的响应。In an embodiment, the deactivation may include, after the task manager receives a response regarding routine deactivation, the work manager: sending a request to the task manager to deactivate the task, the task manager being used to send a request to the routine manager to deactivate local routine execution and to deactivate foreign routine execution; and receiving a response regarding task deactivation from the task manager.

在实施例中,对所述例程管理器的请求可以包括标识上下文的信息,所述任务执行同步到所述上下文。In an embodiment, the request to the routine manager may include information identifying a context to which the task execution is synchronized.

在实施例中,方法还可以包括:例程管理器通过向与所述例程管理器相关联的服务功能实例发送通信去激活请求,以暂停与所述本地例程执行相关联的数据通信,来去激活在对所述例程管理器的请求中标识的本地例程执行;其中,所述通信去激活请求通过与所述服务功能实例相关联的隐私路由器发送。In an embodiment, the method may also include: the routine manager deactivating the local routine execution identified in the request to the routine manager by sending a communication deactivation request to a service function instance associated with the routine manager to suspend data communication associated with the local routine execution; wherein the communication deactivation request is sent via a privacy router associated with the service function instance.

在实施例中,通信去激活请求还可以包括:标识所述本地例程执行的信息;标识所述本地例程的信息;标识所述计算服务的信息;标识上下文的信息,在所述上下文中同步所述本地例程执行。In an embodiment, the communication deactivation request may further include: information identifying the execution of the local routine; information identifying the local routine; information identifying the computing service; information identifying a context in which the execution of the local routine is synchronized.

在实施例中,所述激活可以包括在所述任务管理器接收到关于例程激活的响应之后,工作管理器:向所述任务管理器发送激活任务的请求,所述任务管理器用于向所述例程管理器发送激活本地例程,以及激活外来例程执行的请求;从所述任务管理器接收关于任务激活的响应。In an embodiment, the activation may include, after the task manager receives a response regarding the routine activation, the work manager: sending a request to activate the task to the task manager, the task manager being used to send a request to activate a local routine and to activate execution of an external routine to the routine manager; and receiving a response regarding the task activation from the task manager.

在实施例中,对所述例程管理器的请求可以包括标识上下文的信息,所述任务执行应该同步到所述上下文。In an embodiment, the request to the routine manager may include information identifying a context to which the task execution should be synchronized.

在实施例中,方法还可以包括:例程管理器通过向与所述例程管理器相关联的所述服务功能实例发送通信激活请求,以激活与所述本地例程执行相关联的数据通信,来激活在对所述例程管理器的所述请求中标识的本地例程执行;其中,所述通信激活请求通过与所述服务功能实例相关联的所述隐私路由器发送。In an embodiment, the method may further include: the routine manager activating the local routine execution identified in the request to the routine manager by sending a communication activation request to the service function instance associated with the routine manager to activate data communication associated with the local routine execution; wherein the communication activation request is sent through the privacy router associated with the service function instance.

在实施例中,通信激活请求还可以包括:标识所述本地例程执行的信息;标识所述本地例程的信息;标识所述计算服务的信息;标识上下文的信息,所述本地例程执行同步到所述上下文。In an embodiment, the communication activation request may further include: information identifying the execution of the local routine; information identifying the local routine; information identifying the computing service; information identifying a context to which the execution of the local routine is synchronized.

在实施例中,去激活外来功能可以包括:任务管理器标识与所述外来例程相关联的外来功能;向所述服务管理器发送去激活对应的外来工作的请求;发起工作去激活过程;其中,所述去激活的请求包括:标识所述外来工作所属的外来计算服务的信息,以及标识上下文的信息,所述外来工作同步到所述上下文。In an embodiment, deactivating an external function may include: a task manager identifying an external function associated with the external routine; sending a request to the service manager to deactivate the corresponding external work; initiating a work deactivation process; wherein the deactivation request includes: information identifying the external computing service to which the external work belongs, and information identifying the context, and the external work is synchronized to the context.

在实施例中,激活外来功能可以包括:任务管理器标识与所述外来例程相关联的外来功能;向所述服务管理器发送激活对应的外来工作的请求;发起工作激活过程;其中,所述激活的请求包括:标识所述外来工作所属的外来计算服务的信息,以及标识上下文的信息,所述外来工作应该同步到所述上下文。In an embodiment, activating an external function may include: a task manager identifying an external function associated with the external routine; sending a request to the service manager to activate the corresponding external work; initiating a work activation process; wherein the activation request includes: information identifying the external computing service to which the external work belongs, and information identifying the context to which the external work should be synchronized.

其它实施例提供了一种用于实现计算服务的装置,包括:处理器;至少一个非瞬时性机器可读介质,存储机器可读指令,所述机器可读指令当由所述处理器执行时,使所述装置用于以下操作:第一服务管理器从应用控制器接收对第一计算服务的服务注册请求;所述第一服务管理器向第二服务管理器请求对第二计算服务的授权;所述第一服务管理器使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务。Other embodiments provide a device for implementing a computing service, comprising: a processor; at least one non-transitory machine-readable medium storing machine-readable instructions, which, when executed by the processor, cause the device to perform the following operations: a first service manager receives a service registration request for a first computing service from an application controller; the first service manager requests authorization for a second computing service from a second service manager; the first service manager creates a service profile for the first computing service using at least a portion of the second service to instantiate the first computing service.

其它实施例提供了一种用于实现计算服务的装置,包括:处理器;至少一个非瞬时性机器可读介质,存储机器可读指令,所述机器可读指令当由所述处理器执行时,使所述装置执行本文描述和要求保护的方法。Other embodiments provide an apparatus for implementing a computing service, comprising: a processor; and at least one non-transitory machine-readable medium storing machine-readable instructions that, when executed by the processor, cause the apparatus to perform the methods described and claimed herein.

其它实施例提供了一种系统,包括相互通信的多个设备,所述系统用于执行本文描述和要求保护的方法。Other embodiments provide a system including a plurality of devices in communication with each other for performing the methods described and claimed herein.

通过以下结合附图的详细描述,本发明的上述和其它目的、特征、方面和优点将变得更加清楚,所述描述仅仅是示例性的。The above and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, which are merely exemplary.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1a示出了实施例提供的可以在第一计算服务内使用的工作。FIG. 1 a illustrates operations provided by an embodiment that may be used within a first computing service.

图1b示出了实施例提供的可以在第二计算服务内使用的第一计算服务的工作FIG. 1b shows the operation of a first computing service that can be used within a second computing service according to an embodiment.

图2示出了实施例提供的应用驱动的重用FIG. 2 shows an example of application-driven reuse provided by an embodiment.

图3示出了实施例提供的具有控制平面和计算平面的网络系统。FIG. 3 shows a network system with a control plane and a computing plane provided by an embodiment.

图4示出了实施例提供的由应用控制器(application controller,AC)发起的第一计算服务的服务注册过程。FIG. 4 shows a service registration process of a first computing service initiated by an application controller (AC) provided by an embodiment.

图5示出了实施例提供的服务实例化过程。FIG5 shows the service instantiation process provided by the embodiment.

图6是实施例提供的服务管理器的配置过程的调用流程图。FIG. 6 is a call flow chart of the configuration process of the service manager provided in the embodiment.

图7示出了实施例提供的用于配置例程管理器的过程。FIG. 7 shows a process for configuring a routine manager provided by an embodiment.

图8示出了实施例提供的根据服务功能实例为例程配置隐私路由器的过程。FIG. 8 shows a process of configuring a privacy router as a routine according to a service function instance provided by an embodiment.

图9示出了实施例提供的由应用控制器发起的计算服务(即第一计算服务)的服务注销过程。FIG. 9 shows a service deregistration process of a computing service (ie, a first computing service) initiated by an application controller according to an embodiment.

图10示出了实施例提供的服务公告过程。FIG. 10 shows a service advertisement process provided by an embodiment.

图11示出了实施例提供的服务发现过程。FIG. 11 shows a service discovery process provided by an embodiment.

图12示出了实施例提供的连接到平台的设备的注册过程或注册更新过程。FIG. 12 illustrates a registration process or a registration update process of a device connected to a platform provided by an embodiment.

图13示出了实施例提供的设备注销过程,其中,设备与平台断开连接。FIG. 13 illustrates a device deregistration process provided by an embodiment, wherein the device is disconnected from the platform.

图14示出了实施例提供的服务请求过程。FIG. 14 shows a service request process provided by an embodiment.

图15示出了实施例提供的例程管理器、任务管理器与工作管理器之间的上下文同步过程FIG. 15 shows a context synchronization process between a routine manager, a task manager and a work manager provided in an embodiment

图16示出了实施例提供的任务激活或去激活过程,其中,工作管理器请求激活或去激活任务执行FIG. 16 shows a task activation or deactivation process provided by an embodiment, wherein a work manager requests activation or deactivation of a task execution.

图17示出了实施例提供的工作激活或去激活过程。FIG. 17 illustrates a work activation or deactivation process provided by an embodiment.

图18是在计算和通信环境内示出的电子设备(electronic device,ED)的框图,所述ED可用于实现本文公开的设备和方法。18 is a block diagram of an electronic device (ED) shown within a computing and communication environment, which ED may be used to implement the devices and methods disclosed herein.

需要说明的是,在所有附图中,相同的特征由相同的附图标记标识。It should be noted that in all the drawings, the same features are identified by the same reference numerals.

具体实施方式Detailed ways

实施例包括用于部署例如可由一个或多个设备访问的互连计算服务的系统和方法。实施例还包括在第一互连计算服务内重用第二互连计算服务的系统和方法。重用可以在应用层确定。实施例解决的问题包括:Embodiments include systems and methods for deploying interconnected computing services, such as those accessible by one or more devices. Embodiments also include systems and methods for reusing a second interconnected computing service within a first interconnected computing service. Reuse may be determined at the application layer. Problems addressed by embodiments include:

-服务编排:确定第一计算服务的服务功能的部署位置,并选择计算平面来支持第一计算服务;-Service orchestration: determining the deployment location of the service function of the first computing service and selecting a computing plane to support the first computing service;

-服务公开:向设备和其它服务提供商提供关于第一计算服务的可用性的信息;- Service disclosure: providing information about the availability of the first computing service to devices and other service providers;

-服务访问:允许设备访问第一计算服务。-Service Access: Allows the device to access the first computing service.

-上下文同步:将第一计算服务内的第一任务的执行同步到计算上下文。第一任务的执行可以与第一计算服务中的第二任务的执行共享计算上下文,以及与第一计算服务重用的第二计算服务共享计算上下文。因此,可以跨任务和跨服务执行上下文同步。-Context synchronization: Synchronize the execution of the first task within the first computing service to the computing context. The execution of the first task can share the computing context with the execution of the second task in the first computing service, and with the second computing service reused by the first computing service. Therefore, context synchronization can be performed across tasks and across services.

实施例涉及可以分为以下两个类别的场景:应用驱动的重用和网络驱动的重用。The embodiments involve scenarios that can be divided into two categories: application-driven reuse and network-driven reuse.

应用驱动的重用是一种重用在应用层确定的重用场景。网络由应用层通知重用,并支持重用。一个示例是渐进学习,其中,第一AI服务中的AI模型经过扩展以解决第二AI服务的新问题。第二AI服务的提供商例如通过离线方式从第一AI服务的提供商获取关于AI模型的信息,并相应地开发第二AI服务。Application-driven reuse is a reuse scenario where reuse is determined at the application layer. The network is informed of the reuse by the application layer and supports the reuse. An example is progressive learning, where the AI model in the first AI service is extended to solve a new problem of the second AI service. The provider of the second AI service obtains information about the AI model from the provider of the first AI service, for example, offline, and develops the second AI service accordingly.

基于网络的计算服务是应用层服务,可以执行基于网络的计算。它可以包括一个或多个工作,这些工作可以被认为属于服务或与服务相关联。工作可以暴露给服务消费者(即消费或使用服务的实体),服务消费者可以选择参与(即加入或贡献)工作的执行。提供计算服务的实体可以称为服务提供商或情报提供商。A network-based computing service is an application layer service that can perform network-based computing. It can include one or more jobs, which can be considered to belong to or be associated with the service. The jobs can be exposed to service consumers (i.e., entities that consume or use the service), who can choose to participate (i.e., join or contribute) in the execution of the jobs. The entity that provides the computing service can be called a service provider or intelligence provider.

在服务中,服务的工作可以包括一个或多个任务。这些任务可以被认为属于服务或与服务相关联。一个或多个任务之间可以存在依赖关系。当第一任务依赖于第二任务时,例如因为第一任务需要第二任务的结果作为输入,所以第一任务必须在第二任务执行之后执行。这种依赖关系可以是间接的,因为第一任务依赖于第三任务的结果,而第三任务本身依赖于第二任务,所以第一任务可以依赖于第二任务。当第一任务不依赖于第二任务时,第一任务可以在第二任务之前执行,也可以与第二任务并行(在时间上)执行。任务之间的依赖关系可以称为任务间依赖关系或工作内依赖关系。In a service, the work of a service may include one or more tasks. These tasks may be considered to belong to or be associated with a service. Dependencies may exist between one or more tasks. When a first task depends on a second task, for example because the first task requires the result of the second task as input, the first task must be executed after the second task is executed. This dependency may be indirect, in that the first task may depend on the result of a third task, which itself depends on the second task. When a first task does not depend on a second task, the first task may be executed before the second task or in parallel (in time) with the second task. Dependencies between tasks may be referred to as inter-task dependencies or intra-job dependencies.

在服务中,服务的任务可以包括一个或多个例程,每个例程可以对应于任务的一个计算或组网步骤。例程可以被认为属于服务或与服务相关联。例程之间可以存在依赖关系。当第一例程依赖于第二例程时,因为例如第一例程需要第二例程的计算结果作为输入,所以第一例程应该在第二例程之后执行。这种依赖关系可以是间接的,因为第一例程可以通过依赖于第二例程的第三例程的结果依赖于第二例程。如果第一例程不依赖于第二例程,则第一例程可以在第二例程之前执行,也可以(在时间上)与第二例程并行执行。例程之间的依赖关系可以称为例程间依赖关系或任务内依赖关系。In a service, a task of the service may include one or more routines, each of which may correspond to a computational or networking step of the task. Routines may be considered to belong to or be associated with a service. Dependencies may exist between routines. When a first routine depends on a second routine, the first routine should be executed after the second routine because, for example, the first routine requires the computational result of the second routine as input. This dependency may be indirect, because the first routine may depend on the second routine through the result of a third routine that depends on the second routine. If the first routine does not depend on the second routine, the first routine may be executed before the second routine or in parallel (in time) with the second routine. Dependencies between routines may be referred to as inter-routine dependencies or intra-task dependencies.

在服务中,例程与第一服务功能和第二服务功能相关联。第一服务功能可以称为“例程服务器功能”,它不表示设备。第二服务功能可以称为“例程客户端功能”,它可以表示一个或多个设备,也可以不表示任何设备。这两个服务功能可以被认为属于服务或与服务相关联,每个服务功能可以具有一个或多个实例。例程服务器功能的实例称为例程服务器,例程客户端功能的实例称为例程客户端。表1总结了该命名法。In a service, a routine is associated with a first service function and a second service function. The first service function may be referred to as a "routine server function," which does not represent a device. The second service function may be referred to as a "routine client function," which may represent one or more devices or no device. The two service functions may be considered to belong to or be associated with a service, and each service function may have one or more instances. An instance of a routine server function is referred to as a routine server, and an instance of a routine client function is referred to as a routine client. Table 1 summarizes the nomenclature.

表1:例程的命名Table 1: Naming of routines

例程可以与以下信息相关联,所述信息指示与例程相关联的服务功能中的哪一个服务功能是例程服务器功能。例程还可以与以下信息相关联,所述信息指示与例程相关联的服务功能中的哪一个服务功能是例程客户端功能。The routine may be associated with information indicating which of the service functions associated with the routine is a routine server function. The routine may also be associated with information indicating which of the service functions associated with the routine is a routine client function.

在一些实施例中,例如,当例程具有多个例程客户端时,例程可以与同步要求相关联,所述同步要求指定每个例程客户端(即例程客户端功能的实例)是应该并行(即,在不同例程客户端与例程服务器通信时的同时),还是按顺序(即一个接一个,使得没有两个例程客户端同时与例程服务器通信)与例程服务器(即,例程服务器功能的实例)通信。换句话说,同步要求可以针对并行通信,也可以针对顺序通信。在例程的执行期间,例程服务器可以与一个或多个例程客户端相关联,所述一个或多个例程客户端可以根据与例程相关联的同步要求与例程服务器通信。In some embodiments, for example, when a routine has multiple routine clients, the routine can be associated with a synchronization requirement that specifies whether each routine client (i.e., an instance of a routine client function) should communicate with the routine server (i.e., an instance of a routine server function) in parallel (i.e., at the same time when different routine clients communicate with the routine server) or in sequence (i.e., one after another, so that no two routine clients communicate with the routine server at the same time). In other words, the synchronization requirement can be for parallel communication or for sequential communication. During execution of the routine, the routine server can be associated with one or more routine clients, and the one or more routine clients can communicate with the routine server according to the synchronization requirement associated with the routine.

在包括计算模块的服务中,服务功能可以实现计算模块。服务功能可以呈软件形式,可以称为虚拟功能。当服务功能是虚拟功能时,它可以被部署(即实例化)在一个或多个网络位置,称为部署位置,其中一些或全部位置可以在边缘云上。在服务功能部署在网络位置之后,在该网络位置存在服务功能的实例,其中,实例可以呈实现服务功能的软件副本的形式。服务功能可以表示一个或多个设备,表示计算模块正在被设备使用或在设备上运行。在这种情况下,设备可以被认为是服务功能的实例。In a service that includes a computing module, a service function may implement the computing module. The service function may be in software form, which may be referred to as a virtual function. When a service function is a virtual function, it may be deployed (i.e., instantiated) at one or more network locations, referred to as deployment locations, some or all of which may be on the edge cloud. After the service function is deployed at a network location, there is an instance of the service function at the network location, where the instance may be in the form of a software copy that implements the service function. The service function may represent one or more devices, indicating that the computing module is being used by the device or running on the device. In this case, the device may be considered to be an instance of the service function.

当需要时(例如,在请求时或在某些事件发生时),可以执行与计算服务相关联的工作。在工作执行期间,工作的任务可以根据与工作相关联的任务间依赖关系来执行。在任务执行期间,任务的例程可以根据与任务相关联的例程间依赖关系来执行。在例程的执行期间,根据与例程相关联的同步要求,在例程服务器和与例程服务器相关联的一个或多个例程客户端之间可以发生数据通信。When needed (e.g., upon request or upon the occurrence of certain events), work associated with a computing service may be executed. During execution of the work, tasks of the work may be executed in accordance with inter-task dependencies associated with the work. During execution of the task, routines of the task may be executed in accordance with inter-routine dependencies associated with the task. During execution of the routine, data communication may occur between a routine server and one or more routine clients associated with the routine server in accordance with synchronization requirements associated with the routine.

在服务中,工作可以被重用,例如通过新部署或远程连接重用。可重用工作通常与入口功能和出口功能相关联,其中,所述入口功能向工作提供输入,所述出口功能持有工作的输出。入口功能和出口功能是服务功能。因此,第二计算服务可以使用可重用工作,作为符号外来服务功能(或简称为外来功能)。这种第二计算服务可以包括与符号外来功能相关联的至少一个例程,以及本地服务功能,所述本地服务功能属于第二计算服务,并且可以作为可重用工作的入口功能和/或出口功能。In a service, work can be reused, for example, through a new deployment or a remote connection. Reusable work is typically associated with an entry function and an exit function, wherein the entry function provides input to the work and the exit function holds the output of the work. The entry function and the exit function are service functions. Therefore, a second computing service can use the reusable work as a symbolic foreign service function (or simply foreign function). Such a second computing service may include at least one routine associated with the symbolic foreign function, and a local service function, which belongs to the second computing service and can serve as an entry function and/or exit function of the reusable work.

图1a示出了实施例提供的可以在第一计算服务内使用的工作。工作105包括一个或多个内部功能110,以及至少一个入口功能115和至少一个出口功能120。一个或多个内部功能110是服务功能。Figure 1a shows a job that can be used within a first computing service provided by an embodiment. The job 105 includes one or more internal functions 110, as well as at least one ingress function 115 and at least one egress function 120. The one or more internal functions 110 are service functions.

在一个实施例中,第一计算服务的工作可以在第二计算服务的本地功能序列中,作为第二计算服务中的功能(即外来功能)(例如在两个本地功能之间)被重用。In one embodiment, the work of the first computing service can be reused in the local function sequence of the second computing service as a function (ie, a foreign function) in the second computing service (eg, between two local functions).

图1b示出了实施例提供的可以在第二计算服务内用作功能的第一计算服务的工作。第二计算服务包括多个本地功能,这些本地功能是属于第二计算服务的服务功能,包括本地功能1(125)、本地功能2(130)和本地功能3(135)。第一计算服务的工作105可以在第二计算服务中作为第二计算服务的两个本地功能之间的外来功能重用。两个功能之间的每个链路可以对应一个例程。两个本地功能之间的例程可以称为本地例程140,本地功能与外来功能之间的例程可以称为外来例程145。Figure 1b shows the work of a first computing service that can be used as a function within a second computing service provided by an embodiment. The second computing service includes multiple local functions, which are service functions belonging to the second computing service, including local function 1 (125), local function 2 (130) and local function 3 (135). The work 105 of the first computing service can be reused in the second computing service as an external function between two local functions of the second computing service. Each link between two functions can correspond to a routine. The routine between two local functions can be referred to as a local routine 140, and the routine between a local function and an external function can be referred to as an external routine 145.

AI应用是计算服务的一个示例,其中,例如,工作可以与训练AI模型相关,作为服务功能实现,并且工作可以包括以下任务:数据采集和准备任务、模型训练任务和模型验证任务,其中,模型验证任务依赖于模型训练任务,而模型训练任务又依赖于数据采集和准备任务。例如,AI应用的另一个工作可以是AI推理。An AI application is an example of a computing service, where, for example, the work may be related to training an AI model, implemented as a service function, and the work may include the following tasks: data collection and preparation tasks, model training tasks, and model validation tasks, where the model validation tasks depend on the model training tasks, which in turn depend on the data collection and preparation tasks. For example, another work of an AI application may be AI reasoning.

当第一计算服务运行时,第一计算服务的工作X(更具体地,工作X内的任务T)可以重用第二计算服务的工作Y。在这种情况下,工作X可以与表示第二计算服务的工作Y的外来功能相关联。在一些实施例中,第一计算服务和第二计算服务可以是同一计算服务。重用可以由第一计算服务的服务提供商指示,例如在服务描述信息(service descriptioninformation,SDI)内指示,如本发明的其它地方所述。因此,这种场景可以称为应用驱动的重用。When the first computing service is running, work X of the first computing service (more specifically, task T within work X) can reuse work Y of the second computing service. In this case, work X can be associated with an external function representing work Y of the second computing service. In some embodiments, the first computing service and the second computing service can be the same computing service. The reuse can be indicated by the service provider of the first computing service, for example, in service description information (SDI), as described elsewhere in the present invention. Therefore, this scenario can be referred to as application-driven reuse.

图2示出了实施例提供的应用驱动的重用。在第二计算服务中,工作Y 205可以与一个或多个核心功能(即内部功能)相关联,例如核心功能1(210)、核心功能2(215)等。一个或多个核心功能是服务功能。工作Y 205还可以与也是服务功能的入口功能220和出口功能225相关联。入口功能220可以与工作Y的例程A相关联,出口功能225可以与工作Y的例程B相关联。FIG2 illustrates application-driven reuse provided by an embodiment. In a second computing service, work Y 205 may be associated with one or more core functions (i.e., internal functions), such as core function 1 (210), core function 2 (215), etc. One or more core functions are service functions. Work Y 205 may also be associated with an entry function 220 and an exit function 225, which are also service functions. The entry function 220 may be associated with routine A of work Y, and the exit function 225 may be associated with routine B of work Y.

核心功能可以是本地的,属于第二计算服务。在一些实施例中,它不是符号功能,它将是表示设备或工作的服务功能。一个或多个核心功能可以与工作Y中的例程相关联,所述例程可以包括例程A、例程B或其它例程。在一些实施例中,入口功能220和出口功能225可以是同一服务功能。在一些实施例中,例程A和例程B可以是同一例程。The core function may be local and belong to the second computing service. In some embodiments, it is not a symbolic function, it will be a service function representing a device or job. One or more core functions may be associated with a routine in job Y, which may include routine A, routine B, or other routines. In some embodiments, entry function 220 and exit function 225 may be the same service function. In some embodiments, routine A and routine B may be the same routine.

在由图2表示的实施例中,表示工作Y的外来功能可以是符号功能。工作X 230可以与例程C和例程D相关联,其中,例程C与服务功能1(235)和外来功能240相关联,例程D与服务功能2(245)和同一外来功能240相关联。服务功能1和2是第二计算服务的本地功能(即属于第二计算服务)。例程C对应于例程A,例程D对应于例程B。这表示例程C重用工作Y 205,并且服务功能1作为入口功能参与工作Y 205的例程A。它还表示例程D重用工作Y,并且服务功能2作为出口功能参与工作Y的例程B。在一些实施例中,服务功能1和服务功能2是同一服务功能。在一些实施例中,例程C和例程D是同一例程。例程C和例程D可以统称为任务T 250,它是包括这两个例程的任务。In the embodiment represented by FIG. 2 , the foreign function representing work Y may be a symbolic function. Work X 230 may be associated with routine C and routine D, wherein routine C is associated with service function 1 (235) and foreign function 240, and routine D is associated with service function 2 (245) and the same foreign function 240. Service functions 1 and 2 are local functions of the second computing service (i.e., belong to the second computing service). Routine C corresponds to routine A, and routine D corresponds to routine B. This indicates that routine C reuses work Y 205, and service function 1 participates in routine A of work Y 205 as an entry function. It also indicates that routine D reuses work Y, and service function 2 participates in routine B of work Y as an exit function. In some embodiments, service function 1 and service function 2 are the same service function. In some embodiments, routine C and routine D are the same routine. Routine C and routine D may be collectively referred to as task T 250, which is a task that includes these two routines.

在实施例中,基于网络的计算可以由网络系统(即平台)支持,该网络系统是根据本文所述的服务、工作、任务和例程的概念设计。平台可以由第三方运营,相对于服务消费者和服务提供商,第三方可以称为平台运营商。In an embodiment, network-based computing can be supported by a network system (i.e., a platform) that is designed based on the concepts of services, jobs, tasks, and routines described herein. The platform can be operated by a third party, who can be referred to as a platform operator relative to service consumers and service providers.

图3示出了实施例提供的具有控制平面和计算平面的网络系统。控制平面可以包括控制平面实体,例如访问管理器305、服务管理器310、工作管理器315、任务管理器320、编排器325、资源管理器330和服务数据存储库335。计算平面可以包括计算平面实体,例如一个或多个例程管理器340和一个或多个隐私路由器345。这些控制平面和计算平面实体是网络实体。在一些实施例中,资源管理器330是外部实体,因为它不一定是网络系统的一部分。在一些实施例中,例程管理器340被认为是控制平面实体并且属于控制平面。3 shows a network system with a control plane and a computing plane provided by an embodiment. The control plane may include control plane entities, such as an access manager 305, a service manager 310, a work manager 315, a task manager 320, an orchestrator 325, a resource manager 330, and a service data repository 335. The computing plane may include computing plane entities, such as one or more routine managers 340 and one or more privacy routers 345. These control planes and computing plane entities are network entities. In some embodiments, the resource manager 330 is an external entity because it is not necessarily part of the network system. In some embodiments, the routine manager 340 is considered to be a control plane entity and belongs to the control plane.

在实施例中,一些平台实体可以连接到其它平台实体,并且从一个实体到另一个实体的连接和信息可以用字母数字字符T1、T2、T3、T4、T5a、T5b、T5c、T6a、T6b、T7a、T7b、T7c、T7d、T7e、T8、T9a和T9b标识。实体之间的链路指示用于相互交互或通信的接口或连接。这些链路可以根据它们的角色进行标记,包括:In an embodiment, some platform entities may be connected to other platform entities, and connections and information from one entity to another may be identified with alphanumeric characters T1, T2, T3, T4, T5a, T5b, T5c, T6a, T6b, T7a, T7b, T7c, T7d, T7e, T8, T9a, and T9b. Links between entities indicate interfaces or connections for mutual interaction or communication. These links may be labeled according to their roles, including:

-访问管理器305与设备350之间的链路T1 307;- Link T1 307 between access manager 305 and device 350;

-隐私路由器345与设备350之间的链路T2 352;- Link T2 352 between the privacy router 345 and the device 350;

-服务管理器310与应用控制器365之间的链路T3 317;- Link T3 317 between the service manager 310 and the application controller 365;

-隐私路由器345与边缘云360中的应用服务器355之间的链路T4 347;- Link T4 347 between the privacy router 345 and the application server 355 in the edge cloud 360;

-访问管理器305与例程管理器340之间的链路T5a 342;- Link T5a 342 between the access manager 305 and the routine manager 340;

-任务管理器320与例程管理器340之间的链路T5b 312;- Link T5b 312 between the task manager 320 and the routine manager 340;

-服务管理器310与例程管理器340之间的链路T5c 322;- Link T5c 322 between the service manager 310 and the routine manager 340;

-资源管理器330与编排器325之间的链路T6a 332;- Link T6a 332 between resource manager 330 and orchestrator 325;

-工作管理器315与资源管理器330之间的链路T6b 333;- Link T6b 333 between the work manager 315 and the resource manager 330;

-资源管理器330与任务管理器320之间的链路T6c 334;- Link T6c 334 between resource manager 330 and task manager 320;

-编排器325与服务管理器310之间的链路T7a 327;- Link T7a 327 between orchestrator 325 and service manager 310;

-访问管理器305与服务管理器310之间的链路T7b 328;- Link T7b 328 between the access manager 305 and the service manager 310;

-服务管理器310与任务管理器320之间的链路T7c 313;- Link T7c 313 between the service manager 310 and the task manager 320;

-工作管理器315与任务管理器320之间的链路T7d 318;- Link T7d 318 between the work manager 315 and the task manager 320;

-服务管理器310与工作管理器315之间的链路T7e 314;- Link T7e 314 between the service manager 310 and the work manager 315;

-隐私路由器345与另一隐私路由器345之间的链路T8 348;- Link T8 348 between a privacy router 345 and another privacy router 345;

-隐私路由器345与服务管理器310之间的链路T9a 344;- Link T9a 344 between the privacy router 345 and the service manager 310;

-隐私路由器345与例程管理器340之间的链路T9b 349。- Link T9b 349 between the privacy router 345 and the routine manager 340.

在根据实施例的网络系统中,网络实体可以是逻辑实体,并且网络实体中的任何一个网络实体可以组合到同一实体中。在一些实施例中,控制平面实体集成到同一网络实体中或由同一网络实体实现,例如平台控制器或系统控制器。平台控制器可以实现或提供控制平面的功能。在一些实施例中,控制平面实体中的一些实体可以集成到同一网络实体中,或由同一网络实体实现。例如,编排器可以合并到服务管理器中,或者服务管理器和工作管理器可以组合以形成服务-工作管理器,或者工作管理器和任务管理器可以组合成工作-任务管理器等。在一些实施例中,计算平面实体,即例程管理器和隐私路由器,可以组合成协调器。在一些实施例中,当例程管理器是控制平面实体时,工作管理器和任务管理器以及例程管理器可以组合成工作-任务-例程管理器,或者,任务管理器和例程管理器可以组合成任务-例程管理器。当两个实体A和B(如上述任何控制或计算平面实体)组合成单个实体C时,两个实体A和B之间的接口成为单个实体C的内部或整体。In a network system according to an embodiment, a network entity may be a logical entity, and any one of the network entities may be combined into the same entity. In some embodiments, a control plane entity is integrated into or implemented by the same network entity, such as a platform controller or a system controller. The platform controller may implement or provide the functions of a control plane. In some embodiments, some of the control plane entities may be integrated into the same network entity or implemented by the same network entity. For example, an orchestrator may be incorporated into a service manager, or a service manager and a work manager may be combined to form a service-work manager, or a work manager and a task manager may be combined into a work-task manager, etc. In some embodiments, a computing plane entity, i.e., a routine manager and a privacy router, may be combined into a coordinator. In some embodiments, when a routine manager is a control plane entity, a work manager and a task manager and a routine manager may be combined into a work-task-routine manager, or a task manager and a routine manager may be combined into a task-routine manager. When two entities A and B (such as any of the control or computing plane entities described above) are combined into a single entity C, the interface between the two entities A and B becomes the interior or entirety of a single entity C.

图3中的实体的功能可以如下所示。The functions of the entities in Figure 3 can be as follows.

在实施例中,编排器325可以确定应用(或计算服务)的服务功能的部署位置,并且它可以为应用选择计算平面,包括计算平面的逻辑拓扑。编排器还可以确定在部署位置处和逻辑拓扑中的通信链路上所需的资源;并且它可以与资源管理器(该资源管理器可以位于基础设施网络中)进行交互,以相应地提供计算和组网资源(即无线资源、传输资源等)。In an embodiment, the orchestrator 325 can determine the deployment location of the service function of the application (or computing service), and it can select a computing plane for the application, including the logical topology of the computing plane. The orchestrator can also determine the resources required at the deployment location and on the communication links in the logical topology; and it can interact with the resource manager (which can be located in the infrastructure network) to provide computing and networking resources (i.e., wireless resources, transmission resources, etc.) accordingly.

在实施例中,访问管理器305可以充当与设备的控制平面接口;并且执行设备的移动性管理。访问管理器还可以认证和/或授权设备连接到平台(例如图3所示的平台或网络系统)。In an embodiment, the access manager 305 may act as a control plane interface with the device; and perform mobility management of the device. The access manager may also authenticate and/or authorize the device to connect to a platform (eg, the platform or network system shown in FIG. 3 ).

在实施例中,服务管理器310可以对应用(或计算服务)执行注册、注册更新和注销。服务管理器还可以认证和授权设备使用应用(或计算服务)。服务管理器还可以充当与外部实体(例如应用控制器)的控制平面接口。服务管理器还可以选择工作管理器来处理工作单。In an embodiment, the service manager 310 can perform registration, registration updates, and deregistration for applications (or computing services). The service manager can also authenticate and authorize devices to use applications (or computing services). The service manager can also act as a control plane interface with external entities (such as application controllers). The service manager can also select a work manager to process a work order.

在实施例中,工作管理器315可以执行工作或工作单。这可以包括从服务管理器接收工作单,并根据任务间依赖关系协调工作的任务的执行。工作管理器还可以派发任务单,这可以包括选择任务管理器并将任务单发送给选择的任务管理器。任务单可以从服务管理器接收,或者与工作执行相关联。In an embodiment, the work manager 315 can execute work or work orders. This can include receiving work orders from the service manager and coordinating the execution of tasks of the work based on dependencies between tasks. The work manager can also dispatch task orders, which can include selecting a task manager and sending the task order to the selected task manager. The task order can be received from the service manager or associated with the work execution.

在实施例中,任务管理器320可以执行任务或处理任务单。这可以包括从工作管理器接收任务单,并根据例程间依赖关系协调任务执行的例程的执行。任务管理器还可以触发例程执行。这可以包括为例程执行分配标识(identification,ID),标识与例程相关联的一个或多个例程管理器,以及通知例程管理器执行例程。这还可以包括为例程执行分配区分器。In an embodiment, the task manager 320 can execute tasks or process task orders. This can include receiving a task order from a work manager and coordinating the execution of a routine for task execution based on inter-routine dependencies. The task manager can also trigger routine execution. This can include assigning an identification (ID) to the routine execution, identifying one or more routine managers associated with the routine, and notifying the routine manager to execute the routine. This can also include assigning a distinguisher to the routine execution.

在实施例中,服务数据存储库335可以存储用户订阅数据,以及每个注册的计算服务的服务简档。In an embodiment, the service data repository 335 may store user subscription data, as well as a service profile for each registered computing service.

在实施例中,例程管理器340可以执行例程同步。这可以包括根据与例程相关联的同步要求,在例程客户端与例程服务器之间触发数据通信。例程管理器还可以提供k匿名,包括当例程涉及设备时,确保至少有最小数量k的设备参与例程执行,其中,在一些实施例中,最小数量k可以是系统参数。In an embodiment, the routine manager 340 can perform routine synchronization. This can include triggering data communication between the routine client and the routine server according to the synchronization requirements associated with the routine. The routine manager can also provide k-anonymity, including ensuring that at least a minimum number k of devices participate in the routine execution when the routine involves devices, where in some embodiments, the minimum number k can be a system parameter.

在实施例中,隐私路由器345可以提供信号和数据路由。这可以包括在例程的执行期间转发计算平面控制信号和数据流量。隐私路由器还可以在转发之前对传出数据流量执行代理重加密,以允许同时保护用户和设备隐私和数据机密性。In an embodiment, the privacy router 345 may provide signal and data routing. This may include forwarding compute plane control signals and data traffic during execution of a routine. The privacy router may also perform proxy re-encryption on outgoing data traffic prior to forwarding to allow for simultaneous protection of user and device privacy and data confidentiality.

在实施例中,资源管理器330可以根据从编排器接收的资源要求,通过接口T6a332来管理和提供计算和网络资源。资源管理器还可以例如根据通过接口T6b 333从任务管理器接收的信息,以执行粒度的每任务粒度使资源提供适应网络动态,以满足端到端服务质量(quality-of-service,QoS)要求。In an embodiment, the resource manager 330 may manage and provide computing and network resources based on resource requirements received from the orchestrator through interface T6a 332. The resource manager may also adapt resource provisioning to network dynamics at a per-task granularity of execution granularity, for example, based on information received from the task manager through interface T6b 333, to meet end-to-end quality-of-service (QoS) requirements.

在一个实施例中,应用控制器(application controller,AC)365可以属于服务提供商,或由服务提供商控制,并且它可以表示服务提供商。AC可以通过接口或连接T3 317连接到服务管理器,以便管理计算服务,例如注册或注销服务,更新服务的注册,或者触发服务的工作的执行。AC可以与应用服务器(application server,AS)集成在一起,也可以是独立于AS的实体。In one embodiment, an application controller (AC) 365 may belong to or be controlled by a service provider, and it may represent a service provider. The AC may be connected to the service manager via an interface or connection T3 317 to manage computing services, such as registering or unregistering a service, updating a registration of a service, or triggering the execution of a job of a service. The AC may be integrated with an application server (AS) or may be an entity independent of the AS.

在一个实施例中,AS 355可以位于由数据网络访问标识符(data network accessidentifier,DNAI)等ID或由IP地址等网络地址标识的网络位置。当在这种网络位置处部署或实例化服务功能时,服务功能的实例(即软件实现的副本)可以托管(即运行)在网络位置处的AS上。In one embodiment, AS 355 may be located at a network location identified by an ID such as a data network access identifier (DNAI) or by a network address such as an IP address. When a service function is deployed or instantiated at such a network location, an instance of the service function (i.e., a copy of the software implementation) may be hosted (i.e., run) on the AS at the network location.

计算服务在平台注册时或注册之后,可以将服务的服务功能部署在选择的网络位置处,并且所述服务功能可以连接到为计算服务选择的计算平面。每个网络位置可以通过ID(例如DNAI或IP地址)来标识。计算平面可以包括一个或多个隐私路由器345和例程管理器340。隐私路由器可以通过接口或连接T8 348互连。服务功能实例或托管这些服务功能实例的AS可以分别通过接口或连接T4 347连接到计算平面中的隐私路由器。在例程的执行期间,与例程相关联的两个服务功能实例(即例程客户端和例程服务器)可以通过它们相关联的、连接的隐私路由器进行通信。When or after the computing service is registered on the platform, the service function of the service can be deployed at the selected network location, and the service function can be connected to the computing plane selected for the computing service. Each network location can be identified by an ID (such as a DNAI or an IP address). The computing plane may include one or more privacy routers 345 and a routine manager 340. The privacy routers may be interconnected via an interface or connection T8 348. The service function instances or the ASs hosting these service function instances may be connected to the privacy routers in the computing plane via an interface or connection T4 347, respectively. During the execution of the routine, the two service function instances associated with the routine (i.e., the routine client and the routine server) may communicate via their associated, connected privacy routers.

AC 365可以向平台发送工作单,所述平台可以根据工作内的任务间依赖关系和任务内依赖关系,通过以信号发送适当的服务功能实例并在服务功能实例之间转发后续数据流量,从而相应地触发在工作单中标识的工作的执行。服务功能实例在执行期间产生的数据可以呈密文形式,由平台转发,无需解密。在数据转发之前,平台可以对数据进行重加密,以便预期的接收器(即不同的服务功能实例)可以使用接收器的私钥从重加密的数据中恢复原始数据(明文)。AC 365 may send a work order to the platform, which may trigger execution of the work identified in the work order accordingly by signaling the appropriate service function instances and forwarding subsequent data traffic between the service function instances based on inter-task dependencies and intra-task dependencies within the work. Data generated by the service function instances during execution may be in ciphertext form and forwarded by the platform without decryption. Prior to forwarding the data, the platform may re-encrypt the data so that the intended receiver (i.e., a different service function instance) can recover the original data (plaintext) from the re-encrypted data using the receiver's private key.

在实施例中,如图3所示的平台可以支持和管理部署在网络中的计算服务。In an embodiment, the platform shown in FIG. 3 may support and manage computing services deployed in a network.

当路由信息与接口或连接相关时,为了简单起见,路由信息以接口或连接的名称为前缀。例如,与接口或连接T2 352相关的路由信息可以写为T2路由信息。When routing information is associated with an interface or connection, for simplicity, the routing information is prefixed with the name of the interface or connection. For example, routing information associated with interface or connection T2 352 can be written as T2 routing information.

当加前缀的路由信息(例如,T2路由信息)与如隐私路由器、AC或服务功能实例(即,托管服务功能实例的AS)等网络实体相关时,路由信息描述或指定如何通过对应的接口或连接(例如,T2接口或连接)到达网络实体,并且路由信息可以包括与网络实体相关的以下信息中的任何一个信息:网络地址、端口号、协议类型、隧道端点ID、隧道ID等。When the prefixed routing information (e.g., T2 routing information) is related to a network entity such as a privacy router, an AC, or a service function instance (i.e., an AS hosting a service function instance), the routing information describes or specifies how to reach the network entity through a corresponding interface or connection (e.g., a T2 interface or connection), and the routing information may include any one of the following information related to the network entity: network address, port number, protocol type, tunnel endpoint ID, tunnel ID, etc.

上述可以应用于但不限于根据实施例的T2路由信息、T4路由信息、T8路由信息和T9b路由信息中的任何一种。必要时,上述还可以扩展到任何未命名或未提及的连接或接口。The above can be applied to but not limited to any one of the T2 routing information, T4 routing information, T8 routing information and T9b routing information according to the embodiment. If necessary, the above can also be extended to any unnamed or unmentioned connection or interface.

如果服务数据存储库335存储计算服务的服务简档,则可以认为计算服务已注册。计算服务的服务简档可以包括服务描述信息(service description information,SDI),所述SDI包括描述计算服务的信息。在与图4相关联的实施例中,SDI可以由AC 365例如通过服务注册请求405提供,并且SDI还可以包括标识计算服务的信息、服务元信息、服务可重用性信息以及服务可用性信息。A computing service may be considered registered if the service data repository 335 stores a service profile for the computing service. The service profile for the computing service may include service description information (SDI), which includes information describing the computing service. In an embodiment associated with FIG. 4 , the SDI may be provided by the AC 365, for example, via a service registration request 405, and the SDI may also include information identifying the computing service, service meta information, service reusability information, and service availability information.

标识计算服务的信息可以包括服务ID和/或服务名称。The information identifying the computing service may include a service ID and/or a service name.

服务的元信息可以指示哪个实体提供计算服务以及谁是服务提供商。所述元信息还可以描述或指示与计算服务相关联的一个或多个工作,以及每个工作的功能和/或目的。The meta information of the service may indicate which entity provides the computing service and who is the service provider. The meta information may also describe or indicate one or more jobs associated with the computing service, and the function and/or purpose of each job.

服务的可用性信息可以指示计算服务可用的时间和/或位置,即时间和时间间隔(呈时间日、周或月的形式)和/或位置(呈区域ID的形式)。The availability information of the service may indicate the time and/or location at which the computing service is available, ie, the time and time interval (in the form of a day, week or month) and/or the location (in the form of an area ID).

SDI还可以包括描述以下内容的数据或信息:一个或多个服务功能、一个或多个工作、一个或多个任务、一个或多个例程、部署(即服务功能实例或服务功能的实例),以及与计算服务相关联的计算平面。这些数据或信息可以分别称为服务功能数据(或信息)、工作数据(或信息)、任务数据(或信息)、例程数据(或信息)和计算平面数据(或信息)。The SDI may also include data or information describing one or more service functions, one or more jobs, one or more tasks, one or more routines, deployments (i.e., service function instances or instances of service functions), and computing planes associated with computing services. These data or information may be referred to as service function data (or information), job data (or information), task data (or information), routine data (or information), and computing plane data (or information), respectively.

在实施例中,服务功能数据是每服务功能的,并且它可以包括与计算服务相关联(或属于计算服务)的每个服务功能的信息,例如下文。In an embodiment, the service function data is per service function, and it may include information for each service function associated with (or belonging to) a computing service, such as below.

服务功能数据可以包括标识服务功能的信息,例如功能ID。The service function data may include information identifying the service function, such as a function ID.

服务功能可以表示设备。在一些实施例中,如果此信息具有特定/保留的格式或值,则服务功能标识为表示/指示设备(例如UE)。The service function may represent a device. In some embodiments, if this information has a specific/reserved format or value, the service function is identified as representing/indicating a device (eg, UE).

服务功能可以表示第二计算服务的工作。当服务功能表示第二计算服务的工作时,此信息可以包括标识工作的信息(例如,工作ID)和标识第二计算服务的信息(例如,服务ID)。第二计算服务可以称为外来服务,工作可以称为外来工作,服务功能可以称为外来功能。当第二计算服务(即外来服务)是当前计算服务(即服务简档所对应的服务)时,标识第二计算服务的信息是可选的。当第二计算服务是当前计算服务时,服务功能(即外来功能)不应该被工作(即外来工作)的任何例程使用,以防止重用循环。The service function may represent the work of the second computing service. When the service function represents the work of the second computing service, this information may include information identifying the work (e.g., work ID) and information identifying the second computing service (e.g., service ID). The second computing service may be referred to as an external service, the work may be referred to as an external work, and the service function may be referred to as an external function. When the second computing service (i.e., the external service) is the current computing service (i.e., the service corresponding to the service profile), the information identifying the second computing service is optional. When the second computing service is the current computing service, the service function (i.e., the external function) should not be used by any routine of the work (i.e., the external work) to prevent reuse cycles.

当服务功能表示设备或工作时,它是符号服务功能。但是,当服务功能不表示设备或工作时,服务功能不是符号服务功能(在这种情况下,它可以被认为是具体的服务功能),服务功能数据(与服务功能相关联的)还可以包括以下内容。When a service function represents a device or a job, it is a symbolic service function. However, when a service function does not represent a device or a job, the service function is not a symbolic service function (in this case, it can be considered a concrete service function), and the service function data (associated with the service function) may also include the following.

服务功能数据可以包括服务功能的软件(可执行文件或代码或图像)实现。或者,它可以包括对服务功能的软件实现的引用(例如URL),或者对服务功能的软件实现的位置(例如存储位置)的引用点,并且它可以用于获取服务功能的软件实现。The service function data may include a software (executable file or code or image) implementation of the service function. Alternatively, it may include a reference to the software implementation of the service function (e.g., a URL), or a reference point to the location (e.g., a storage location) of the software implementation of the service function, and it may be used to obtain the software implementation of the service function.

服务功能数据可以包括资源要求信息,例如指示服务功能所需的计算资源(例如CPU周期、内存、存储、I/O访问)量的信息。The service function data may include resource requirement information, such as information indicating the amount of computing resources (eg, CPU cycles, memory, storage, I/O access) required by the service function.

服务功能数据可以包括传出流量速率,例如指示在一定时间量内由服务功能生成或发送的传出流量的量的信息。或者,此信息可以指示传出流量的量与传入流量(即,由服务功能接收的流量)的量之间的关系。例如,该关系可以是,传出流量的量和传入流量的量相等,或者传出流量的量等于传入流量的量乘以值大于或等于零(0)的比率,并且加上或减去一个常量值。The service function data may include an outgoing traffic rate, such as information indicating the amount of outgoing traffic generated or sent by the service function over a certain amount of time. Alternatively, this information may indicate a relationship between the amount of outgoing traffic and the amount of incoming traffic (i.e., traffic received by the service function). For example, the relationship may be that the amount of outgoing traffic is equal to the amount of incoming traffic, or that the amount of outgoing traffic is equal to the amount of incoming traffic multiplied by a ratio having a value greater than or equal to zero (0), plus or minus a constant value.

服务功能数据可以包括实例化要求信息,所述实例化要求信息可以包括实例化限制和/或功能内连接性(连接)约束。The service function data may include instantiation requirement information, which may include instantiation restrictions and/or intra-function connectivity (connection) constraints.

在服务功能数据中,实例化限制可以是指示服务功能可以具有的最大实例数量和/或最小实例数量的信息。缺少最大数量可能意味着要应用默认的最大数量,或者没有限制(即最大数量趋向于无穷大)。缺少最小数量可能意味着要应用默认的最小数量,或者没有限制(即最小数量趋向于无穷小)。In the service function data, the instantiation limit may be information indicating the maximum number of instances and/or the minimum number of instances that the service function can have. The absence of a maximum number may mean that a default maximum number is to be applied, or there is no limit (i.e., the maximum number tends to infinity). The absence of a minimum number may mean that a default minimum number is to be applied, or there is no limit (i.e., the minimum number tends to infinitesimal).

在服务功能数据中,功能内连接性(或连接)约束可以是指示以下的信息:服务功能的实例是否应该互连和/或实例应该如何互连,例如,是否经由树形拓扑、环形拓扑、网状拓扑等。缺乏这种约束可能意味着服务功能的实例不应该连接,或不需要连接。In the service function data, an intra-function connectivity (or connection) constraint may be information indicating whether instances of the service function should be interconnected and/or how the instances should be interconnected, for example, whether via a tree topology, a ring topology, a mesh topology, etc. The absence of such a constraint may mean that instances of the service function should not be connected, or do not need to be connected.

在一个实施例中,工作数据是每工作的,对于与计算服务相关联且属于计算服务的每个工作,工作数据可以包括以下信息。In one embodiment, the job data is per-job, and for each job associated with and belonging to the computing service, the job data may include the following information.

工作数据可以包括标识工作的信息,例如工作ID。The job data may include information identifying the job, such as a job ID.

工作数据可以包括关于工作的元信息。此元信息可以包括描述工作的目的或功能的信息、描述工作的输入和输出的信息,例如关于输入和输出的输入格式和结构的信息,以及关于如何提供输入接收输出的信息。The work data may include meta-information about the work. This meta-information may include information describing the purpose or function of the work, information describing the input and output of the work, such as information about the input format and structure of the input and output, and information about how to provide input and receive output.

工作数据可以包括标识工作中包括的任务的信息,例如任务ID的列表。The job data may include information identifying tasks included in the job, such as a list of task IDs.

工作数据可以包括关于工作中包括的任务之间的任务间依赖关系的信息。The job data may include information about inter-task dependencies between tasks included in the job.

工作数据可以包括工作中包括的任务之间的跨任务同步的信息。此信息可以包括关于同步例程的信息和关于上下文同步的信息。The work data may include information about cross-task synchronization between tasks included in the work. This information may include information about synchronization routines and information about context synchronization.

对于关于同步例程的信息,在一些实施例中,服务功能可以与例程组(即多个例程或一组例程)相关联。例程组中的例程可以属于不同的任务,当例程被执行时,服务功能可以为例程提供或发送同一数据流量,并且例程可以同时执行。这种例程可以称为同步例程,服务功能可以称为联合服务功能。在一些实施例中,可以存在多个这种例程组,这些例程组可以称为同步例程组,并且可以通过例程组ID标识。对于每个同步例程组,关于同步例程的信息可以包括标识例程(即,属于同步例程组的例程)的信息(例如,例程ID)及标识其对应的任务的信息(例如,任务ID),以及标识联合服务功能的信息(例如,功能ID)。关于同步例程的信息还可以指示:同步例程组中的例程应该同时执行,并且在例程执行期间,联合服务功能可以为这些例程提供或发送同一数据流量。For information about synchronization routines, in some embodiments, a service function may be associated with a routine group (i.e., multiple routines or a group of routines). Routines in a routine group may belong to different tasks, and when the routine is executed, the service function may provide or send the same data traffic for the routine, and the routine may be executed simultaneously. Such routines may be referred to as synchronization routines, and the service function may be referred to as a joint service function. In some embodiments, there may be multiple such routine groups, which may be referred to as synchronization routine groups and may be identified by routine group IDs. For each synchronization routine group, information about synchronization routines may include information (e.g., routine ID) identifying the routine (i.e., the routine belonging to the synchronization routine group) and information (e.g., task ID) identifying the corresponding task, as well as information (e.g., function ID) identifying the joint service function. Information about synchronization routines may also indicate that routines in a synchronization routine group should be executed simultaneously, and during the execution of the routine, the joint service function may provide or send the same data traffic for these routines.

在一些实施例中,可以为同步例程组中的许多例程选择同一例程管理器,并且在其它实施例中,可以为同步组中的所有例程选择同一例程管理器。In some embodiments, the same routine manager may be selected for many routines in a synchronized routine group, and in other embodiments, the same routine manager may be selected for all routines in a synchronized group.

在一些实施例中,符号功能(例如表示外来工作的服务功能)不是联合服务功能。In some embodiments, a symbolic function (eg, a service function representing foreign work) is not a federated service function.

对于关于上下文同步的信息,在一些实施例中,任务组(即,一个或多个任务的组)可能需要上下文同步,这意味着当任务组中的一个或多个任务正在被执行时,与一个或多个任务执行相关联的数据流量应该被同步或关联到同一计算上下文。在一些实施例中,可能存在多个这种任务组,并且每个任务组可以通过任务组ID标识。对于每个任务组,关于上下文同步的信息可以包括标识属于任务组的一个或多个任务的信息,并且该信息可以指示一个或多个任务需要上下文同步。For information about context synchronization, in some embodiments, a task group (i.e., a group of one or more tasks) may require context synchronization, which means that when one or more tasks in the task group are being executed, the data traffic associated with the execution of one or more tasks should be synchronized or associated to the same computing context. In some embodiments, there may be multiple such task groups, and each task group can be identified by a task group ID. For each task group, information about context synchronization may include information identifying one or more tasks belonging to the task group, and the information may indicate that one or more tasks require context synchronization.

关于跨任务同步的信息可以包括关于工作的可重用性信息,所述可重用性信息指示工作是否可重用,以用于开发新计算服务,换句话说,它是否可以重用,用于这种开发。如果工作可重用,则此信息可以包括:The information about cross-task synchronization may include reusability information about the work, indicating whether the work is reusable for developing new computing services, in other words, whether it can be reused for such development. If the work is reusable, this information may include:

-标识一个或多个入口例程和一个或多个相应入口功能的信息;- information identifying one or more entry routines and one or more corresponding entry functions;

-标识一个或多个出口例程和一个或多个相应出口功能的信息;- information identifying one or more exit routines and one or more corresponding exit functions;

-描述工作可以如何被重用的信息;- Information describing how the work can be reused;

-标识能够或被允许重用工作的实体(例如服务提供商)的信息。- Information identifying entities (e.g., service providers) that can or are allowed to reuse the work.

标识入口例程和相应入口功能的信息(例如例程ID和功能ID)可以与属于工作的任务的入口例程相关。入口例程可以与入口功能和内部服务功能(即核心服务功能)相关联,如图2所示。入口功能是为工作提供输入数据的服务功能。输入数据可以提供给内部服务功能(或核心服务功能)。内部服务功能(或核心服务功能)是可以区别于入口功能和出口功能的服务功能。Information identifying an entry routine and a corresponding entry function (e.g., a routine ID and a function ID) may be associated with an entry routine of a task belonging to a job. An entry routine may be associated with an entry function and an internal service function (i.e., a core service function), as shown in FIG2 . An entry function is a service function that provides input data for a job. The input data may be provided to an internal service function (or a core service function). An internal service function (or a core service function) is a service function that may be distinguished from an entry function and an exit function.

标识出口例程和相应出口功能的信息(例如例程ID和功能ID)可以与属于工作的任务的出口例程相关。出口例程可以与出口功能和内部服务功能(或核心服务功能)相关联,如图2所示。出口功能是接收工作的输出数据的服务功能。输出数据可以从内部服务功能(或核心服务功能)接收。内部服务功能(或核心服务功能)是可以区别于出口功能和入口功能的服务功能。Information identifying an exit routine and a corresponding exit function (e.g., a routine ID and a function ID) may be associated with an exit routine of a task belonging to a job. An exit routine may be associated with an exit function and an internal service function (or core service function), as shown in FIG2 . An exit function is a service function that receives output data of a job. The output data may be received from an internal service function (or core service function). An internal service function (or core service function) is a service function that may be distinguished from an exit function and an entry function.

关于跨任务同步的信息可以包括描述工作可以如何被重用的信息,例如通过新部署或通过远程连接被重用,如本发明的其它地方详述的。Information about cross-task synchronization may include information describing how the work may be reused, such as through a new deployment or through a remote connection, as detailed elsewhere in this disclosure.

关于跨任务同步的信息可以包括标识可以或被允许重用工作的实体(例如服务提供商)的信息。在实施例中,这种信息可以是可选的。当这种信息是可选的时,在某些实施例中,它可能意味着工作可以被任何人重用。Information about cross-task synchronization may include information identifying entities (e.g., service providers) that can or are allowed to reuse the work. In embodiments, such information may be optional. When such information is optional, in some embodiments, it may mean that the work can be reused by anyone.

实施例可以包括任务数据,所述任务数据可以是每任务的,并且包括与(属于)计算服务相关联的每个任务的以下信息:Embodiments may include task data, which may be per-task and include the following information for each task associated with (belonging to) a computing service:

-标识任务的信息,例如任务ID;-Information identifying the task, such as the task ID;

-标识任务中包括的一个或多个例程的信息,例如一个或多个例程ID的列表;- information identifying one or more routines included in the task, such as a list of one or more routine IDs;

-关于任务中包括的例程之间的例程间依赖关系的信息,例如一个或多个例程ID的列表的排序信息。例程间依赖关系也可以称为任务内依赖关系。- Information about inter-routine dependencies between routines included in a task, such as ordering information of a list of one or more routine IDs. Inter-routine dependencies may also be referred to as intra-task dependencies.

实施例可以包括例程数据,所述例程数据可以是每例程的,并且包括与(属于)计算服务相关联的每个例程的以下信息:Embodiments may include routine data, which may be per-routine and include the following information for each routine associated with (belonging to) a computing service:

-标识例程的信息,例如例程ID;- Information identifying the routine, such as a routine ID;

-标识与例程相关联的服务功能的信息,例如功能ID;- information identifying the service function associated with the routine, such as a function ID;

-设备信息;-Device Information;

-同步要求。-Synchronization requirements.

对于标识与例程相关联的服务功能的信息,例程可以与两个服务功能相关联,其中一个服务功能可以表示或指示设备。这两个服务功能可以是在服务功能数据中标识的。此信息还可以指示哪一个服务功能是例程服务器功能,和/或哪一个服务功能是例程客户端功能。路由客户端功能可以表示或指示设备。For information identifying a service function associated with a routine, a routine may be associated with two service functions, one of which may represent or indicate a device. The two service functions may be identified in the service function data. This information may also indicate which service function is a routine server function, and/or which service function is a routine client function. A routing client function may represent or indicate a device.

当上述两个服务功能中的一个是表示外来工作(即第二计算服务(称为外来服务)中的工作)的符号功能时,例程对应于外来工作的入口例程和/或出口例程(在外来服务的服务简档中定义或指定),并且该例程可以称为外来例程。标识与例程相关联的服务功能的信息可以进一步指示例程是否对应于外来工作的入口例程和/或出口例程,例如通过包括标识外来工作的入口例程和/或出口例程的信息。在一个实施例中,如果两个服务功能都不表示外来工作,则例程可以称为本地例程,即工作或服务的本地例程。When one of the two service functions described above is a symbolic function representing foreign work (i.e., work in a second computing service (referred to as the foreign service)), the routine corresponds to an entry routine and/or an exit routine of the foreign work (defined or specified in a service profile of the foreign service), and the routine may be referred to as a foreign routine. Information identifying the service function associated with the routine may further indicate whether the routine corresponds to an entry routine and/or an exit routine of the foreign work, for example by including information identifying the entry routine and/or the exit routine of the foreign work. In one embodiment, if neither of the two service functions represents foreign work, the routine may be referred to as a local routine, i.e., a local routine of the work or service.

如果两个服务功能中的一个服务功能是例程所属的工作的入口功能(如与该工作相关联的工作数据中所标识),则该例程是该工作的入口例程。如果两个服务功能中的一个服务功能是例程所属的工作的出口功能(如工作数据中所标识),则该例程是工作的出口例程。例程可以同时是入口例程和出口例程,例如,对于例程所属的工作,两个服务功能中的一个服务功能既是入口功能又是出口功能。如果例程属于任务,而该任务属于工作,换句话说,如果工作包括任务,而该任务包括例程,则该例程属于该工作。If one of the two service functions is an entry function of the work to which the routine belongs (as identified in the work data associated with the work), then the routine is an entry routine for the work. If one of the two service functions is an exit function of the work to which the routine belongs (as identified in the work data), then the routine is an exit routine for the work. A routine can be both an entry routine and an exit routine, for example, one of the two service functions is both an entry function and an exit function for the work to which the routine belongs. If a routine belongs to a task and the task belongs to a work, in other words, if a work includes a task and the task includes a routine, then the routine belongs to the work.

例程数据可以包括设备信息,所述设备信息可以是关于由例程的服务功能(例程客户端功能)表示的设备(例如UE)的信息。在这种信息中标识的设备可以(被允许)参与(加入)例程的执行。这些设备可以被视为服务功能(例程客户端功能)的实例,并称为例程客户端。这种信息也可以被认为与例程的服务功能(例程客户端功能)相关联。如果例程的例程客户端功能不表示设备,则它可以是可选的。这种信息可以包括:Routine data may include device information, which may be information about a device (e.g., UE) represented by a service function (routine client function) of a routine. Devices identified in such information may (are allowed to) participate in (join) the execution of the routine. These devices may be considered instances of the service function (routine client function) and referred to as routine clients. Such information may also be considered to be associated with the service function (routine client function) of the routine. If the routine client function of the routine does not represent a device, it may be optional. Such information may include:

-标识设备的信息;-Information identifying the device;

-关于设备的潜在/可能位置(或位置区域)的信息。- Information about the potential/likely location (or location area) of the device.

标识设备的信息可以包括设备ID或网络地址的列表,或设备组ID,和/或它可以指示任何设备都可以与例程相关联。缺少这种信息可能意味着任何设备或默认设备组(即默认设备组中的设备)都可以与例程相关联。The information identifying the device may include a list of device IDs or network addresses, or a device group ID, and/or it may indicate that any device may be associated with the routine. The absence of such information may mean that any device or a default device group (i.e., devices in the default device group) may be associated with the routine.

关于设备的潜在或可能位置(或位置区域)的信息可以包括区域ID的列表。每个区域可以标识一个地理区域,其形式可以是小区ID或无线接入网(radio access network,RAN)节点ID。The information about potential or possible locations (or location areas) of the device may include a list of area IDs. Each area may identify a geographical area and may be in the form of a cell ID or a radio access network (RAN) node ID.

例程数据可以包括同步要求,所述同步要求是指关于与例程相关联的一个或多个同步要求的信息。此信息在本发明的其它地方进行了描述。此信息在例程数据中是可选的。Routine data may include synchronization requirements, which refers to information about one or more synchronization requirements associated with a routine. This information is described elsewhere in the present invention. This information is optional in routine data.

在一个实施例中,如果计算服务的服务简档包括部署数据和进一步描述的计算平面数据,则可以认为计算服务已部署。否则,可以认为计算服务未部署。如果计算服务已部署,则计算服务必须已注册。计算服务的部署可以包括计算服务的服务功能实例,以及服务功能实例之间的互连。In one embodiment, if the service profile of the computing service includes deployment data and further described computing plane data, the computing service can be considered deployed. Otherwise, the computing service can be considered undeployed. If the computing service is deployed, the computing service must be registered. The deployment of the computing service can include service function instances of the computing service, and the interconnections between the service function instances.

在一个实施例中,部署数据描述计算服务的部署,计算平面数据描述与计算服务相关联的计算平面。部署数据和计算平面数据可以由平台生成,例如在计算服务的实例化期间生成。In one embodiment, the deployment data describes the deployment of the computing service, and the computing plane data describes the computing plane associated with the computing service. The deployment data and the computing plane data may be generated by the platform, for example, during instantiation of the computing service.

在一个实施例中,部署数据是在部署计算服务之后出现的。部署数据信息可以包括:In one embodiment, the deployment data appears after the computing service is deployed. The deployment data information may include:

-服务功能实例信息;-Service function instance information;

-功能间连接性(连接)信息;-Inter-functional connectivity (connection) information;

-功能内连接性(连接)信息。- Intra-functional connectivity (connectivity) information.

部署数据信息可以包括服务功能实例信息,所述服务功能实例信息是标识服务功能实例的信息(例如,实例ID的列表),所述服务功能实例即服务功能的实例,如服务功能数据中所指示,这些服务功能是具体功能(即,不是抽象功能)。一个服务功能的实例对应于服务功能的部署位置。服务功能实例的实例ID可以包括或对应于标识服务功能的信息(例如,功能ID)和标识部署位置的信息(例如,位置ID、网络地址或名称)。在一些实施例中,这种信息还可以包括每个服务功能实例的T4路由信息。T4路由信息可以用于通过接口T4到达对应的服务功能实例。The deployment data information may include service function instance information, which is information identifying service function instances (e.g., a list of instance IDs), i.e., instances of service functions, which are concrete functions (i.e., not abstract functions) as indicated in the service function data. An instance of a service function corresponds to the deployment location of the service function. The instance ID of a service function instance may include or correspond to information identifying the service function (e.g., function ID) and information identifying the deployment location (e.g., location ID, network address, or name). In some embodiments, such information may also include T4 routing information for each service function instance. T4 routing information may be used to reach the corresponding service function instance via interface T4.

服务功能实例信息还可以包括功能间连接性(连接)信息和功能内连接性(连接)信息。The service function instance information may also include inter-function connectivity (connection) information and intra-function connectivity (connection) information.

功能间连接性(连接)信息(即服务功能实例关联信息)可以是每例程的。例程与例程客户端功能和例程服务器功能相关联。功能间连接可以指例程客户端(即例程客户端功能的实例)与例程服务器(即例程服务器功能的实例)之间的关联,并意味着例程客户端和例程服务器可以在例程的执行期间相互通信或交互。功能间连接性(连接)信息可以指示功能间连接性,即例程服务器功能的哪个实例(例如通过实例ID标识)与例程客户端功能的哪个实例(例如通过实例ID标识)相关联/连接。例程服务器以及如果例程客户端不是设备,则例程客户端是在服务功能实例信息中标识的。Inter-function connectivity (connection) information (i.e., service function instance association information) may be per-routine. A routine is associated with a routine client function and a routine server function. Inter-function connectivity may refer to an association between a routine client (i.e., an instance of a routine client function) and a routine server (i.e., an instance of a routine server function), and means that the routine client and the routine server may communicate or interact with each other during execution of the routine. Inter-function connectivity (connection) information may indicate inter-function connectivity, i.e., which instance of a routine server function (e.g., identified by an instance ID) is associated/connected to which instance of a routine client function (e.g., identified by an instance ID). The routine server and, if the routine client is not a device, the routine client are identified in the service function instance information.

功能内连接性信息(又称服务功能实例连接性信息)是每例程的,与服务功能相关,所述服务功能与例程相关联并且不表示设备。服务功能可以是例程的例程客户端功能,或例程的例程服务器功能。功能内连接性是指服务功能的第一实例与服务功能的第二实例之间的连接性,并意味着这两个实例可以在例程的执行期间相互通信。当服务功能具有多个实例时,功能内连接性信息指示服务功能的多个实例之间的功能内连接性,即多个实例中的任何实例两个之间是否存在连接性。在一个实施例中,这种信息可以是可选的。Intra-function connectivity information (also known as service function instance connectivity information) is per-routine and is related to a service function that is associated with the routine and does not represent a device. A service function may be a routine client function of a routine, or a routine server function of a routine. Intra-function connectivity refers to the connectivity between a first instance of a service function and a second instance of the service function, and means that the two instances can communicate with each other during the execution of the routine. When a service function has multiple instances, the intra-function connectivity information indicates the intra-function connectivity between the multiple instances of the service function, i.e., whether there is connectivity between any two of the multiple instances. In one embodiment, such information may be optional.

计算平面数据在部署计算服务之后存在。此信息包括:Compute plane data exists after the compute service is deployed. This information includes:

-隐私路由器信息;-Privacy router information;

-隐私路由器互连信息;-Privacy router interconnection information;

-例程管理器信息。- Routine Manager information.

隐私路由器信息是标识计算平面中的一个或多个隐私路由器345的信息,以及对于每个标识的隐私路由器,标识其一个或多个相关联的服务功能实例的信息。一个或多个服务功能实例是通过服务功能实例信息在部署数据中标识的。The privacy router information is information identifying one or more privacy routers 345 in the computing plane, and for each identified privacy router, information identifying one or more associated service function instances thereof. The one or more service function instances are identified in the deployment data by the service function instance information.

对于第一隐私路由器和第二隐私路由器的任何一对,隐私路由器互连信息可以指示在第一隐私路由器与第二隐私路由器之间是否存在连接或连接性T8 348(即,这些隐私路由器是否连接)。第一隐私路由器和第二隐私路由器是在隐私路由器信息中标识的。For any pair of a first privacy router and a second privacy router, the privacy router interconnection information may indicate whether there is a connection or connectivity T8 348 between the first privacy router and the second privacy router (i.e., whether the privacy routers are connected). The first privacy router and the second privacy router are identified in the privacy router information.

例程管理器信息(例如,ID或网络地址)可以标识计算平面中的例程管理器,以及对于每个标识的例程管理器,标识相关联的一个或多个例程的信息(例如,例程ID)和标识与一个或多个例程中的每个例程相关联的一个或多个服务功能实例的信息(例如,一个或多个实例ID)。一个或多个服务功能实例是(通过服务功能实例信息)在部署数据中标识的。The routine manager information (e.g., an ID or a network address) may identify a routine manager in the computing plane, and for each identified routine manager, information identifying the associated one or more routines (e.g., a routine ID) and information identifying one or more service function instances associated with each of the one or more routines (e.g., one or more instance IDs). The one or more service function instances are identified (via the service function instance information) in the deployment data.

服务简档中的信息可以由AC 365提供,也可以由平台生成。在下文中,针对图3所示的系统架构描述平台的管理和操作过程。The information in the service profile may be provided by AC 365 or generated by the platform. In the following, the management and operation process of the platform is described with respect to the system architecture shown in FIG3 .

图4示出了实施例提供的由应用控制器(application controller,AC)发起的第一计算服务的服务注册过程。这种过程可以用于更新可以重用第二计算服务的第一计算服务的现有注册。更具体地,第一计算服务的工作X可以重用第二计算服务的工作Y。在该过程中,对重用进行授权,并在服务数据存储库335中创建或更新第一计算服务的服务简档。FIG4 illustrates a service registration process of a first computing service initiated by an application controller (AC) provided in an embodiment. Such a process can be used to update an existing registration of a first computing service that can reuse a second computing service. More specifically, work X of the first computing service can reuse work Y of the second computing service. In the process, the reuse is authorized and a service profile of the first computing service is created or updated in the service data repository 335.

如果AC没有指示延迟部署,则在服务注册期间在网络中部署或实例化第一计算服务(即第一计算服务的服务功能)。第一计算服务的部署包括第一计算服务的服务功能实例,以及服务功能实例的功能内和功能间连接。此外,为第一计算服务选择与第一计算服务的部署相关联的计算平面。计算平面可以包括与服务功能实例耦合(或关联)的隐私路由器。计算平面还包括对应于第一计算服务的例程的例程管理器。If the AC does not indicate delayed deployment, a first computing service (i.e., a service function of the first computing service) is deployed or instantiated in the network during service registration. The deployment of the first computing service includes a service function instance of the first computing service, and intra-function and inter-function connections of the service function instance. In addition, a computing plane associated with the deployment of the first computing service is selected for the first computing service. The computing plane may include a privacy router coupled (or associated) with the service function instance. The computing plane also includes a routine manager corresponding to a routine of the first computing service.

在初始步骤中,AC 365通过向服务管理器1 310发送服务注册请求405来请求注册第一计算服务。服务注册请求包括标识第一计算服务的信息(例如,服务ID或名称)和第一计算服务的服务描述信息(service description information,SDI)。In an initial step, AC 365 requests registration of a first computing service by sending a service registration request 405 to service manager 1 310. The service registration request includes information identifying the first computing service (eg, service ID or name) and service description information (SDI) of the first computing service.

然后,服务管理器1可以根据注册请求(例如,注册请求中的SDI)标识重用,即第一计算服务的工作X重用第二计算服务的工作Y。通过请求重用工作Y的授权410,服务管理器1可以与服务管理器2412交互,服务管理器2可以是服务于第二计算服务的服务管理器。如果SDI不指示重用,则此步骤是可选的。Then, service manager 1 may identify reuse based on the registration request (e.g., SDI in the registration request), i.e., work X of the first computing service reuses work Y of the second computing service. Service manager 1 may interact with service manager 2 412 by requesting authorization 410 to reuse work Y, which may be a service manager serving the second computing service. If the SDI does not indicate reuse, this step is optional.

服务注册请求中的SDI可以指示重用,并且包括标识第二计算服务的信息和标识工作Y的信息。SDI还可以包括标识提供第一计算服务的服务提供商的信息。The SDI in the service registration request may indicate reuse and include information identifying the second computing service and information identifying job Y. The SDI may also include information identifying a service provider providing the first computing service.

请求重用工作Y的授权410可以包括子步骤。这些子步骤可以包括服务管理器1310通过向服务管理器2发送授权请求来向服务管理器2 412请求授权410以授权重用。服务管理器1可以使用标识第二计算服务的信息来发现或选择服务管理器2。向服务管理器2发送的授权请求可以包括标识第一计算服务的信息、标识第二计算服务的信息、标识工作Y的信息,以及标识重用的信息。标识重用的信息可以包括标识第一计算服务的服务功能的信息,所述服务功能表示工作Y并且与工作X相关联。标识重用的信息还可以包括标识工作X的信息。标识重用的信息可以用于当第一计算服务对工作Y进行多次不同的重用时标识重用。授权请求还可以包括标识提供第一计算服务的服务提供商的信息。Requesting authorization 410 to reuse work Y may include sub-steps. The sub-steps may include service manager 1310 requesting authorization 410 from service manager 2 412 to authorize reuse by sending an authorization request to service manager 2. Service manager 1 may use information identifying the second computing service to discover or select service manager 2. The authorization request sent to service manager 2 may include information identifying the first computing service, information identifying the second computing service, information identifying work Y, and information identifying reuse. The information identifying reuse may include information identifying a service function of the first computing service, the service function representing work Y and associated with work X. The information identifying reuse may also include information identifying work X. The information identifying reuse may be used to identify reuse when the first computing service reuses work Y multiple different times. The authorization request may also include information identifying a service provider that provides the first computing service.

请求授权410的另一个子步骤可以是服务管理器2根据授权请求中的信息授权415重用。在一些实施例中,服务管理器2使用标识第二计算服务的信息来标识(例如在本地存储中)或获取(例如从服务数据存储库)第二计算服务的服务简档,并且服务管理器2使用第二计算服务的服务简档中的信息(例如,关于与工作Y相关的工作数据中的跨任务同步的信息,如上所述)来授权重用。Another sub-step of requesting authorization 410 can be that service manager 2 authorizes 415 the reuse based on the information in the authorization request. In some embodiments, service manager 2 uses the information identifying the second computing service to identify (e.g., in local storage) or obtain (e.g., from a service data repository) a service profile for the second computing service, and service manager 2 uses information in the service profile of the second computing service (e.g., information about cross-task synchronization in work data related to work Y, as described above) to authorize the reuse.

在一些实施例中,服务管理器2使用网络实体(例如,已注册第二计算服务的AC,或认证、授权和计费(authentication,authorization and accounting server,AAA)服务器)来授权重用。第二计算服务的服务简档可以指示网络实体将用于授权重用,并且包括标识网络实体的信息(例如,域名、IP地址)。服务管理器2相应地执行(415)授权。也就是说,服务管理器2将标识提供第一计算服务的服务提供商的信息、标识第二计算服务的信息和标识工作Y的信息发送给网络实体,网络实体将授权结果(即授权/允许重用)发送给服务管理器2。In some embodiments, service manager 2 uses a network entity (e.g., an AC that has registered the second computing service, or an authentication, authorization and accounting server (AAA) server) to authorize reuse. The service profile of the second computing service may indicate that the network entity will be used to authorize reuse and include information identifying the network entity (e.g., domain name, IP address). Service manager 2 performs (415) authorization accordingly. That is, service manager 2 sends information identifying the service provider providing the first computing service, information identifying the second computing service, and information identifying work Y to the network entity, and the network entity sends the authorization result (i.e., authorization/permission for reuse) to service manager 2.

请求授权410的另一个子步骤可以是服务管理器2更新(420)第二计算服务的服务简档以记录重用。服务管理器2可以使第二计算服务的工作Z与重用对应。因此,在一些实施例中,服务管理器2可以将标识工作Z的信息映射到标识第一计算服务的信息和标识重用的信息的组合。服务管理器2通过向服务数据存储库335发送标识第一计算服务的信息和标识重用的信息并且向其指示映射,来将映射存储在第二计算服务的服务简档中。Another sub-step of requesting authorization 410 may be that service manager 2 updates (420) the service profile of the second computing service to record the reuse. Service manager 2 may correspond work Z of the second computing service to the reuse. Thus, in some embodiments, service manager 2 may map information identifying work Z to a combination of information identifying the first computing service and information identifying the reuse. Service manager 2 stores the mapping in the service profile of the second computing service by sending the information identifying the first computing service and the information identifying the reuse to service data repository 335 and indicating the mapping thereto.

如果第二计算服务的服务简档指示工作Y将通过远程连接被重用,则重用可以直接由工作Y支持(而不是由工作Y的复制工作支持)。在这种情况下,工作Z是工作Y,标识工作Z的信息可以包括标识工作Y的信息。标识工作Y的信息可以是工作Y的ID或工作Y的别名或假名,例如呈工作ID的形式。If the service profile of the second computing service indicates that work Y is to be reused through a remote connection, then the reuse may be supported directly by work Y (rather than by a copy of work Y). In this case, work Z is work Y, and the information identifying work Z may include information identifying work Y. The information identifying work Y may be an ID of work Y or an alias or pseudonym of work Y, for example in the form of a work ID.

服务管理器2可以生成标识工作Z的信息,所述信息可以包括工作Y的别名或假名,例如呈工作ID的形式。The service manager 2 may generate information identifying job Z, which may include an alias or pseudonym for job Y, for example in the form of a job ID.

服务管理器2可以将标识工作Z的信息映射到标识工作Y的信息。服务管理器2可以通过向服务数据存储库发送或指示映射来将该映射存储在第二计算服务的服务简档中。Service manager 2 may map information identifying work Z to information identifying work Y. Service manager 2 may store the mapping in a service profile for the second computing service by sending or indicating the mapping to a service data repository.

如果第二计算服务的服务简档指示工作Y将通过新部署进行重用,则该重用可以由工作Y的副本工作来支持。在这种情况下,工作Z是工作Y的副本,可以由服务管理器2在本步骤中根据重用生成,如下所示。If the service profile of the second computing service indicates that work Y will be reused through a new deployment, the reuse can be supported by a copy of work Y. In this case, work Z is a copy of work Y and can be generated by the service manager 2 according to the reuse in this step, as shown below.

服务管理器2将工作Y(包括复合任务和例程)复制到副本工作中。服务管理器2可以分配或生成标识副本的信息,包括标识副本工作Z的工作ID、标识副本任务的任务ID和标识副本例程的例程ID。服务管理器2可以通过向服务数据存储库335发送信息来将该信息存储在第二计算服务的服务简档中。Service Manager 2 copies work Y (including composite tasks and routines) to a replica work. Service Manager 2 may allocate or generate information identifying the replica, including a work ID identifying the replica work Z, a task ID identifying the replica task, and a routine ID identifying the replica routine. Service Manager 2 may store the information in a service profile of the second computing service by sending the information to the service data repository 335.

服务管理器2将标识副本(例如,副本工作)的信息映射到标识对应的原件(例如,工作Y)的信息,使得副本与其原件相关联。服务管理器2通过向服务数据存储库335发送或指示映射来将该映射存储在第二计算服务的服务简档中。Service manager 2 maps the information identifying the replica (e.g., replica work) to the information identifying the corresponding original (e.g., work Y), so that the replica is associated with its original. Service manager 2 stores the mapping in the service profile of the second computing service by sending or indicating the mapping to service data repository 335.

在上述任一情况下,服务数据存储库可以将从服务管理器2接收的信息作为第二计算服务的服务简档的一部分进行存储。服务数据存储库335可以对服务管理器2作出响应,确认信息被成功地存储。In either case, the service data store may store the information received from the service manager 2 as part of the service profile of the second computing service. The service data store 335 may respond to the service manager 2 confirming that the information was successfully stored.

请求授权410的另一个子步骤可以是服务管理器2 412响应(425)服务管理器1310的授权请求。授权响应包括授权结果。授权结果指示第一计算服务被授权重用第二计算服务的工作Z。如前所述,当重用是通过远程连接时,工作Z为工作Y;当重用是通过新部署时,工作Z为工作Y的副本。Another sub-step of requesting authorization 410 may be that service manager 2 412 responds (425) to the authorization request of service manager 1310. The authorization response includes an authorization result. The authorization result indicates that the first computing service is authorized to reuse work Z of the second computing service. As described above, when the reuse is through a remote connection, work Z is work Y; when the reuse is through a new deployment, work Z is a copy of work Y.

在工作Z是工作Y的副本的情况下,以及在工作Z是工作Y的一些实施例中,服务管理器1 310可以根据授权结果处理第一计算服务的服务描述信息(service descriptioninformation,SDI)。例如,通过用标识工作Z的信息替换标识工作Y的信息,服务管理器可以将工作Y的重用转换或映射到工作Z的重用,并相应地更新SDI。In the case where work Z is a copy of work Y, and in some embodiments where work Z is work Y, the service manager 1310 may process service description information (SDI) of the first computing service according to the authorization result. For example, by replacing information identifying work Y with information identifying work Z, the service manager may convert or map the reuse of work Y to the reuse of work Z, and update the SDI accordingly.

服务管理器1 310可以通过向服务数据存储库发送请求来为服务数据存储库中的第一计算服务创建(430)服务简档。请求包括标识第一计算服务的信息。如果在服务管理器2更新(420)第二计算服务的服务简档以记录重用时处理了第一计算服务的SDI,则请求可以包括处理后的SDI;否则,请求可以包括在步骤1中从AC接收的SDI。Service manager 1 310 may create (430) a service profile for a first computing service in a service data repository by sending a request to the service data repository. The request includes information identifying the first computing service. If the SDI of the first computing service was processed when service manager 2 updated (420) the service profile of the second computing service to record reuse, the request may include the processed SDI; otherwise, the request may include the SDI received from the AC in step 1.

服务数据存储库可以存储第一计算服务的服务简档。这包括将信息作为服务简档的一部分进行存储,其内容如上所述。服务数据存储库可以响应服务管理器2,指示服务简档创建成功。The service data repository may store the service profile of the first computing service. This includes storing information as part of the service profile, the contents of which are as described above. The service data repository may respond to the service manager 2, indicating that the service profile was successfully created.

服务管理器1 310可以根据第一计算服务的SDI实例化第一计算服务。The service manager 1 310 may instantiate the first computing service according to the SDI of the first computing service.

初始服务注册请求405可以通过包括延迟的实例化的指示来指示第一计算服务的实例化435应该被延迟。如果服务注册请求指示延迟的实例化,则此步骤为可选步骤。The initial service registration request 405 may indicate that instantiation 435 of the first computing service should be delayed by including an indication of delayed instantiation. If the service registration request indicates delayed instantiation, this step is optional.

在实例化服务435之后,服务管理器1可以通过向应用控制器365指示请求的服务注册已经完成或被接受来响应(440)服务注册请求。After instantiating the service 435, the service manager 1 may respond (440) to the service registration request by indicating to the application controller 365 that the requested service registration has been completed or accepted.

在注册第一计算服务期间,服务管理器1 310可以请求编排器325实例化第一计算服务,或者在注册第一计算服务之后并且在接收到AC 365的用于第一计算服务的服务实例化的请求时,请求编排器325实例化第一计算服务。编排器325可以相应地对第一计算服务进行服务编排。这可以包括基于第一计算服务的服务简档为第一计算服务进行服务部署决策和计算平面选择决策。编排器可以联合进行服务部署决策和计算平面选择决策。During the registration of the first computing service, the service manager 1 310 may request the orchestrator 325 to instantiate the first computing service, or after registering the first computing service and upon receiving a request for service instantiation of the first computing service from the AC 365, request the orchestrator 325 to instantiate the first computing service. The orchestrator 325 may perform service orchestration on the first computing service accordingly. This may include making a service deployment decision and a computing plane selection decision for the first computing service based on the service profile of the first computing service. The orchestrator may jointly make the service deployment decision and the computing plane selection decision.

当进行服务部署决策时,编排器325确定部署位置,即,将部署第一计算服务的服务功能(仅那些不是抽象功能的服务功能)的网络位置。可以确定服务功能具有一个或多个部署位置,即服务功能将在一个或多个网络位置处部署和/或实例化。When making a service deployment decision, orchestrator 325 determines a deployment location, i.e., a network location where the service functions of the first computing service (only those service functions that are not abstract functions) will be deployed. It can be determined that the service function has one or more deployment locations, i.e., the service function will be deployed and/or instantiated at one or more network locations.

在部署位置处部署和/或实例化服务功能之后,在部署位置处存在服务功能的实例(例如,呈实现服务功能的软件副本的形式)。服务功能实例通过实例ID标识。在一些实施例中,实例ID包括标识部署位置的信息和标识服务功能的信息。After the service function is deployed and/or instantiated at the deployment location, an instance of the service function exists at the deployment location (e.g., in the form of a software copy that implements the service function). The service function instance is identified by an instance ID. In some embodiments, the instance ID includes information identifying the deployment location and information identifying the service function.

当进行服务部署决策时,对于第一计算服务的每个例程,编排器325还可以确定与例程相关的服务功能实例的功能间连接和功能内连接。When making service deployment decisions, for each instance of the first computing service, orchestrator 325 may also determine inter-function connections and intra-function connections of service function instances associated with the instance.

当进行计算平面选择决策时,编排器325可以为第一计算服务确定或选择计算平面。计算平面可以包括一个或多个隐私路由器345和一个或多个例程管理器340。隐私路由器与服务功能实例相关联,而例程管理器对应于计算服务的例程。在一些实施例中,对于需要同步的例程(即属于同一个同步例程组的例程),如第一计算服务的服务简档中的关于已同步例程的信息所指示,编排器可以选择同一例程管理器。When making a compute plane selection decision, the orchestrator 325 may determine or select a compute plane for the first compute service. The compute plane may include one or more privacy routers 345 and one or more routine managers 340. A privacy router is associated with a service function instance, and a routine manager corresponds to a routine of the compute service. In some embodiments, for routines that need to be synchronized (i.e., routines that belong to the same synchronized routine group), the orchestrator may select the same routine manager as indicated by information about synchronized routines in the service profile of the first compute service.

当进行计算平面选择决策和选择计算平面时,编排器从隐私路由器和例程管理器的池中选择隐私路由器和例程管理器。如果没有隐私路由器或例程管理器可供选择,或可供选择的隐私路由器或例程管理器不足,则编排器325可以触发扩大池,以在选择的网络位置处部署额外的隐私路由器345和/或例程管理器340,然后从扩大的池中选择隐私路由器和/或例程管理器。When making a computing plane selection decision and selecting a computing plane, the orchestrator selects a privacy router and a routine manager from a pool of privacy routers and routine managers. If no privacy routers or routine managers are available for selection, or the available privacy routers or routine managers are insufficient, the orchestrator 325 can trigger the expansion of the pool to deploy additional privacy routers 345 and/or routine managers 340 at the selected network location, and then select a privacy router and/or routine manager from the expanded pool.

在一些实施例中,当第一计算服务重用第二计算服务时(即,当第一计算服务的工作X重用第二计算服务的工作Z时),并且当进行服务编排时,编排器325还可以针对第二计算服务进行增量部署决策和/或计算平面重选决策。编排器325将针对第二计算服务的计算平面重选决策提供给服务于第二计算服务的服务管理器(例如服务管理器2 412),服务管理器然后实现该决策,即,它相应地重新配置用于第二计算服务的计算平面。In some embodiments, when the first computing service reuses the second computing service (i.e., when the work X of the first computing service reuses the work Z of the second computing service), and when performing service orchestration, the orchestrator 325 may also make an incremental deployment decision and/or a computing plane reselection decision for the second computing service. The orchestrator 325 provides the computing plane reselection decision for the second computing service to the service manager (e.g., service manager 2 412) serving the second computing service, and the service manager then implements the decision, i.e., it reconfigures the computing plane for the second computing service accordingly.

当针对第二计算服务进行增量部署决策时:如果工作Z是第二计算服务的工作Y的副本工作(例如,如第二计算服务的服务简档中指示的),编排器325针对工作Z进行动态部署决策,包括确定工作Y的每个内部功能的额外的部署位置和对应的资源(计算/网络资源)要求,以及基于这些额外的部署位置确定功能间连接和功能间连接。When making incremental deployment decisions for a second computing service: If work Z is a replica work of work Y of the second computing service (e.g., as indicated in the service profile of the second computing service), orchestrator 325 makes dynamic deployment decisions for work Z, including determining additional deployment locations and corresponding resource (computing/network resources) requirements for each internal function of work Y, and determining inter-function connections and inter-function connections based on these additional deployment locations.

如果工作Z不是副本工作(例如,如第二计算服务的服务简档中指示的),则编排器进行关于工作Z的部署共享决策,包括从工作Z的部署中为第一计算服务选择工作Z的每个内部功能的一个或多个实例以进行重用。然后,内部功能的这些选择实例由第一计算服务(即第一计算服务的工作X)和第二计算服务(即第二计算服务的工作Z)两者共享。If job Z is not a replica job (e.g., as indicated in the service profile of the second computing service), the orchestrator makes a deployment sharing decision about job Z, including selecting one or more instances of each internal function of job Z for the first computing service to reuse from the deployment of job Z. These selected instances of the internal functions are then shared by both the first computing service (i.e., job X of the first computing service) and the second computing service (i.e., job Z of the second computing service).

在针对第二计算服务进行计算平面重选决策时,编排器根据第二计算服务的增量部署决策和第一计算服务的服务部署决策,为第二计算服务重选计算平面。当编排器重选计算平面时,编排器可以重选(或重新定位)、添加和/或移除与第二计算服务相关联的一些计算平面实体(例如,例程管理器、隐私路由器)以优化计算平面效率。When making a computing plane reselection decision for the second computing service, the orchestrator reselects a computing plane for the second computing service according to the incremental deployment decision of the second computing service and the service deployment decision of the first computing service. When the orchestrator reselects the computing plane, the orchestrator may reselect (or relocate), add and/or remove some computing plane entities (e.g., a routine manager, a privacy router) associated with the second computing service to optimize computing plane efficiency.

为了实现部署决策,即针对第一计算服务的服务部署决策和针对第二计算服务的增量部署决策,编排器325与资源管理器330交互。To implement the deployment decisions, namely the service deployment decision for the first computing service and the incremental deployment decision for the second computing service, orchestrator 325 interacts with resource manager 330 .

编排器325将针对第一计算服务的计算平面选择决策提供给服务管理器1 310,服务管理器1 310可以实现该决策,即相应地配置计算平面。The orchestrator 325 provides the computing plane selection decision for the first computing service to the service manager 1 310, which can implement the decision, ie, configure the computing plane accordingly.

在一个实施例中,第一服务和第二服务可以是同一服务。这可以允许基于服务中的现有工作向服务中添加新工作。因此,在一些实施例中,服务注册请求是基于服务中的现有工作向服务中添加新工作的服务注册请求。In one embodiment, the first service and the second service may be the same service. This may allow new work to be added to the service based on existing work in the service. Thus, in some embodiments, the service registration request is a service registration request to add a new work to the service based on existing work in the service.

实例化服务435可以包括多个步骤,这些步骤可以在实例化过程中如下描述。Instantiating service 435 may include multiple steps, which may be described as follows during the instantiation process.

图5示出了实施例提供的服务实例化过程。首先,服务管理器1 310通过向编排器发送(505)服务实例化请求来请求实例化第一计算服务。请求包括标识第一计算服务的信息(例如,服务ID)。在一些实施例中,请求包括与第一计算服务的服务简档相关联的信息。与第一计算服务的服务简档相关联的信息可以包括服务简档(例如,SDI)。FIG5 illustrates a service instantiation process provided by an embodiment. First, the service manager 1310 requests instantiation of a first computing service by sending (505) a service instantiation request to the orchestrator. The request includes information identifying the first computing service (e.g., a service ID). In some embodiments, the request includes information associated with a service profile of the first computing service. The information associated with the service profile of the first computing service may include a service profile (e.g., an SDI).

然后,编排器325获取与部署请求相关的一个或多个服务简档。如果服务实例化请求505不包括第一计算服务的服务简档,则编排器通过向服务数据存储库335发送(510)标识第一计算服务的信息并通过从服务数据存储库335接收(512)对应的服务简档,来从服务数据存储库335获取第一计算服务的服务简档。Then, orchestrator 325 obtains one or more service profiles associated with the deployment request. If service instantiation request 505 does not include a service profile for the first computing service, orchestrator obtains the service profile for the first computing service from service data store 335 by sending (510) information identifying the first computing service to service data store 335 and by receiving (512) the corresponding service profile from service data store 335.

在一些实施例中,当第一计算服务重用第二计算服务时,第一计算服务的服务简档指示(由第一计算服务)重用第二计算服务的工作Z,并且包括标识第二计算服务的信息和标识工作Z的信息。在这种情况下,编排器325通过如下方式从服务数据存储库335获取(512)第二计算服务的服务简档510:向服务数据存储库发送(510)标识第二计算服务的信息(以及可能的标识工作Z的信息),并且通过从服务数据存储库335接收(512)对应的服务简档。In some embodiments, when the first computing service reuses the second computing service, the service profile of the first computing service indicates (by the first computing service) the reuse of work Z of the second computing service, and includes information identifying the second computing service and information identifying work Z. In this case, orchestrator 325 obtains (512) the service profile 510 of the second computing service from service data repository 335 by sending (510) the information identifying the second computing service (and possibly the information identifying work Z) to the service data repository, and by receiving (512) the corresponding service profile from service data repository 335.

然后,编排器325根据第一计算服务的服务简档和(如果适用)第二计算服务的服务简档执行服务编排(515)。当执行服务编排(515)时,如上所述,编排器针对第一计算服务进行服务部署决策和计算平面选择决策,并且如果第一计算服务重用第二计算服务,则编排器还可以针对第二计算服务进行增量部署决策和计算平面重选决策。Then, the orchestrator 325 performs service orchestration according to the service profile of the first computing service and (if applicable) the service profile of the second computing service (515). When performing service orchestration (515), as described above, the orchestrator makes service deployment decisions and computing plane selection decisions for the first computing service, and if the first computing service reuses the second computing service, the orchestrator may also make incremental deployment decisions and computing plane reselection decisions for the second computing service.

编排器向资源管理器通知一个或多个部署决策,并请求(520)适当的资源,其中,所述一个或多个部署决策包括针对第一计算服务的服务部署决策和针对第二计算服务的增量部署决策(如果适用)。编排器可以在本步骤中向资源管理器提供相关服务功能的一个或多个软件镜像,或标识或定位软件镜像的信息。The orchestrator notifies the resource manager of one or more deployment decisions and requests (520) appropriate resources, wherein the one or more deployment decisions include a service deployment decision for the first computing service and an incremental deployment decision for the second computing service (if applicable). The orchestrator may provide the resource manager with one or more software images of the relevant service functions, or information identifying or locating the software images in this step.

资源管理器330通过使用一个或多个对应的软件镜像实例化和/或部署一个或多个相关的服务功能来实现一个或多个部署决策,并根据在一个或多个相关部署位置处的对应资源要求提供(525)请求的资源(计算资源和/或网络资源)。The resource manager 330 implements one or more deployment decisions by instantiating and/or deploying one or more related service functions using one or more corresponding software images, and provides (525) requested resources (computing resources and/or network resources) based on corresponding resource requirements at one or more related deployment locations.

资源管理器330接收与编排器的资源请求(520)一起的一个或多个软件镜像,或者使用与编排器的资源请求(520)一起接收的信息(即标识/定位软件镜像的信息)从一个或多个特定网络位置(例如,服务器或其自己的本地存储)获取一个或多个软件镜像。Resource manager 330 receives one or more software images along with the orchestrator's resource request (520), or uses information received along with the orchestrator's resource request (520) (i.e., information identifying/locating the software images) to obtain one or more software images from one or more specific network locations (e.g., a server or its own local storage).

在服务功能(例如,服务部署决策中指示的服务功能)在部署位置(例如,服务部署决策中指示的对应部署位置)处被实例化或部署之后,在部署位置处存在服务功能的实例。服务功能的实例可以使用标识服务功能的信息和标识部署位置的信息来标识。After a service function (e.g., a service function indicated in a service deployment decision) is instantiated or deployed at a deployment location (e.g., a corresponding deployment location indicated in the service deployment decision), an instance of the service function exists at the deployment location. The instance of the service function can be identified using information identifying the service function and information identifying the deployment location.

然后,资源管理器330可以响应(530)编排器325以确认一个或多个部署决策已经实现(即,一个或多个相关服务功能已经被实例化和/或部署)。对于每个服务功能实例,提供资源(525)的资源管理器可以在发送给编排器的响应(530)中包括标识服务功能实例的信息(例如,标识对应服务功能的信息和标识对应部署位置的信息),以及与服务功能实例相关联的T4路由信息。Resource manager 330 may then respond (530) to orchestrator 325 to confirm that one or more deployment decisions have been implemented (i.e., one or more related service functions have been instantiated and/or deployed). For each service function instance, the resource manager providing resources (525) may include information identifying the service function instance (e.g., information identifying the corresponding service function and information identifying the corresponding deployment location) and T4 routing information associated with the service function instance in the response (530) sent to the orchestrator.

T4路由信息描述或指定如何通过接口T4 347到达(与)服务功能实例(通信)。T4路由信息可以包括与服务功能实例相关的以下信息中的任何一种:网络地址、端口号、协议类型、隧道端点ID、隧道ID等。在部署服务功能实例时,T4路由信息可以由资源管理器生成和/或分配,或者由资源管理器在提供(525)资源时从对应的部署位置接收。The T4 routing information describes or specifies how to reach (communicate with) the service function instance via interface T4 347. The T4 routing information may include any of the following information related to the service function instance: network address, port number, protocol type, tunnel endpoint ID, tunnel ID, etc. When deploying the service function instance, the T4 routing information may be generated and/or allocated by the resource manager, or received by the resource manager from the corresponding deployment location when providing (525) resources.

然后,编排器325可以更新服务数据存储库中的一个或多个相关服务简档。这可以包括更新服务数据存储库中的第一计算服务的服务简档,其中,编排器基于针对第一计算服务的服务部署决策和与第一计算服务相关的T4路由信息(在步骤6中从资源管理器接收)生成部署数据,并向服务数据存储库发送(535)所述部署数据。编排器可以基于针对第一计算服务的计算平面选择决策生成计算平面数据。更新服务数据存储库中的第一计算服务的服务简档还可以包括:编排器向服务数据存储库发送(535)部署数据、计算平面数据和标识第一计算服务的信息。服务数据存储库将部署数据和计算平面数据存储在第一计算服务的服务简档中。The orchestrator 325 may then update one or more related service profiles in the service data repository. This may include updating a service profile of a first computing service in the service data repository, wherein the orchestrator generates deployment data based on a service deployment decision for the first computing service and T4 routing information related to the first computing service (received from the resource manager in step 6), and sends (535) the deployment data to the service data repository. The orchestrator may generate computing plane data based on a computing plane selection decision for the first computing service. Updating the service profile of the first computing service in the service data repository may also include the orchestrator sending (535) the deployment data, computing plane data, and information identifying the first computing service to the service data repository. The service data repository stores the deployment data and computing plane data in the service profile of the first computing service.

更新服务数据存储库中的一个或多个相关服务简档还可以包括:编排器更新服务数据存储库中的第二计算服务的服务简档。在这样做时,编排器基于针对第二计算服务的增量部署决策和与第二计算服务相关的T4路由信息生成部署数据,所述T4路由信息是在响应资源请求(530)时从资源管理器接收的。编排器基于针对第二计算服务的计算平面重选决策和第二计算服务的服务简档生成计算平面数据。然后,编排器可以向服务数据存储库发送(535)部署数据、计算平面数据和标识第二计算服务的信息。服务数据存储库将部署数据和计算平面数据存储在第二计算服务的服务简档中,替换现有的部署数据和计算平面数据。Updating one or more related service profiles in the service data repository may also include: the orchestrator updates the service profile of the second computing service in the service data repository. In doing so, the orchestrator generates deployment data based on the incremental deployment decision for the second computing service and T4 routing information related to the second computing service, the T4 routing information being received from the resource manager in response to the resource request (530). The orchestrator generates computing plane data based on the computing plane reselection decision for the second computing service and the service profile of the second computing service. The orchestrator may then send (535) the deployment data, computing plane data, and information identifying the second computing service to the service data repository. The service data repository stores the deployment data and computing plane data in the service profile of the second computing service, replacing the existing deployment data and computing plane data.

然后,编排器与服务管理器2 412交互,以实现针对第二计算服务的计算平面重选决策。服务管理器2是管理或正在管理第二计算服务的服务管理器。编排器使用标识第二计算服务的信息来选择或标识服务管理器2。编排器可以执行以下子步骤。The orchestrator then interacts with service manager 2 412 to implement a computing plane reselection decision for the second computing service. Service manager 2 is a service manager that manages or is managing the second computing service. The orchestrator uses the information identifying the second computing service to select or identify service manager 2. The orchestrator may perform the following sub-steps.

编排器325请求(540)服务管理器2 412为第二计算服务配置计算平面。向服务管理器2发送的请求包括标识第二计算服务的信息。Orchestrator 325 requests 540 service manager 2 412 to configure a compute plane for the second compute service. The request sent to service manager 2 includes information identifying the second compute service.

在一些实施例中,配置计算平面的请求(540)包括与第二计算服务相关联的部署数据和与第二计算服务相关联的计算平面数据。这些数据可以由编排器在通过向相关的服务简档发送服务简档数据535更新相关的服务简档时来生成。In some embodiments, the request to configure the computing plane (540) includes deployment data associated with the second computing service and computing plane data associated with the second computing service. These data can be generated by the orchestrator when updating the relevant service profile by sending service profile data 535 to the relevant service profile.

服务管理器2可以根据在请求540中接收的部署数据和计算平面数据,为第二计算服务配置(545)计算平面,以实现配置。在一些实施例中,当编排器没有在请求(540)中提供部署数据和计算平面数据时,服务管理器2可以通过如下方式从服务数据存储库获取这些数据:在接收到请求之后向服务数据存储库发送标识第二计算服务的信息,并从服务数据存储库接收这些数据。Service manager 2 may configure (545) a computing plane for the second computing service to implement the configuration based on the deployment data and computing plane data received in request 540. In some embodiments, when the orchestrator does not provide the deployment data and computing plane data in the request (540), service manager 2 may obtain the data from the service data repository by sending information identifying the second computing service to the service data repository after receiving the request, and receiving the data from the service data repository.

然后,服务管理器2可以响应(550)编排器,指示配置完成。The service manager 2 may then respond (550) to the orchestrator indicating that the configuration is complete.

然后,编排器325可以与服务管理器1 310交互,以实现针对第一计算服务的计算平面选择决策。为此,编排器可以执行以下子步骤。Then, the orchestrator 325 may interact with the service manager 1 310 to implement a computing plane selection decision for the first computing service. To this end, the orchestrator may perform the following sub-steps.

首先,编排器向服务管理器1 310请求(555)为第一计算服务配置计算平面。向服务管理器1 310发送的请求(555)包括标识第一计算服务的信息。First, the orchestrator requests (555) to configure a computing plane for a first computing service from the service manager 1 310. The request (555) sent to the service manager 1 310 includes information identifying the first computing service.

在一些实施例中,请求(555)包括与第一计算服务相关联的部署数据和与第一计算服务相关联的计算平面数据。这些数据由编排器在更新(535)服务简档时生成。In some embodiments, the request (555) includes deployment data associated with the first computing service and computing plane data associated with the first computing service. These data are generated by the orchestrator when updating (535) the service profile.

然后,服务管理器1 310可以根据在请求(555)中接收的部署数据和计算平面数据为第一计算服务配置(560)计算平面,以配置控制平面。在一些实施例中,如果编排器没有与请求(555)一起提供部署数据和计算平面数据,则服务管理器1 310可以通过如下方式从服务数据存储库335获取这些数据:在接收到请求之后向服务数据存储库发送标识第一计算服务的信息,并从服务数据存储库接收这些数据。Then, the service manager 1 310 can configure (560) a computing plane for the first computing service based on the deployment data and computing plane data received in the request (555) to configure the control plane. In some embodiments, if the orchestrator does not provide the deployment data and computing plane data with the request (555), the service manager 1 310 can obtain the data from the service data repository 335 by sending information identifying the first computing service to the service data repository after receiving the request, and receiving the data from the service data repository.

然后,服务管理器1 310可以响应(565)编排器,指示配置完成。Service Manager 1 310 may then respond (565) to the orchestrator indicating that the configuration is complete.

在一些实施例中,响应(565)编排器的服务管理器1可以与编排器请求(540)配置计算平面并行地运行,或者它可以在该请求540完成之前开始。In some embodiments, the service manager 1 responding (565) to the orchestrator may run in parallel with the orchestrator requesting (540) to configure the compute plane, or it may begin before the request 540 is completed.

然后,编排器可以针对服务管理器1的初始服务实例化请求(505)响应(570)服务管理器1。The orchestrator may then respond (570) to service manager 1 for its initial service instantiation request (505).

在一些实施例中,如果编排器顺序地从服务管理2 412和服务管理器1 310两者请求配置计算平面,则编排器对服务实例化的响应(570)可以集成在其请求(555)中,以配置计算平面。In some embodiments, if the orchestrator sequentially requests configuration of the compute plane from both service management 2 412 and service manager 1 310, the orchestrator's response (570) to the service instantiation may be integrated in its request (555) to configure the compute plane.

在与图5相关联的实施例中,称为例程P的例程可以与称为任务T的任务相关联,该例程继而可以与称为工作X的工作相关联,这三者都可以与图5中的第一计算服务相关联。它们也可以称为是计算服务所固有的。计算服务可以包括一个或多个其它例程。例程P可以与第一服务功能F1(例程客户端功能F1)和第二服务功能F2(例程服务器功能F2)相关联。In an embodiment associated with FIG. 5 , a routine called routine P may be associated with a task called task T, which in turn may be associated with a job called job X, all three of which may be associated with the first computing service in FIG. 5 . They may also be referred to as being intrinsic to the computing service. The computing service may include one or more other routines. Routine P may be associated with a first service function F1 (routine client function F1) and a second service function F2 (routine server function F2).

如果部署了计算服务,则计算服务的部署包括例程P的服务功能F1的实例FI1(可以称为例程客户端FI1),以及例程P的服务功能F2的实例FI2(例程服务器)。可以更新(535)计算服务的服务简档以包括描述部署的部署数据。If the computing service is deployed, the deployment of the computing service includes an instance FI1 of the service function F1 of the routine P (which may be referred to as the routine client FI1), and an instance FI2 of the service function F2 of the routine P (a routine server). The service profile of the computing service may be updated (535) to include deployment data describing the deployment.

可以在服务编排(515)期间为计算服务选择计算平面,并且该计算平面与计算服务的部署相关联。计算平面可以包括一个或多个例程管理器340。在一个或多个例程管理器中,分配例程管理器来管理与两个服务功能实例FI1和FI2相关的例程P。计算平面还包括分别与功能实例FI1和FI2相关联的第一隐私路由R1和第二隐私路由器R2。隐私路由器R1和R2可以是同一实体,例如,如果两个服务功能实例FI1和FI2与同一隐私路由器相关联。可以更新计算服务的服务简档,以包括描述计算平面的计算平面数据。A compute plane may be selected for a compute service during service orchestration (515) and associated with a deployment of the compute service. The compute plane may include one or more routine managers 340. Among the one or more routine managers, a routine manager is assigned to manage routines P associated with two service function instances FI1 and FI2. The compute plane also includes a first privacy router R1 and a second privacy router R2 associated with the function instances FI1 and FI2, respectively. The privacy routers R1 and R2 may be the same entity, for example, if the two service function instances FI1 and FI2 are associated with the same privacy router. The service profile of the compute service may be updated to include compute plane data describing the compute plane.

无论是服务管理器1(560)还是服务管理2(545),服务于计算服务的服务管理器都会根据部署数据和计算平面数据配置计算平面。服务管理器可以从网络实体(例如从服务数据存储库或从编排器)获取或接收部署数据和计算平面数据。当配置计算平面时,服务管理器根据服务功能实例FI1和FI2执行例程P的配置过程。配置过程如图6所示。Whether it is service manager 1 (560) or service manager 2 (545), the service manager serving the computing service configures the computing plane according to the deployment data and the computing plane data. The service manager can obtain or receive the deployment data and the computing plane data from a network entity (e.g., from a service data repository or from an orchestrator). When configuring the computing plane, the service manager performs a configuration process of routine P according to the service function instances FI1 and FI2. The configuration process is shown in FIG6.

在隐私路由器R1和隐私路由器R2是同一实体的实施例中,该实体可以在一个步骤中进行配置,并且进一步的配置可以是可选的。图6中的配置过程假设例程客户端功能F1不表示设备。当例程客户端功能F1表示设备时,过程将减少到更少的步骤。In embodiments where privacy router R1 and privacy router R2 are the same entity, the entity may be configured in one step, and further configuration may be optional. The configuration process in FIG6 assumes that routine client function F1 does not represent a device. When routine client function F1 represents a device, the process is reduced to fewer steps.

图6示出了实施例提供的服务管理器配置例程管理器的过程。首先,服务管理器310配置(605)例程管理器340。在此步骤中,服务管理器向例程管理器发送或提供以下信息:标识计算服务的信息(例如,服务ID)、标识例程P的信息(例如,例程ID)、标识服务功能实例FI1的信息(例如,实例ID)、标识服务功能实例FI2的信息(例如,实例ID)、标识隐私路由器R1 345的信息(例如ID或网络地址),以及标识隐私路由器R2 346的信息(例如ID或网络地址)。6 shows the process of the service manager configuring the routine manager provided by the embodiment. First, the service manager 310 configures (605) the routine manager 340. In this step, the service manager sends or provides the following information to the routine manager: information identifying the computing service (e.g., service ID), information identifying the routine P (e.g., routine ID), information identifying the service function instance FI1 (e.g., instance ID), information identifying the service function instance FI2 (e.g., instance ID), information identifying the privacy router R1 345 (e.g., ID or network address), and information identifying the privacy router R2 346 (e.g., ID or network address).

在此步骤中,例程管理器340还可以向服务管理器310发送或提供(607)与例程管理器相关的T9b路由信息。然后,服务管理器310可以在随后的步骤中向隐私路由器R1和隐私路由器R2提供T9b路由信息,使得隐私路由器R1和R2可以使用该信息到达(将数据或控制信号路由到)例程的例程管理器。In this step, the routine manager 340 may also send or provide (607) T9b routing information related to the routine manager to the service manager 310. The service manager 310 may then provide the T9b routing information to the privacy router R1 and the privacy router R2 in a subsequent step so that the privacy routers R1 and R2 can use the information to reach (route data or control signals to) the routine manager of the routine.

然后,服务管理器310可以配置(610)隐私路由器R2 346。在此步骤中,服务管理器通过向隐私路由器R2发送或提供在例程管理器的配置(605)期间接收的以下信息来配置隐私路由器R2:标识计算服务的信息、标识例程P的信息、与服务功能实例FI2相关的T4路由信息、与例程管理器相关的T9b路由信息。服务管理器310可以在先前的步骤或先前的过程中,例如在向服务管理器2请求(540)配置计算平面期间,或向服务管理器1请求(555)配置计算平面期间,从编排器获取与服务功能实例FI2相关的T4路由信息。The service manager 310 may then configure (610) the privacy router R2 346. In this step, the service manager configures the privacy router R2 by sending or providing the following information received during the configuration (605) of the routine manager to the privacy router R2: information identifying the computing service, information identifying the routine P, T4 routing information related to the service function instance FI2, and T9b routing information related to the routine manager. The service manager 310 may obtain the T4 routing information related to the service function instance FI2 from the orchestrator in a previous step or a previous process, such as during a request (540) to configure the computing plane to the service manager 2, or during a request (555) to configure the computing plane to the service manager 1.

在配置(610)时,隐私路由器R2还可以向服务管理器310提供(612)T8路由信息和T9b路由信息。此路由信息可以与隐私路由器R2相关。在此步骤中,隐私路由器R2还可以向服务管理器提供(612)与隐私路由器R2相关的T4路由信息。然后,服务管理器可以向AC发送与隐私路由器R2相关的T4路由信息,AC还可以向服务功能实例FI2发送所述T4路由信息。或者,隐私路由器R2可以使用与服务功能实例FI2相关的T4路由信息,直接(不涉及服务管理器)向服务功能实例FI2发送与隐私路由器R2相关的T4路由信息。与隐私路由器R2相关的T4路由信息描述或指定如何通过T4连接/接口到达(例如,将数据或控制信号路由到)例程的隐私路由器R2。When configuring (610), the privacy router R2 may also provide (612) T8 routing information and T9b routing information to the service manager 310. This routing information may be associated with the privacy router R2. In this step, the privacy router R2 may also provide (612) T4 routing information associated with the privacy router R2 to the service manager. The service manager may then send the T4 routing information associated with the privacy router R2 to the AC, and the AC may also send the T4 routing information to the service function instance FI2. Alternatively, the privacy router R2 may use the T4 routing information associated with the service function instance FI2 to directly (without involving the service manager) send the T4 routing information associated with the privacy router R2 to the service function instance FI2. The T4 routing information associated with the privacy router R2 describes or specifies how to reach (e.g., route data or control signals to) the routine's privacy router R2 via the T4 connection/interface.

然后,服务管理器可以配置(615)隐私路由器R1。在此步骤中,服务管理器向隐私路由器R1提供(在例程管理器的配置(605)期间最初接收的)以下信息:标识计算服务的信息、标识例程P的信息、与服务功能实例FI1相关的T4路由信息、与隐私路由器R2相关的T8路由信息,以及与例程管理器相关的T9b路由信息。与隐私路由器R2相关的T8路由信息可以允许隐私路由器R1使用该信息到达(例如,将数据路由到)例程的隐私路由器R2。服务管理器可以在先前的步骤中,例如在向服务管理器2请求(540)配置计算平面期间,或向服务管理器1请求(555)配置计算平面期间,从编排器获取与服务功能实例FI1相关的T4路由信息。The service manager may then configure (615) privacy router R1. In this step, the service manager provides the following information to privacy router R1 (initially received during configuration (605) of the routine manager): information identifying the compute service, information identifying the routine P, T4 routing information associated with service function instance FI1, T8 routing information associated with privacy router R2, and T9b routing information associated with the routine manager. The T8 routing information associated with privacy router R2 may allow privacy router R1 to use the information to reach (e.g., route data to) the privacy router R2 of the routine. The service manager may have obtained the T4 routing information associated with service function instance FI1 from the orchestrator in a previous step, such as during a request (540) to configure the compute plane to service manager 2, or during a request (555) to configure the compute plane to service manager 1.

在隐私路由器R1的配置(615)期间,隐私路由器R1 345还可以向服务管理器310提供(617)T8路由信息和T9b路由信息。此路由信息与隐私路由器R1相关。在此步骤中,隐私路由器R1还可以向服务管理器提供与隐私路由器R1相关的T4路由信息。然后,服务管理器可以向AC发送与隐私路由器R1相关的T4路由信息,AC还可以向服务功能实例FI1发送所述T4路由信息。或者,隐私路由器R1可以使用与服务功能实例FI1相关的T4路由信息,直接(不涉及服务管理器)向服务功能实例FI1发送与隐私路由器R1相关的T4路由信息。与隐私路由器R1相关的T4路由信息描述或指定如何通过T4连接或接口到达(例如,将数据或控制信号路由到)例程的隐私路由器R1。During the configuration (615) of the privacy router R1, the privacy router R1 345 may also provide (617) T8 routing information and T9b routing information to the service manager 310. This routing information is associated with the privacy router R1. In this step, the privacy router R1 may also provide the service manager with T4 routing information associated with the privacy router R1. The service manager may then send the T4 routing information associated with the privacy router R1 to the AC, which may also send the T4 routing information to the service function instance FI1. Alternatively, the privacy router R1 may use the T4 routing information associated with the service function instance FI1 to directly (without involving the service manager) send the T4 routing information associated with the privacy router R1 to the service function instance FI1. The T4 routing information associated with the privacy router R1 describes or specifies how to reach (e.g., route data or control signals to) the routine's privacy router R1 via a T4 connection or interface.

然后,服务管理器可以配置(620)例程管理器。在此步骤中,服务管理器向例程管理器340提供与隐私路由器R2相关的T9b路由信息(在隐私路由器2的配置(610)期间接收)和与隐私路由器R1相关的T9b路由信息(在隐私路由器1的配置(615)期间接收)。The service manager can then configure (620) the instance manager. In this step, the service manager provides the instance manager 340 with the T9b routing information associated with privacy router R2 (received during configuration (610) of privacy router 2) and the T9b routing information associated with privacy router R1 (received during configuration (615) of privacy router 1).

然后,服务管理器310可以配置(625)隐私路由器R2 346。在此步骤中,服务管理器向隐私路由器R2提供在隐私路由器1的配置(615)期间接收到的与隐私路由器R1相关的T8路由信息。The service manager 310 may then configure (625) privacy router R2 346. In this step, the service manager provides privacy router R2 with the T8 routing information related to privacy router R1 received during the configuration (615) of privacy router 1.

在实例化计算服务期间,为计算服务选择计算平面。计算平面包括分配用于管理计算服务内的例程的执行的例程管理器。例程与第一服务功能(称为例程服务器功能)和第二服务功能(称为例程客户端功能)相关联。实施例包括用于配置例程管理器的过程,其中,为例程管理器提供关于例程的信息和/或关于数据子平面的信息,所述数据子平面是计算平面的一部分,用于支持(例如,处理和传输与例程执行有关的数据流量)例程的执行。During instantiation of a computing service, a computing plane is selected for the computing service. The computing plane includes a routine manager assigned to manage execution of routines within the computing service. The routine is associated with a first service function (referred to as a routine server function) and a second service function (referred to as a routine client function). An embodiment includes a process for configuring the routine manager, wherein the routine manager is provided with information about the routine and/or information about a data sub-plane, the data sub-plane being a portion of the computing plane for supporting (e.g., processing and transmitting data traffic related to the execution of the routine) the execution of the routine.

图7示出了实施例提供的用于配置例程管理器的过程。首先,服务管理器310向例程管理器340发送(705)配置请求。配置请求包括关于例程的信息和/或关于数据子平面的信息。关于例程的信息包括以下信息中的任何一种:标识计算服务的信息(例如,服务ID)、标识例程的信息(例如,例程ID)、标识例程服务器功能的信息(例如,功能ID),以及标识例程客户端功能的信息(例如,功能ID)。关于数据子平面的信息还可以包括关于添加一个或多个服务功能实例的信息、关于移除一个或多个服务功能实例的信息和关于一个或多个隐私路由器的信息。FIG7 illustrates a process for configuring a routine manager provided by an embodiment. First, the service manager 310 sends (705) a configuration request to the routine manager 340. The configuration request includes information about the routine and/or information about the data sub-plane. The information about the routine includes any one of the following information: information identifying a computing service (e.g., a service ID), information identifying a routine (e.g., a routine ID), information identifying a routine server function (e.g., a function ID), and information identifying a routine client function (e.g., a function ID). The information about the data sub-plane may also include information about adding one or more service function instances, information about removing one or more service function instances, and information about one or more privacy routers.

关于添加服务功能实例的信息可以指示:例程服务器功能的一个或多个实例与例程的例程管理器相关联,例如,通过包括标识例程服务器功能的一个或多个实例的信息(例如,一个或多个实例ID)。关于添加一个或多个服务功能实例的信息可以指示:例程客户端功能的一个或多个实例与例程的例程管理器相关联,例如,通过包括标识例程服务器功能的一个或多个实例的信息(例如,一个或多个实例ID)。The information about adding service function instances may indicate that one or more instances of the routine server function are associated with the routine manager of the routine, for example, by including information identifying the one or more instances of the routine server function (e.g., one or more instance IDs). The information about adding one or more service function instances may indicate that one or more instances of the routine client function are associated with the routine manager of the routine, for example, by including information identifying the one or more instances of the routine server function (e.g., one or more instance IDs).

关于移除服务功能实例的信息可以指示:例程服务器功能的一个或多个实例不再与例程的例程管理器相关联,例如,通过包括标识例程服务器功能的一个或多个实例的信息(例如,一个或多个实例ID)。关于移除一个或多个服务功能实例的信息可以指示:例程客户端功能的一个或多个实例不再与例程的例程管理器相关联,例如,通过包括标识例程服务器功能的一个或多个实例的信息(例如,一个或多个实例ID)。The information about removing service function instances may indicate that one or more instances of the routine server function are no longer associated with the routine manager of the routine, for example, by including information identifying the one or more instances of the routine server function (e.g., one or more instance IDs). The information about removing one or more service function instances may indicate that one or more instances of the routine client function are no longer associated with the routine manager of the routine, for example, by including information identifying the one or more instances of the routine server function (e.g., one or more instance IDs).

对于与例程管理器相关联的服务功能实例(例如,在关于添加服务功能实例的信息中标识的每个服务功能实例),关于隐私路由器的信息可以包括标识与服务功能实例相关联的隐私路由器的信息(例如,ID、网络地址)。对于标识的隐私路由器,关于隐私路由器的信息还可以包括T9b路由信息。T9b路由信息描述或指定如何通过例程的连接或接口T9b到达(例如,将数据路由到)标识的隐私路由器。For a service function instance associated with the routine manager (e.g., each service function instance identified in the information about adding the service function instance), the information about the privacy router may include information (e.g., ID, network address) identifying the privacy router associated with the service function instance. For the identified privacy router, the information about the privacy router may also include T9b routing information. The T9b routing information describes or specifies how to reach (e.g., route data to) the identified privacy router through the connection or interface T9b of the routine.

然后,例程管理器340可以向服务管理器310发送(710)配置响应,以确认接收到配置请求。在配置响应中,例程管理器可以包括与例程管理器相关的T9b路由信息。T9b路由信息描述或指定如何通过例程的连接或接口T9b到达(例如,将数据路由到)例程管理器。The routine manager 340 may then send (710) a configuration response to the service manager 310 to acknowledge receipt of the configuration request. In the configuration response, the routine manager may include T9b routing information associated with the routine manager. The T9b routing information describes or specifies how to reach (e.g., route data to) the routine manager via the routine's connection or interface T9b.

在实例化计算服务期间,为计算服务选择计算平面。计算平面包括一个或多个例程管理器340和一个或多个隐私路由器345。During instantiation of a compute service, a compute plane is selected for the compute service. The compute plane includes one or more instance managers 340 and one or more privacy routers 345.

如果隐私路由器在计算平面中,则隐私路由器通过服务功能实例与计算服务内的例程相关联,服务功能实例是与例程相关联的服务功能的实例。服务功能属于计算服务,即它是计算服务本地的。服务功能实例可以通过隐私路由器参与例程的执行,例如通过经由隐私路由器发送或接收与例程的执行相关的数据流量。隐私路由器345与计算平面中的例程管理器340耦合,所述例程管理器340被分配用于管理与服务功能实例相关的例程。If the privacy router is in the compute plane, the privacy router is associated with the routine within the compute service through a service function instance, which is an instance of a service function associated with the routine. The service function belongs to the compute service, i.e., it is local to the compute service. The service function instance can participate in the execution of the routine through the privacy router, for example, by sending or receiving data traffic related to the execution of the routine via the privacy router. The privacy router 345 is coupled to a routine manager 340 in the compute plane, which is assigned to manage routines associated with the service function instances.

图8示出了实施例提供的根据服务功能实例为例程配置隐私路由器的过程。首先,服务管理器310向隐私路由器345发送(805)配置请求。配置请求可以包括以下中的任何一种:标识计算服务的信息(例如,服务ID)、标识例程的信息(例如,例程ID)。配置请求可以包括T4路由信息。T4路由信息与服务功能实例相关。隐私路由器可以使用T4路由信息,通过连接或接口T4将(例如,从接口或连接T8接收的)数据路由到服务功能实例。8 illustrates a process for configuring a privacy router for a routine based on a service function instance provided by an embodiment. First, the service manager 310 sends (805) a configuration request to the privacy router 345. The configuration request may include any of the following: information identifying a computing service (e.g., a service ID), information identifying a routine (e.g., a routine ID). The configuration request may include T4 routing information. The T4 routing information is associated with the service function instance. The privacy router may use the T4 routing information to route data (e.g., received from interface or connection T8) to the service function instance via connection or interface T4.

然后,隐私路由器345可以向服务管理器310发送(810)配置响应,以确认接收到配置请求。在配置响应中,隐私路由器可以包括T4路由信息、T8路由信息和T9b路由信息中的任何一种。此路由信息与隐私路由器相关;它描述或指定如何通过例程的连接或接口T4、T8、T9b到达(例如,将数据服务或控制信号路由到)隐私路由器345。在一些实施例中,路由信息可以用于到达其它例程的隐私路由器。在此步骤中,隐私路由器R1可以使用与服务功能实例相关的T4路由信息,向服务功能实例发送与隐私路由器相关的T4路由信息。与服务功能实例相关的T4路由信息包括在从服务管理器接收的配置请求中。然后,服务功能实例可以使用与隐私路由器相关的T4路由信息到达例程的隐私路由器。The privacy router 345 may then send (810) a configuration response to the service manager 310 to acknowledge receipt of the configuration request. In the configuration response, the privacy router may include any of T4 routing information, T8 routing information, and T9b routing information. This routing information is associated with the privacy router; it describes or specifies how to reach (e.g., route data services or control signals to) the privacy router 345 through the routine's connections or interfaces T4, T8, T9b. In some embodiments, the routing information may be used to reach the privacy routers of other routines. In this step, the privacy router R1 may use the T4 routing information associated with the service function instance to send the T4 routing information associated with the privacy router to the service function instance. The T4 routing information associated with the service function instance is included in the configuration request received from the service manager. The service function instance may then use the T4 routing information associated with the privacy router to reach the privacy router of the routine.

图9示出了实施例提供的由应用控制器发起的计算服务(即第一计算服务)的服务注销过程。在完成此过程之后,将从服务数据存储库中移除或删除计算服务的服务简档。如果计算服务已部署,则释放与计算服务相关联的计算平面,并释放与计算服务相关的资源(计算资源、传输资源)。如果计算服务重用第二计算服务,则第二计算服务的部署以及与第二计算服务相关联的计算平面可以因计算服务的注销而改变。FIG9 shows a service deregistration process of a computing service (i.e., a first computing service) initiated by an application controller provided by an embodiment. After completing this process, the service profile of the computing service will be removed or deleted from the service data repository. If the computing service has been deployed, the computing plane associated with the computing service is released, and the resources (computing resources, transmission resources) related to the computing service are released. If the computing service reuses a second computing service, the deployment of the second computing service and the computing plane associated with the second computing service can be changed due to the deregistration of the computing service.

首先,应用控制器(即AC)向服务管理器310发送用于注销第一计算服务的注销请求(905)。请求包括标识第一计算服务的信息(例如,服务ID或名称)。First, the application controller (ie, AC) sends a deregistration request for deregistering the first computing service to the service manager 310 (905). The request includes information identifying the first computing service (eg, service ID or name).

然后,服务管理器释放(910)与第一计算服务相关联的计算平面。如果第一计算服务还未部署,则此步骤为可选步骤。在此步骤中,服务管理器310通知计算平面中的每个计算平面实体(例如,例程管理器、隐私路由器)移除与第一计算服务相关的本地数据和/或配置数据,然后所述计算平面实体可以相应地进行移除。向每个计算平面实体发送的通知包括标识第一计算服务的信息。The service manager then releases (910) the computing plane associated with the first computing service. If the first computing service has not yet been deployed, this step is optional. In this step, the service manager 310 notifies each computing plane entity (e.g., a routine manager, a privacy router) in the computing plane to remove local data and/or configuration data associated with the first computing service, and the computing plane entity can then remove accordingly. The notification sent to each computing plane entity includes information identifying the first computing service.

然后,服务管理器310与编排器325交互,以释放(915)与第一计算服务相关联或相关的资源(例如,计算资源、传输资源和/或如无线资源和射频资源等网络资源)。例如,编排器325向编排器发送资源释放请求,所述请求包括标识第一计算服务的信息。如果第一计算服务还未部署,则此步骤为可选步骤。Then, service manager 310 interacts with orchestrator 325 to release (915) resources associated or related to the first computing service (e.g., computing resources, transport resources, and/or network resources such as wireless resources and radio frequency resources). For example, orchestrator 325 sends a resource release request to the orchestrator, the request including information identifying the first computing service. If the first computing service has not yet been deployed, this step is optional.

根据释放资源的请求(915),编排与资源管理器交互以释放资源。因此,与第一计算服务相关联的服务功能(非抽象功能)的实例被删除或移除。如果第一计算服务重用第二计算服务,则编排可以改变第二计算服务的部署和计算平面,例如,移除不必要的服务功能实例和/或计算平面实体,并调整与第二计算服务相关联的资源分配决策。编排器更新服务数据存储库中的第二计算服务的服务简档以反映该变化,并触发选择的服务管理器(可以是图9中的服务管理器310)相应地更新第二计算服务的计算平面。In response to the request to release the resource (915), the orchestration interacts with the resource manager to release the resource. As a result, the instance of the service function (non-abstract function) associated with the first computing service is deleted or removed. If the first computing service reuses the second computing service, the orchestration can change the deployment and computing plane of the second computing service, for example, removing unnecessary service function instances and/or computing plane entities, and adjusting resource allocation decisions associated with the second computing service. The orchestrator updates the service profile of the second computing service in the service data repository to reflect the change, and triggers the selected service manager (which can be the service manager 310 in Figure 9) to update the computing plane of the second computing service accordingly.

然后,服务管理器310请求和/或通知服务数据存储库335删除(920)第一计算服务的服务简档。The service manager 310 then requests and/or notifies the service data repository 335 to delete ( 920 ) the service profile of the first computing service.

然后,服务管理器310通过发送(925)注销响应来回复应用控制器365,以指示第一计算服务已被注销。The service manager 310 then replies to the application controller 365 by sending (925) a deregistration response to indicate that the first computing service has been deregistered.

在一个实施例中,设备可以接收关于计算服务的公告。In one embodiment, a device may receive an advertisement regarding a computing service.

图10示出了实施例提供的服务公告过程。为了允许服务公告,访问管理器可以订阅从服务数据存储库接收关于已注册计算服务的信息,并提供与设备相关的部分信息,所述设备是已注册设备。Figure 10 shows a service announcement process provided by an embodiment. To allow service announcement, the access manager may subscribe to receive information about registered computing services from the service data repository and provide partial information related to the device, which is a registered device.

首先,访问管理器305可以通过向服务数据存储库335发送订阅请求来订阅(1005)接收计算服务信息(即,接收关于计算服务的信息)。订阅请求包括描述订阅的信息,所述信息可以包括指示感兴趣区域的信息。感兴趣区域是一个地理区域,它可以呈一个或多个区域ID的列表的形式指示。这意味着访问管理器305对在感兴趣区域中可用的计算服务感兴趣(即希望接收关于在感兴趣区域中可用的计算服务的信息)。First, the access manager 305 may subscribe (1005) to receive computing service information (i.e., receive information about computing services) by sending a subscription request to the service data repository 335. The subscription request includes information describing the subscription, which may include information indicating an area of interest. The area of interest is a geographic area, which may be indicated in the form of a list of one or more area IDs. This means that the access manager 305 is interested in computing services available in the area of interest (i.e., wishes to receive information about computing services available in the area of interest).

然后,服务数据存储库335可以通过向设备350发送(1010)订阅响应来响应访问管理器的订阅请求,以确认接收到订阅请求。此步骤为可选步骤。The service data store 335 may then respond to the access manager's subscription request by sending (1010) a subscription response to the device 350 to acknowledge receipt of the subscription request. This step is optional.

然后,服务数据存储库335可以通过向访问管理器305发送通知,来根据订阅请求1005向访问管理器305发送(1015)计算服务信息。通知包括计算服务信息,所述计算服务信息可以包括关于一个或多个已注册计算服务的信息。一个或多个计算服务是服务数据存储库335根据订阅请求(1005)选择的。如果订阅请求指示感兴趣区域,则一个或多个计算服务包括在感兴趣区域内可用的计算服务,如计算服务的服务简档中的服务可用性信息所指示的。The service data repository 335 may then send 1015 computing service information to the access manager 305 in accordance with the subscription request 1005 by sending a notification to the access manager 305. The notification includes the computing service information, which may include information about one or more registered computing services. The one or more computing services are selected by the service data repository 335 in accordance with the subscription request 1005. If the subscription request indicates an area of interest, the one or more computing services include computing services available within the area of interest, as indicated by service availability information in a service profile of the computing service.

在一些实施例中,一个或多个计算服务还限于已部署计算服务。对于一个或多个计算服务中的每个计算服务,计算服务信息和元信息可以包括:In some embodiments, the one or more computing services are also limited to deployed computing services. For each computing service in the one or more computing services, the computing service information and meta information may include:

标识计算服务的信息,例如服务ID/名称;Information identifying the computing service, such as the service ID/name;

指示提供计算服务的实体的服务元信息,例如名称或ID,所述服务元信息可以进一步描述或指示与计算服务相关联的一个或多个工作和每个工作的功能/目的;Service meta information indicating an entity providing a computing service, such as a name or ID, the service meta information may further describe or indicate one or more jobs associated with the computing service and the function/purpose of each job;

关于在服务元信息中标识的每个工作的元信息;meta-information about each job identified in the service meta-information;

服务可用性信息,指示计算服务可用的时间(例如,一个或多个时段/一个或多个持续时间,呈天/周/月的时间形式)和/或位置(例如,一个或多个位置/一个或多个区域,呈位置或区域ID的形式)。Service availability information, indicating the time (e.g., one or more time periods/one or more durations, in the form of days/weeks/months) and/or locations (e.g., one or more locations/one or more regions, in the form of location or region IDs) when the computing service is available.

发送(1015)计算服务信息可以用作订阅请求(1005)的响应,在这种情况下,发送(1010)订阅响应是可选的。Sending (1015) the computing service information may be used as a response to the subscription request (1005), in which case sending (1010) the subscription response is optional.

当计算服务信息改变时,可以发送(1015)计算服务信息。计算服务信息可能因计算服务的新注册、注册更新或注销而发生变化。图4示出了服务注册(更新)过程,图9示出了计算服务的服务注销过程。When the computing service information changes, the computing service information may be sent (1015). The computing service information may change due to a new registration, registration update or deregistration of a computing service. FIG4 shows a service registration (update) process, and FIG9 shows a service deregistration process of a computing service.

当再次发送(1015)计算服务信息时,服务管理器还可以向访问管理器305通知改变或不同信息(即,与先前公告相比,信息的差异),所述信息可以指示计算服务(或更多)变得不可用。When resending (1015) the computing service information, the service manager may also notify the access manager 305 of changed or different information (ie, the difference in information compared to the previous announcement), which may indicate that the computing service (or more) has become unavailable.

对于由访问管理器305服务的设备350,访问管理器从服务数据存储库1015发送的计算服务信息中标识与设备相关的信息。与设备相关的信息可以包括计算服务信息中关于在设备的位置处可用的计算服务的信息。在一些实施例中,与设备相关的信息包括计算服务信息中的信息子集。在一些实施例中,所述信息包括计算服务信息中的整个信息集合。然后,可以向设备发送与设备相关的信息,从而公告(1020)服务。For a device 350 served by the access manager 305, the access manager identifies device-related information from the computing service information sent by the service data repository 1015. The device-related information may include information in the computing service information about computing services available at the location of the device. In some embodiments, the device-related information includes a subset of the information in the computing service information. In some embodiments, the information includes the entire set of information in the computing service information. The device-related information may then be sent to the device, thereby advertising (1020) the service.

在一些实施例中,可以通过在设备注册(更新)过程中向设备发送注册接受消息来公告(1020)服务。In some embodiments, the service may be advertised (1020) by sending a registration accept message to the device during the device registration (update) process.

实施例可以包括服务发现过程,其中,应用控制器请求发现可重用计算服务,并且平台向应用控制器提供相关信息。Embodiments may include a service discovery process in which an application controller requests discovery of reusable computing services and the platform provides relevant information to the application controller.

图11示出了实施例提供的服务发现过程。首先,应用控制器365可以通过向服务管理器310发送服务发现请求来请求(1105)服务发现。服务发现请求包括指示是否接收关于发现结果的后续更新的信息。请求还可以指示是发现所有的计算服务,还是只发现可重用计算服务。可重用计算服务包括至少一个可重用工作(即可以使用的工作)。FIG11 illustrates a service discovery process provided by an embodiment. First, the application controller 365 may request (1105) service discovery by sending a service discovery request to the service manager 310. The service discovery request includes information indicating whether to receive subsequent updates about the discovery results. The request may also indicate whether to discover all computing services or only reusable computing services. A reusable computing service includes at least one reusable work (i.e., work that can be used).

然后,服务管理器310可以根据服务发现请求,通过向服务数据存储库335发送(1110)订阅(更新)请求,来订阅从服务数据存储库335接收计算服务信息,或更新现有订阅。请求可以包括指示订阅是一次性订阅还是连续订阅(即不是一次性订阅)的信息。请求还可以指示订阅要求,即订阅是针对关于可重用计算服务的信息,还是关于任何计算服务的信息。Then, the service manager 310 may subscribe to receive computing service information from the service data repository 335, or update an existing subscription, based on the service discovery request, by sending (1110) a subscription (update) request to the service data repository 335. The request may include information indicating whether the subscription is a one-time subscription or a continuous subscription (i.e., not a one-time subscription). The request may also indicate the subscription requirement, i.e., whether the subscription is for information about reusable computing services or information about any computing service.

如果服务发现请求指示不接收后续更新(关于发现结果),则服务管理器可以在订阅(更新)请求中指示订阅是一次性订阅,否则是连续订阅。如果服务发现请求指示发现可重用计算服务,则服务管理器可以在订阅(更新)请求中指示订阅是针对关于可重用计算服务的信息,否则订阅是针对关于任何其它计算服务的信息。如果此步骤是更新现有订阅,则服务管理器可以确保更新不会减少现有订阅(例如,从连续订阅减少到一次性订阅,或者从订阅任何计算服务减少到订阅可重用计算服务)。If the service discovery request indicates that subsequent updates (regarding the discovery results) are not to be received, the service manager may indicate in the subscription (update) request that the subscription is a one-time subscription, otherwise it is a continuous subscription. If the service discovery request indicates that a reusable computing service is discovered, the service manager may indicate in the subscription (update) request that the subscription is for information about the reusable computing service, otherwise the subscription is for information about any other computing service. If this step is to update an existing subscription, the service manager may ensure that the update does not reduce the existing subscription (e.g., from a continuous subscription to a one-time subscription, or from subscribing to any computing service to subscribing to a reusable computing service).

然后,服务数据存储库335可以通过向服务管理器310发送(1115)订阅响应来响应服务管理器,以确认接收订阅(更新)请求。此步骤为可选步骤。响应可以包括订阅的信息,所述订阅的信息可以包括关于满足订阅要求的每个计算服务的信息,所述信息包括:The service data repository 335 may then respond to the service manager by sending (1115) a subscription response to the service manager 310 to confirm receipt of the subscription (update) request. This step is optional. The response may include subscription information, which may include information about each computing service that meets the subscription requirements, including:

-标识计算服务的信息,例如服务ID/名称;- Information identifying the computing service, such as service ID/name;

-指示提供计算服务的实体的服务元数据(例如名称或ID),其可以进一步描述或指示与计算服务相关联的一个或多个工作以及每个工作的功能或目的,并且可以进一步包括对于每个工作,关于工作的可重用性信息(如果有的话);- Service metadata (e.g., name or ID) indicating the entity providing the computing service, which may further describe or indicate one or more jobs associated with the computing service and the function or purpose of each job, and may further include, for each job, information about the reusability of the job (if any);

-服务可用性信息,指示计算服务可用的时间(例如,时段或持续时间,呈天、周和/或月的时间形式)和/或位置(例如,位置或区域,呈位置或区域ID的形式)。- Service availability information indicating the time (e.g., period or duration, in the form of time of day, week and/or month) and/or location (e.g., location or region, in the form of location or region ID) when the computing service is available.

然后,服务数据存储库335可以向服务管理器310通知(1120)订阅的信息。在一些实施例中,此步骤可以作为对订阅请求的响应,因此是可选步骤。Then, the service data repository 335 may notify (1120) the subscribed information to the service manager 310. In some embodiments, this step may be a response to the subscription request and is therefore an optional step.

订阅请求(1110)、订阅响应(1115)和关于订阅的信息的通知(1120)构成独立于图11中的其它步骤的订阅通知过程。此过程可以由服务发现请求(1105)触发,或者由不同的服务发现请求触发。The subscription request (1110), subscription response (1115) and notification of information about the subscription (1120) constitute a subscription notification process independent of other steps in Figure 11. This process can be triggered by the service discovery request (1105), or by a different service discovery request.

然后,服务管理器310可以通过发送(1125)服务发现响应来响应应用控制器365。服务发现响应包括发现结果,所述发现结果可以包括在先前步骤中从服务数据存储库接收到的信息。The service manager 310 may then respond to the application controller 365 by sending 1125 a service discovery response. The service discovery response includes discovery results, which may include the information received from the service data store in the previous steps.

然后,如果订阅是连续订阅,则服务数据存储库335可以通过向服务管理器310发送(1130)通知来向服务管理器通知订阅的信息中的更新。订阅的信息中的更新可以是计算服务的注册或注销更新引起的。通知可以包括更新后的信息或信息的变化。此步骤为可选步骤。Then, if the subscription is a continuous subscription, the service data repository 335 may notify the service manager of the update in the subscribed information by sending (1130) a notification to the service manager 310. The update in the subscribed information may be caused by a registration or deregistration update of the computing service. The notification may include the updated information or a change in the information. This step is optional.

然后,服务管理器310可以向应用控制器365发送(1135)服务公告消息。服务公告消息包括从服务数据存储库接收的信息,作为关于发现结果的更新。Then, the service manager 310 may send (1135) a service announcement message to the application controller 365. The service announcement message includes information received from the service data repository as an update on the discovery result.

在一个实施例中,设备可以从平台注销,或者更新其注册状态。In one embodiment, a device may deregister from the platform, or update its registration status.

图12示出了实施例提供的连接到平台的设备的注册过程或注册更新过程。FIG. 12 illustrates a registration process or a registration update process of a device connected to a platform provided by an embodiment.

首先,设备350可以通过向访问管理器305发送(1205)注册请求消息来请求在平台上注册。注册请求可以通过服务于设备的接入节点(例如,如蜂窝基站、卫星和无人机等无线接入节点)从设备发送到访问管理器。First, the device 350 may request to register on the platform by sending 1205 a registration request message to the access manager 305. The registration request may be sent from the device to the access manager via an access node serving the device (e.g., a wireless access node such as a cellular base station, satellite, or drone).

注册请求消息包括标识设备的信息,例如设备ID。注册请求消息还包括指示设备位置的信息,其可以呈接入节点ID(标识服务于设备的接入节点)的格式。指示设备位置的信息可以由设备包括在消息中,也可以由接入节点在接入节点向访问管理器转发消息时包括在消息中。The registration request message includes information identifying the device, such as a device ID. The registration request message also includes information indicating the location of the device, which may be in the format of an access node ID (identifying an access node serving the device). The information indicating the location of the device may be included in the message by the device or by the access node when the access node forwards the message to the access manager.

然后,考虑到设备350的状态为已注册,访问管理器305可以认证和授权(1210)设备350。如果设备已经处于注册状态(例如,如果访问管理器在其本地存储中已经有设备的设备上下文),则此步骤为可选步骤。Then, considering the state of device 350 is registered, access manager 305 may authenticate and authorize 1210 device 350. This step is optional if the device is already in a registered state (e.g., if the access manager already has a device context for the device in its local storage).

访问管理器305可以向用户数据存储库335提供标识设备350的信息,然后,用户数据存储库335向访问管理器发送对应的用户订阅数据。访问管理器使用用户订阅数据对设备进行认证和授权。之后,访问管理器在其本地存储中维护设备的设备上下文。设备上下文包括对应于设备的用户订阅数据。The access manager 305 can provide information identifying the device 350 to the user data repository 335, which then sends the corresponding user subscription data to the access manager. The access manager uses the user subscription data to authenticate and authorize the device. Afterwards, the access manager maintains the device context of the device in its local storage. The device context includes the user subscription data corresponding to the device.

然后,访问管理器350可以通过向用户数据存储库335发送(1215)设备状态信息以供存储来将指示设备位置的信息存储在用户数据存储库335中。在此步骤中,访问管理器可以通知用户数据存储库更新设备状态为“已注册”。用户数据存储库可以相应地更新设备的状态信息,即将设备的状态信息改变为“已注册”。Then, the access manager 350 may store information indicating the location of the device in the user data repository 335 by sending (1215) the device status information to the user data repository 335 for storage. In this step, the access manager may notify the user data repository to update the device status to "registered". The user data repository may update the status information of the device accordingly, i.e., change the status information of the device to "registered".

然后,访问管理器305可以向设备350发送(1220)注册接受消息,所述注册接受消息指示注册请求(1205)被接受。服务公告消息(1135)可以与注册接受消息一起(或作为注册接受消息的一部分)发送,如图11所示。然后,设备可以请求访问已注册计算服务。如果针对计算服务创建了服务简档并存储在服务数据存储库中,则计算服务已注册。The access manager 305 may then send (1220) a registration acceptance message to the device 350 indicating that the registration request (1205) is accepted. A service announcement message (1135) may be sent with (or as part of) the registration acceptance message, as shown in FIG. 11. The device may then request access to the registered computing service. If a service profile has been created for the computing service and stored in the service data repository, the computing service is registered.

实施例包括设备可以注销和与平台断开连接的过程。Embodiments include processes by which a device may log off and disconnect from a platform.

图13示出了实施例提供的设备注销过程,其中,设备与平台断开连接。FIG. 13 illustrates a device deregistration process provided by an embodiment, wherein the device is disconnected from the platform.

首先,设备350可以通过通常经由接入节点向访问管理器305发送注销请求消息来请求(1305)注销。注销请求消息可以包括标识设备的信息,例如设备ID。First, device 350 may request 1305 to deregister by sending a deregistration request message, typically via an access node, to access manager 305. The deregistration request message may include information identifying the device, such as a device ID.

然后,访问管理器305可以从其本地存储中移除或删除设备的设备上下文。访问管理器向用户数据存储库335通知(1310)设备的状态从注册改变为注销(或未注册)。用户数据存储库可以通过将设备的状态信息从已注册改变为已注销(或未注册)相应地更新设备的状态。The access manager 305 may then remove or delete the device context for the device from its local storage. The access manager notifies (1310) the user data repository 335 that the device's status has changed from registered to unregistered (or unregistered). The user data repository may update the device's status accordingly by changing the device's status information from registered to unregistered (or unregistered).

然后,用户数据存储库335可以向访问管理器305发送(1315)更新响应消息。The user data repository 335 may then send ( 1315 ) an update response message to the access manager 305 .

然后,访问管理器可以向设备350发送(1320)注销响应消息,以确认接收到注销请求。The access manager may then send (1320) a logout response message to device 350 to acknowledge receipt of the logout request.

实施例包括服务请求过程,其中,设备可以请求访问计算服务内的工作,并且平台可以授权该请求并将设备包括到工作的执行中。Embodiments include a service request process in which a device may request access to work within a computing service, and the platform may authorize the request and include the device in the execution of the work.

图14示出了实施例提供的服务请求过程。图14还示出了实施例提供的设备添加过程,其中,设备被添加到工作的执行中。Figure 14 shows a service request process provided by an embodiment. Figure 14 also shows a device adding process provided by an embodiment, wherein a device is added to the execution of a job.

首先,设备350通过向访问管理器305发送(1405)服务请求来请求访问(即加入或参与)与计算服务相关联的工作。服务请求包括标识计算服务的信息(例如,服务ID或名称)和标识工作的信息(例如,工作ID)。First, device 350 requests access (i.e., join or participate) to a job associated with a computing service by sending 1405 a service request to access manager 305. The service request includes information identifying the computing service (e.g., a service ID or name) and information identifying the job (e.g., a job ID).

然后,访问管理器305可以授权(1410)服务请求。在一些实施例中,此步骤是可选步骤,例如当访问管理器305被配置为不执行此步骤时。在此步骤中,访问管理器305根据计算服务的服务简档标识设备350是否被允许访问工作。访问管理器可以从服务数据存储库中获取服务简档。例如,如果在服务简档内的例程数据中的设备信息中标识到设备,则允许设备访问工作,所述例程数据与属于任务的例程相关联,所述任务属于工作。如果不允许设备访问工作,则访问管理器响应设备以指示服务请求被拒绝,并停止所述过程步骤。The access manager 305 may then authorize (1410) the service request. In some embodiments, this step is an optional step, such as when the access manager 305 is configured not to perform this step. In this step, the access manager 305 identifies whether the device 350 is allowed to access the work based on the service profile of the computing service. The access manager may obtain the service profile from the service data repository. For example, if the device is identified in the device information in the routine data within the service profile, the device is allowed to access the work, and the routine data is associated with a routine belonging to a task, and the task belongs to the work. If the device is not allowed to access the work, the access manager responds to the device to indicate that the service request is denied and stops the process step.

然后,访问管理器305通过向服务管理器310发送(1415)服务请求来请求服务。服务管理器由访问管理器根据例如服务请求中的本地配置和/或标识计算服务的信息选择。The access manager 305 then requests a service by sending 1415 a service request to the service manager 310. The service manager is selected by the access manager based on, for example, the local configuration and/or information identifying the computing service in the service request.

然后,服务管理器310授权(1420)服务请求。在一些实施例中,此步骤是可选步骤,例如当服务管理器被配置为不执行此步骤时。在此步骤中,服务管理器根据计算服务的服务简档标识设备是否被允许访问工作。服务管理器可以从服务数据存储库中获取服务简档。例如,如果在服务简档内的例程数据中的设备信息中标识到设备,则允许设备访问工作,所述例程数据与属于任务的例程相关联,所述任务属于工作。如果不允许设备访问工作,则服务管理器通过访问管理器响应设备以指示服务请求被拒绝,并停止所述过程步骤。The service manager 310 then authorizes (1420) the service request. In some embodiments, this step is an optional step, such as when the service manager is configured not to perform this step. In this step, the service manager identifies whether the device is allowed to access the work based on the service profile of the computing service. The service manager can obtain the service profile from the service data repository. For example, if the device is identified in the device information in the routine data within the service profile, the device is allowed to access the work, and the routine data is associated with a routine belonging to a task, and the task belongs to the work. If the device is not allowed to access the work, the service manager responds to the device through the access manager to indicate that the service request is denied and stops the process step.

在一些实施例中,访问管理器的授权1410和服务管理器的授权1420中的一个就足够。In some embodiments, one of the access manager's authorization 1410 and the service manager's authorization 1420 is sufficient.

在一些实施例中,服务管理器310可以通过设备添加过程将设备添加到工作的执行中。在这种情况下,如果工作没有在执行,则服务管理器可以触发执行工作。如果工作正在执行,则此步骤为可选步骤。In some embodiments, the service manager 310 can add a device to the execution of the work through the device adding process. In this case, if the work is not being executed, the service manager can trigger the execution of the work. If the work is being executed, this step is an optional step.

在一些实施例中,工作管理器315由服务管理器310选择以根据工作单执行工作。例如,工作单可以从应用控制器365接收或由服务管理器310生成,如下所述。In some embodiments, work manager 315 is selected by service manager 310 to perform work according to a work order. For example, a work order may be received from application controller 365 or generated by service manager 310, as described below.

服务管理器310触发执行工作的选择至少有两个。There are at least two options for the service manager 310 to trigger the execution of work.

服务管理器310触发执行工作的第一选择是服务管理器310向应用控制器365发送(1425)关于待执行工作的通知。通知包括标识计算服务的信息和标识工作的信息。在通知后,应用控制器365可以发送(1430)待执行工作的工作单。应用控制器的请求(称为工作单)通过服务管理器310发送到工作管理器315。工作管理器由服务管理器选择。工作管理器通过服务管理器向应用控制器确认工作单。然后,应用控制器向服务管理器发送确认,以指示接收到通知。此确认向应用控制器指示工作正在执行。The first option for the service manager 310 to trigger the execution of work is for the service manager 310 to send (1425) a notification to the application controller 365 regarding the work to be performed. The notification includes information identifying the computing service and information identifying the work. After the notification, the application controller 365 can send (1430) a work order for the work to be performed. The application controller's request (called a work order) is sent to the work manager 315 through the service manager 310. The work manager is selected by the service manager. The work manager confirms the work order to the application controller through the service manager. The application controller then sends a confirmation to the service manager to indicate that the notification was received. This confirmation indicates to the application controller that the work is being executed.

服务管理器触发执行工作的第二选择是服务管理器代表应用控制器请求执行工作。服务管理器310选择工作管理器并向工作管理器315发送(1435)工作单(执行工作的请求)。工作管理器可以向服务管理器确认工作单。The second option for the service manager to trigger the execution of work is that the service manager requests the execution of work on behalf of the application controller. The service manager 310 selects a work manager and sends (1435) a work order (request to execute work) to the work manager 315. The work manager can confirm the work order to the service manager.

无论工作单来自应用控制器365还是来自服务管理器310,工作单都包括标识计算服务的信息和标识工作的信息。工作单还可以包括标识所述单(即,工作单)的信息,所述信息可以由服务管理器310生成。工作管理器根据工作单从服务数据存储库335获取工作数据,所述工作数据与工作相关联并且是计算服务的服务简档的一部分。Regardless of whether the work order comes from application controller 365 or service manager 310, the work order includes information identifying the computing service and information identifying the work. The work order may also include information identifying the order (i.e., the work order), which may be generated by service manager 310. Based on the work order, the work manager obtains work data from service data repository 335, which is associated with the work and is part of the service profile of the computing service.

在一些实施例中,工作单指示一个或多个触发条件。一个或多个触发条件由工作管理器评估。当满足一个或多个触发条件中的一个触发条件时,工作管理器执行工作。例如,触发条件可以是请求访问工作的设备的数量等于或大于阈值k,值k是正值。值k可以是1,意味着一旦存在服务功能实例(它是与工作相关联的服务功能的实例,并且可以是此过程中的设备)请求或尝试访问工作时,工作执行就开始。值k可以大于1,例如与k-匿名提供有关。在一些实施例中,工作管理器在接收到工作单时执行工作(即工作管理器被触发以根据工作单执行工作)。In some embodiments, the work order indicates one or more trigger conditions. The one or more trigger conditions are evaluated by the work manager. When one of the one or more trigger conditions is met, the work manager performs the work. For example, the trigger condition can be that the number of devices requesting access to the work is equal to or greater than a threshold k, and the value k is a positive value. The value k can be 1, meaning that the work execution begins as soon as there is a service function instance (which is an instance of the service function associated with the work, and can be a device in this process) requesting or attempting to access the work. The value k can be greater than 1, for example in connection with k-anonymity provision. In some embodiments, the work manager performs the work when a work order is received (i.e., the work manager is triggered to perform the work according to the work order).

当执行工作时,工作管理器从工作数据中标识工作中包括的一个或多个任务,并且对于这些一个或多个任务中的每个任务,工作管理器选择任务管理器来管理该任务,并触发任务管理器执行该任务。当工作包括多个任务时,工作管理器根据工作数据中指示的任务间依赖关系信息触发执行任务。工作管理器触发按顺序执行相互依赖的任务。也就是说,在执行第二任务之后(即,在已经执行第二任务之后),工作管理器触发执行依赖于第二任务(如任务间依赖关系信息所指示的)的第一任务。在一些实施例中,工作管理器触发并行(即,同时)执行不具有相互依赖关系(如任务间依赖关系信息中所指示的)的任务。When executing a job, the job manager identifies one or more tasks included in the job from the job data, and for each of these one or more tasks, the job manager selects a task manager to manage the task and triggers the task manager to execute the task. When the job includes multiple tasks, the job manager triggers the execution of the tasks according to the inter-task dependency information indicated in the job data. The job manager triggers the execution of interdependent tasks in sequence. That is, after executing the second task (i.e., after the second task has been executed), the job manager triggers the execution of the first task that depends on the second task (as indicated by the inter-task dependency information). In some embodiments, the job manager triggers the parallel (i.e., simultaneous) execution of tasks that do not have interdependencies (as indicated in the inter-task dependency information).

然后,服务管理器310通过向工作管理器发送通知来通知(1440)工作管理器315设备350正在访问(或请求访问)工作。通知包括标识设备的信息、标识工作的信息和标识计算服务的信息。工作管理器由服务管理器根据标识计算服务的信息和/或标识工作的信息选择。在一些实施例中,当工作单源自服务管理器时,此步骤可以与工作单1435集成,其中,通知与从服务管理器发送到工作管理器的工作单集成(例如,工作单包括通知)。The service manager 310 then notifies (1440) the work manager 315 that the device 350 is accessing (or requesting access to) a work by sending a notification to the work manager. The notification includes information identifying the device, information identifying the work, and information identifying the computing service. The work manager is selected by the service manager based on the information identifying the computing service and/or the information identifying the work. In some embodiments, this step can be integrated with the work order 1435 when the work order originates from the service manager, wherein the notification is integrated with the work order sent from the service manager to the work manager (e.g., the work order includes the notification).

根据与工作相关联的工作数据,工作管理器可以标识分别与表示设备的服务功能相关联的例程。设备是服务功能的一个实例。对于每个标识的例程,工作管理器进一步标识例程所属的任务,其中,任务属于工作,并且工作管理器执行以下操作以确保在工作的执行期间执行任务时考虑设备。Based on the work data associated with the work, the work manager can identify routines respectively associated with service functions representing devices. A device is an instance of a service function. For each identified routine, the work manager further identifies a task to which the routine belongs, wherein a task belongs to the work, and the work manager performs the following operations to ensure that the device is considered when executing the task during the execution of the work.

如果任务当前未在执行,则工作管理器315可以在触发在未来时间执行任务时将设备添加(1445)到考虑中。也就是说,在触发任务管理器执行任务时,工作管理器315向任务管理器发送任务请求。任务请求包括标识计算服务的信息和标识任务的信息。任务请求指示设备加入任务,并包括标识设备的信息。工作管理器315根据多个因素决定触发或何时触发执行任务,如关于工作执行的通知(1425)和(1435)所述。If the task is not currently executing, the work manager 315 can add (1445) the device to be considered when triggering the task to be executed at a future time. That is, when triggering the task manager to execute the task, the work manager 315 sends a task request to the task manager. The task request includes information identifying the computing service and information identifying the task. The task request instructs the device to join the task and includes information identifying the device. The work manager 315 decides to trigger or when to trigger the execution of the task based on a number of factors, as described in the notifications (1425) and (1435) regarding the execution of the work.

如果任务当前正在执行,则工作管理器315将设备添加(1445)到任务的执行中。也就是说,工作管理器315标识或选择任务管理器(管理任务),并向任务管理器发送任务更新请求。任务更新请求包括标识计算服务的信息和标识任务的信息。任务更新请求指示设备加入任务,并包括标识设备的信息。任务更新请求还可以包括标识例程的信息。If the task is currently executing, the work manager 315 adds (1445) the device to the execution of the task. That is, the work manager 315 identifies or selects the task manager (managing the task) and sends a task update request to the task manager. The task update request includes information identifying the computing service and information identifying the task. The task update request indicates that the device joins the task and includes information identifying the device. The task update request may also include information identifying the routine.

在任一种情况下,任务管理器都可以根据从工作管理器接收到的请求(任务请求或任务更新请求)执行以下操作。任务管理器可以标识例程,每个例程与表示设备的服务功能相关联。任务管理器可以根据与任务相关联的任务数据和相关的例程数据来标识例程。对于每个标识的例程,任务管理器根据例程是本地例程还是外来例程,执行以下操作之一。In either case, the task manager may perform the following operations based on the request (task request or task update request) received from the work manager. The task manager may identify routines, each routine being associated with a service function representing a device. The task manager may identify routines based on task data and related routine data associated with the task. For each identified routine, the task manager may perform one of the following operations based on whether the routine is a local routine or an external routine.

在例程是本地例程的情况下,任务管理器通知例程管理器邀请设备加入例程的执行,其中,例程的执行是任务的执行的一部分,并且例程管理器管理例程执行。任务管理器通过向例程管理器发送通知来通知例程管理器,所述通知包括标识设备的信息。In the case where the routine is a local routine, the task manager notifies the routine manager to invite the device to join the execution of the routine, wherein the execution of the routine is part of the execution of the task, and the routine manager manages the routine execution. The task manager notifies the routine manager by sending a notification to the routine manager, the notification including information identifying the device.

在例程是外来例程的情况下,任务管理器请求服务管理器将设备添加到对应外来工作的执行中,其中,外来工作的执行与任务的执行相关联或相关。请求包括标识设备的信息,并被发送到服务管理器,服务管理器310是管理对应外来服务的服务管理器。然后,服务管理器310标识外来服务内的工作,所述工作对应于请求中标识的外来工作,并通过设备添加过程将设备添加到外来服务内标识的工作的执行中。外来服务内标识的工作的执行对应于与任务的执行相关联的外来工作的执行。在一些实施例中,外来工作和标识的工作是同一工作,例如,当外来工作通过远程连接被重用时,如外来服务的服务简档中所指示。在一些实施例中,外来工作和标识的工作是不同的工作,并且特别地,当标识的工作是外来工作的副本(duplicate/replica)时,例如,外来工作通过如外来服务的服务简档中指示的新部署并通过实例化服务435而被重用。In the case where the routine is an external routine, the task manager requests the service manager to add the device to the execution of the corresponding external work, wherein the execution of the external work is associated or related to the execution of the task. The request includes information identifying the device and is sent to the service manager, and the service manager 310 is a service manager that manages the corresponding external service. Then, the service manager 310 identifies the work within the external service, which corresponds to the external work identified in the request, and adds the device to the execution of the work identified in the external service through the device addition process. The execution of the work identified in the external service corresponds to the execution of the external work associated with the execution of the task. In some embodiments, the external work and the identified work are the same work, for example, when the external work is reused through a remote connection, as indicated in the service profile of the external service. In some embodiments, the external work and the identified work are different works, and in particular, when the identified work is a copy (duplicate/replica) of the external work, for example, the external work is reused by a new deployment as indicated in the service profile of the external service and by instantiating the service 435.

然后,工作管理器315可以通过向服务管理器310发送(1450)确认来确认设备到达,所述确认指示接收到设备到达通知。The work manager 315 may then confirm the device arrival by sending (1450) an acknowledgement to the service manager 310 indicating receipt of the device arrival notification.

然后,服务管理器310可以通过向访问管理器305发送(1455)关于服务请求的响应来响应服务请求,所述访问管理器305可以向设备350中继(1460)响应,以指示服务请求被接受。当向访问管理器305发送响应(1455)时,服务管理器310还可以向访问管理器305提供关于工作管理器315的信息。关于工作管理器315的信息可以包括标识访问管理器305的信息,例如ID和/或网络地址(例如IP地址)。根据该信息,访问管理器305知道工作管理器315正在管理工作(换句话说,工作的执行)。The service manager 310 may then respond to the service request by sending (1455) a response regarding the service request to the access manager 305, which may relay (1460) the response to the device 350 to indicate that the service request is accepted. When sending the response (1455) to the access manager 305, the service manager 310 may also provide the access manager 305 with information about the work manager 315. The information about the work manager 315 may include information identifying the access manager 305, such as an ID and/or a network address (e.g., an IP address). Based on this information, the access manager 305 knows that the work manager 315 is managing the work (in other words, the execution of the work).

在一些实施例中,在访问管理器305已经授权(1410)服务请求、工作已经执行,并且访问管理器305知道工作管理器315之后,访问管理器305可以直接向工作管理器315发送请求(1415)。向工作管理器315发送的请求可以包括或指示向工作管理器315的通知,所述通知用于通知设备350正在访问(或请求访问)工作。在这种情况下,工作管理器315可以将设备添加(1445)到任务的执行的考虑中,然后直接向访问管理器305发送响应,所述响应可以包括或指示确认。上述可以视为访问消息305使用请求(1415)与工作管理器315发起设备添加过程。In some embodiments, after the access manager 305 has authorized (1410) the service request, the work has been performed, and the access manager 305 is aware of the work manager 315, the access manager 305 can send a request (1415) directly to the work manager 315. The request sent to the work manager 315 can include or indicate a notification to the work manager 315 that the device 350 is accessing (or requesting access to) the work. In this case, the work manager 315 can add (1445) the device to be considered for execution of the task and then send a response directly to the access manager 305, which response can include or indicate a confirmation. The above can be viewed as the access message 305 initiating the device addition process with the work manager 315 using the request (1415).

在一些实施例中,在服务管理器310已经向工作管理器发送(1435)工作单之后,服务管理器310可以向访问管理器305发送(1455)关于服务请求的响应。根据响应(1455),访问管理器可以直接与工作管理器315执行设备添加过程,如上所述。In some embodiments, after the service manager 310 has sent 1435 the work order to the work manager, the service manager 310 may send 1455 a response regarding the service request to the access manager 305. Based on the response 1455, the access manager may perform the device add process directly with the work manager 315, as described above.

在一个实施例中,应用控制器可以通过经由服务管理器向工作管理器发送请求来请求执行与第一计算服务相关联的第一工作。在一些实施例中,代表应用控制器的服务管理器可以通过从服务管理器向工作管理器发送请求来请求执行第一工作。在任一种情况下,请求都可以称为工作单。工作单包括标识工作单的信息、标识第一工作的信息和标识第一计算服务的信息。In one embodiment, the application controller may request to perform a first job associated with the first computing service by sending a request to the job manager via the service manager. In some embodiments, the service manager on behalf of the application controller may request to perform the first job by sending a request from the service manager to the job manager. In either case, the request may be referred to as a work order. The work order includes information identifying the work order, information identifying the first job, and information identifying the first computing service.

工作单本身可以包括指定一个或多个触发条件的信息。工作管理器评估触发条件。当满足至少一个条件时,或者在一些实施例中,当满足所有条件时,工作管理器执行工作单,即执行工作单中标识的第一工作。工作管理器生成标识第一工作的执行的信息,并使用标识第一工作的执行的信息来管理第一工作的执行。标识第一工作的执行的信息可以称为区分器,因为它将工作单的一个执行与同一工作单的另一个执行区分开来。The work order itself may include information specifying one or more triggering conditions. The work manager evaluates the triggering conditions. When at least one of the conditions is met, or in some embodiments, when all of the conditions are met, the work manager executes the work order, i.e., executes the first work identified in the work order. The work manager generates information identifying the execution of the first work and uses the information identifying the execution of the first work to manage the execution of the first work. The information identifying the execution of the first work can be referred to as a differentiator because it distinguishes one execution of the work order from another execution of the same work order.

第一工作包括第一任务。工作管理器从与第一工作相关联的工作数据中获取标识第一任务的信息。与第一工作相关联的工作数据包括在第一计算服务的服务简档中。在一些实施例中,工作管理器从服务数据存储库获取服务简档。当执行第一工作时,工作管理器请求或触发任务管理器执行第一任务,其中,工作管理器向任务管理器提供标识第一工作的执行的信息、标识第一任务的信息和标识第一计算服务的信息。因此,任务管理器知道工作管理器管理第一工作的执行,并维护关于工作管理器的信息。任务管理器根据工作管理器的请求执行第一任务,并管理第一任务的执行。任务管理器将第一任务的执行视为第一工作的执行的一部分,并使用标识第一任务的信息和标识第一工作的执行的信息一起标识第一任务的执行。The first work includes a first task. The work manager obtains information identifying the first task from work data associated with the first work. The work data associated with the first work is included in a service profile of a first computing service. In some embodiments, the work manager obtains the service profile from a service data repository. When executing the first work, the work manager requests or triggers the task manager to execute the first task, wherein the work manager provides the task manager with information identifying the execution of the first work, information identifying the first task, and information identifying the first computing service. Therefore, the task manager knows that the work manager manages the execution of the first work and maintains information about the work manager. The task manager executes the first task according to the request of the work manager and manages the execution of the first task. The task manager regards the execution of the first task as part of the execution of the first work, and uses the information identifying the first task and the information identifying the execution of the first work together to identify the execution of the first task.

第一任务包括例程。任务管理器从与第一任务相关联的任务数据中获取标识例程的信息。如果例程是外来例程,即,如果例程与表示外来工作的服务功能(其是符号功能)相关联,并且如果外来工作没有根据任务管理器的知识执行,则当执行第一任务时,任务管理器请求服务管理器执行外来工作。如果外来工作确实没有在执行,则根据请求,服务管理器通过选择工作管理器并向工作管理器发送工作单来触发执行外来工作。否则,服务管理器必须已经通过选择工作管理器并向工作管理器发送工作单来触发执行外来工作。在任一种情况下,服务管理器响应任务管理器的请求,向任务管理器发送标识工作单的信息,并且任务管理器相应地知道外来工作正在被执行。The first task includes a routine. The task manager obtains information identifying the routine from the task data associated with the first task. If the routine is an external routine, that is, if the routine is associated with a service function (which is a symbolic function) representing external work, and if the external work is not performed according to the knowledge of the task manager, then when executing the first task, the task manager requests the service manager to perform the external work. If the external work is indeed not being performed, then according to the request, the service manager triggers the execution of the external work by selecting a work manager and sending a work order to the work manager. Otherwise, the service manager must have triggered the execution of the external work by selecting a work manager and sending a work order to the work manager. In either case, the service manager responds to the request of the task manager, sends information identifying the work order to the task manager, and the task manager accordingly knows that the external work is being performed.

如果例程是本地例程,即,如果例程不与表示外来工作的任何服务功能相关联,则当执行第一任务时,任务管理器生成标识例程的执行的信息(例如,执行ID)并请求或触发例程管理器执行例程,其中,任务管理器向例程管理器提供标识例程执行的信息、标识例程的信息和标识计算服务的信息。由于例程执行是第一任务的执行的一部分,任务管理器维护标识例程执行的信息与标识第一任务的执行的信息(即,标识第一任务的信息和标识第一工作的执行的信息的组合)之间的映射。例程管理器根据任务管理器的请求执行例程,并管理例程执行。If the routine is a local routine, that is, if the routine is not associated with any service function representing an external work, when executing the first task, the task manager generates information identifying the execution of the routine (e.g., execution ID) and requests or triggers the routine manager to execute the routine, wherein the task manager provides the routine manager with information identifying the execution of the routine, information identifying the routine, and information identifying the computing service. Since the routine execution is part of the execution of the first task, the task manager maintains a mapping between the information identifying the routine execution and the information identifying the execution of the first task (i.e., a combination of the information identifying the first task and the information identifying the execution of the first work). The routine manager executes the routine according to the request of the task manager and manages the routine execution.

当执行例程时(即在例程执行期间),例程管理器邀请与例程管理器相关联的一些服务功能实例加入例程执行,其中,服务功能实例是与例程相关联的服务功能实例。当邀请服务功能实例时,例程管理器向服务功能实例提供标识例程的信息和标识例程执行的信息。在服务功能实例接受邀请之后,例程管理器触发服务功能实例执行用于例程执行的数据通信。When executing a routine (i.e., during the execution of the routine), the routine manager invites some service function instances associated with the routine manager to join the routine execution, wherein the service function instances are service function instances associated with the routine. When inviting the service function instances, the routine manager provides the service function instances with information identifying the routine and information identifying the execution of the routine. After the service function instances accept the invitation, the routine manager triggers the service function instances to perform data communication for the execution of the routine.

在例程执行期间,例程管理器可以通过隐私路由器接收来自服务功能实例的通知。服务功能实例是上述服务功能实例之一,隐私路由器与服务功能实例相关联。来自服务功能实例的通知可以指示需要与例程执行相关的任务级上下文同步。任务级上下文同步意味着第一任务的执行需要同步到计算上下文。来自服务功能实例的通知包括标识例程执行的信息。通知还可以包括标识计算上下文(即“上下文”)的信息(例如上下文ID)。根据来自服务功能实例的通知,例程管理器通过图15所示的上下文同步过程请求执行任务级上下文同步。例程管理器通过任务管理器向工作管理器发送上下文同步请求,其中,任务管理器处理请求(即通过执行信息映射),并向工作管理器发送处理后的请求。然后,工作管理器根据从任务管理器接收到的请求执行任务级上下文同步。然后,工作管理器响应任务管理器,而任务管理器继而响应例程管理器。之后,例程管理器可以回复服务功能实例,以指示任务级上下文同步完成。During the execution of the routine, the routine manager may receive a notification from the service function instance through the privacy router. The service function instance is one of the service function instances described above, and the privacy router is associated with the service function instance. The notification from the service function instance may indicate that task-level context synchronization related to the execution of the routine is required. Task-level context synchronization means that the execution of the first task needs to be synchronized to the computing context. The notification from the service function instance includes information identifying the execution of the routine. The notification may also include information (e.g., context ID) identifying the computing context (i.e., "context"). Based on the notification from the service function instance, the routine manager requests to perform task-level context synchronization through the context synchronization process shown in FIG. 15. The routine manager sends a context synchronization request to the work manager through the task manager, wherein the task manager processes the request (i.e., by performing information mapping) and sends the processed request to the work manager. Then, the work manager performs task-level context synchronization according to the request received from the task manager. Then, the work manager responds to the task manager, and the task manager in turn responds to the routine manager. Afterwards, the routine manager may reply to the service function instance to indicate that the task-level context synchronization is complete.

图15示出了实施例提供的例程管理器、任务管理器与工作管理器之间的上下文同步过程。FIG. 15 shows a context synchronization process among a routine manager, a task manager and a work manager provided by an embodiment.

首先,例程管理器340通过向任务管理器320发送(1505)上下文同步请求来请求执行任务级上下文同步。上下文同步请求包括标识例程执行的信息。请求还可以包括标识上下文的信息(例如,上下文ID)。First, the routine manager 340 requests to perform task-level context synchronization by sending (1505) a context synchronization request to the task manager 320. The context synchronization request includes information identifying the routine execution. The request may also include information identifying the context (eg, context ID).

然后,任务管理器处理从例程管理器接收到的上下文同步请求。任务管理器将标识例程执行的信息映射到标识第一任务的信息和标识第一工作的执行的信息。任务管理器320通过向工作管理器315发送(1510)上下文同步请求来请求上下文同步,所述上下文同步请求包括标识第一任务的信息和标识第一工作的执行的信息。发送到工作管理器的上下文同步请求可以视为任务管理器处理从例程管理器接收到的上下文同步请求的结果。The task manager then processes the context synchronization request received from the routine manager. The task manager maps the information identifying the routine execution to the information identifying the first task and the information identifying the execution of the first work. The task manager 320 requests context synchronization by sending (1510) a context synchronization request to the work manager 315, wherein the context synchronization request includes the information identifying the first task and the information identifying the execution of the first work. The context synchronization request sent to the work manager can be regarded as the result of the task manager processing the context synchronization request received from the routine manager.

然后,根据标识第一工作的执行的信息,工作管理器标识第一工作和第一计算服务,其中,所述信息在从任务管理器接收的上下文同步请求中。根据标识第一任务的信息(所述信息在从任务管理器接收的上下文同步请求中)和与第一工作相关联的工作数据(所述工作数据是第一计算服务的服务简档的一部分),工作管理器315标识(1515)需要上下文同步的第二任务。第二任务属于第一工作。如果第二任务不存在(或无法标识),则此步骤为可选步骤。The work manager then identifies the first work and the first computing service based on information identifying the execution of the first work, wherein the information is in the context synchronization request received from the task manager. Based on the information identifying the first task (the information is in the context synchronization request received from the task manager) and work data associated with the first work (the work data is part of the service profile of the first computing service), the work manager 315 identifies (1515) a second task that requires context synchronization. The second task belongs to the first work. If the second task does not exist (or cannot be identified), this step is optional.

然后,工作管理器315请求(1520)去激活第一任务执行(第一任务的执行是第一工作的执行的一部分),以发起任务去激活过程。The work manager 315 then requests (1520) to deactivate the first task execution (the execution of the first task being part of the execution of the first work) to initiate the task deactivation process.

然后,工作管理器315请求(1525)去激活第二任务执行(第二任务的执行是第一工作的执行的一部分),以发起任务去激活过程。如果第二任务不存在,则此步骤为可选步骤。Then, the work manager 315 requests (1525) to deactivate the second task execution (the execution of the second task is part of the execution of the first work) to initiate the task deactivation process. If the second task does not exist, this step is an optional step.

然后,工作管理器315通过分配用于标识上下文的信息来生成(1530)上下文ID。如果上下文同步请求(1505)包括标识上下文的信息,则此步骤为可选步骤。Then, the work manager 315 generates (1530) a context ID by assigning information for identifying the context. If the context synchronization request (1505) includes information identifying the context, this step is an optional step.

然后,工作管理器315请求(1535)激活第一任务执行(第一任务的执行已经被去激活(1520)),以发起任务激活过程。由工作管理器发送(1535)的请求包括标识上下文的信息,所述信息包括在例程管理器的上下文同步的请求(1505)中,或者由工作管理器315生成(1530)。The work manager 315 then requests (1535) to activate the first task execution (the execution of the first task has been deactivated (1520)) to initiate the task activation process. The request sent (1535) by the work manager includes information identifying the context, which is included in the request for context synchronization of the routine manager (1505) or generated (1530) by the work manager 315.

然后,工作管理器315请求(1540)激活第二任务执行(第二任务的执行先前已去激活(1525)),以发起任务去激活过程。由工作管理器315发送的请求包括标识上下文的信息,所述信息包括在例程管理器的上下文同步的请求(1505)中,或者在请求(1535)激活第一任务执行时生成(1530)。如果第二任务不存在,则此步骤为可选步骤。The work manager 315 then requests (1540) activation of the second task execution (the execution of the second task was previously deactivated (1525)) to initiate the task deactivation process. The request sent by the work manager 315 includes information identifying the context, which is included in the request (1505) of the routine manager's context synchronization, or generated (1530) when requesting (1535) activation of the first task execution. This step is optional if the second task does not exist.

然后,工作管理器315关于上下文同步请求(1510)响应(1545)任务管理器,以指示任务级上下文同步已完成。此步骤为可选步骤。Then, the work manager 315 responds (1545) to the task manager regarding the context synchronization request (1510) to indicate that the task-level context synchronization has been completed. This step is an optional step.

然后,任务管理器320针对上下文同步请求(1510)响应(1550)例程管理器340,以指示任务级上下文同步已完成。此步骤为可选步骤。Then, the task manager 320 responds (1550) to the routine manager 340 for the context synchronization request (1510) to indicate that the task level context synchronization has been completed. This step is an optional step.

上下文同步过程图15涉及任务去激活过程1520、1530和激活过程1535、1540,两者都可以包括如图16所示的多个过程步骤。Context Synchronization Process FIG. 15 involves task deactivation processes 1520 , 1530 and activation processes 1535 , 1540 , both of which may include multiple process steps as shown in FIG. 16 .

图16示出了实施例提供的任务激活或去激活过程,其中,工作管理器请求激活或去激活任务执行。任务执行是指任务的执行,所述任务属于与计算服务相关联的工作。任务执行是工作的执行的一部分。换句话说,工作的执行包括任务执行。任务执行包括例程执行,即属于任务的例程的执行。工作管理器的请求被发送到管理任务执行的一个或多个任务管理器,所述一个或多个任务管理器相应地去激活或激活其例程的执行。FIG. 16 illustrates a task activation or deactivation process provided by an embodiment, wherein a work manager requests activation or deactivation of task execution. Task execution refers to the execution of a task that belongs to a work associated with a computing service. Task execution is part of the execution of a work. In other words, the execution of a work includes task execution. Task execution includes routine execution, i.e., the execution of a routine that belongs to a task. The work manager's request is sent to one or more task managers that manage task execution, and the one or more task managers deactivate or activate the execution of their routines accordingly.

首先,工作管理器315标识与任务相关联的任务管理器320,即管理任务执行的任务管理器。工作管理器可以通过向每个任务管理器发送去激活或激活任务执行的请求来请求(1605)任务激活或去激活。请求(1605)包括标识任务执行的信息,所述信息包括标识工作的执行的信息和标识任务的信息。如果请求是激活任务执行,则请求还可以包括标识上下文的信息(即上下文ID),任务执行应该同步到所述上下文。在一些实施例中,请求包括标识工作的信息和标识计算服务的信息。First, the work manager 315 identifies the task manager 320 associated with the task, i.e., the task manager that manages the execution of the task. The work manager can request (1605) task activation or deactivation by sending a request to each task manager to deactivate or activate the task execution. The request (1605) includes information identifying the task execution, and the information includes information identifying the execution of the work and information identifying the task. If the request is to activate the task execution, the request may also include information identifying the context (i.e., context ID), and the task execution should be synchronized to the context. In some embodiments, the request includes information identifying the work and information identifying the computing service.

请求(1605)在涉及去激活任务执行的情况下称为任务去激活请求,而在涉及激活任务执行的情况下称为任务激活请求。The request (1605) is referred to as a task deactivation request when it concerns deactivating task execution, and is referred to as a task activation request when it concerns activating task execution.

然后,已经从工作管理器接收到任务激活或去激活请求(1605)的任务管理器标识属于任务的本地例程,所述任务在任务激活或去激活请求中被标识。对于每个标识的本地例程,任务管理器还可以标识例程管理器,所述例程管理器管理例程并根据任务激活或去激活请求执行以下操作。Then, the task manager that has received the task activation or deactivation request (1605) from the work manager identifies the local routines belonging to the task that is identified in the task activation or deactivation request. For each identified local routine, the task manager can also identify the routine manager that manages the routine and performs the following operations according to the task activation or deactivation request.

任务管理器基于标识工作的执行的信息(所述信息在任务激活或去激活请求中)来标识例程的执行,其中,例程的执行(即,例程执行)是任务执行(在任务激活或去激活请求中标识)的一部分。任务管理器320向每个例程管理器340发送(1610)去激活例程执行(在任务去激活请求的情况下)或激活例程执行(在任务激活请求的情况下)的请求,所述请求包括标识例程执行的信息。在一些实施例中,请求包括标识例程的信息和标识计算服务的信息。The task manager identifies the execution of the routine based on information identifying the execution of the work (the information is in the task activation or deactivation request), wherein the execution of the routine (i.e., the routine execution) is part of the task execution (identified in the task activation or deactivation request). The task manager 320 sends (1610) a request to deactivate the routine execution (in the case of a task deactivation request) or activate the routine execution (in the case of a task activation request) to each routine manager 340, the request including the information identifying the routine execution. In some embodiments, the request includes the information identifying the routine and the information identifying the computing service.

当发送(1610)到每个例程管理器340的请求是激活例程执行时,所述请求可以包括标识上下文的信息,所述信息是之前接收(1605)的。When the request sent (1610) to each routine manager 340 is to activate routine execution, the request may include information identifying the context, which was previously received (1605).

发送(1610)到每个例程管理器340的请求在去激活例程执行的情况下称为例程去激活,在激活例程执行请求的情况下称为例程激活。The request sent (1610) to each routine manager 340 is referred to as routine deactivation in the case of a request to deactivate routine execution and is referred to as routine activation in the case of a request to activate routine execution.

然后,已经接收到例程激活或去激活请求(1610)的例程管理器可以直接(如果请求包括标识例程的信息)或间接(通过将请求中的标识例程执行的信息映射到标识例程的信息)从请求中获取标识例程的信息,并且根据请求执行以下操作。The routine manager that has received the routine activation or deactivation request (1610) can then obtain the information identifying the routine from the request directly (if the request includes information identifying the routine) or indirectly (by mapping the information identifying the routine execution in the request to the information identifying the routine) and perform the following operations according to the request.

如果请求是例程去激活请求,则例程管理器340可以去激活(1615)请求中标识的本地例程执行。例程管理器向与例程管理器相关联的服务功能实例发送通信去激活请求,以暂停或去激活与例程执行相关联的数据通信,其中,所述服务功能实例是与例程相关联的服务功能的实例。通信去激活请求可以通过与服务功能实例相关联的隐私路由器发送到服务功能实例。通信去激活请求可以包括标识本地例程执行的信息、标识本地例程的信息,以及标识计算服务的信息。通信去激活请求还可以包括标识本地例程执行当前同步到的上下文的信息。If the request is a routine deactivation request, the routine manager 340 may deactivate (1615) the local routine execution identified in the request. The routine manager sends a communication deactivation request to a service function instance associated with the routine manager to suspend or deactivate data communications associated with the routine execution, wherein the service function instance is an instance of a service function associated with the routine. The communication deactivation request may be sent to the service function instance via a privacy router associated with the service function instance. The communication deactivation request may include information identifying the local routine execution, information identifying the local routine, and information identifying the computing service. The communication deactivation request may also include information identifying the context to which the local routine execution is currently synchronized.

在接收到通信去激活请求之后,每个隐私路由器相应地暂停(或停止或中止)处理或转发与例程的执行相关联的数据流量。在一些实施例中,每个隐私路由器还根据通信去激活请求丢弃数据流量。After receiving the communication deactivation request, each privacy router accordingly suspends (or stops or terminates) processing or forwarding data traffic associated with the execution of the routine. In some embodiments, each privacy router also discards data traffic according to the communication deactivation request.

每个隐私路由器可以向与隐私路由器和例程相关联的服务功能实例转发通信去激活请求。在接收到通信去激活请求时,每个服务功能实例相应地暂停(或停止,或中止)发送与例程的执行相关联的数据服务。Each privacy router can forward the communication deactivation request to the service function instance associated with the privacy router and the routine. Upon receiving the communication deactivation request, each service function instance correspondingly suspends (or stops, or terminates) sending data services associated with the execution of the routine.

如果请求(1610)是例程激活请求,则例程管理器340激活(1615)在请求中标识的例程执行。例程管理器向与例程管理器相关联的所述服务功能实例发送通信激活请求,以恢复或激活与例程执行相关联的数据通信,其中,所述服务功能实例是与路由相关联的服务功能的实例。通信激活请求是通过与服务功能实例相关联的隐私路由器向服务功能实例发送的。通信激活请求包括标识例程执行的信息、标识例程的信息,以及标识计算服务的信息。通信激活请求还可以包括在例程激活请求中接收的标识上下文的信息。上下文是例程执行要同步到的上下文。If the request (1610) is a routine activation request, the routine manager 340 activates (1615) the routine execution identified in the request. The routine manager sends a communication activation request to the service function instance associated with the routine manager to resume or activate data communications associated with the routine execution, wherein the service function instance is an instance of a service function associated with routing. The communication activation request is sent to the service function instance via a privacy router associated with the service function instance. The communication activation request includes information identifying the routine execution, information identifying the routine, and information identifying the computing service. The communication activation request may also include information identifying a context received in the routine activation request. A context is a context to which the routine execution is to be synchronized.

在接收到通信激活请求之后,每个隐私路由器相应地激活(或恢复、或重启、或开始)处理或转发与例程的执行相关联的数据流量。After receiving the communication activation request, each privacy router accordingly activates (or resumes, or restarts, or starts) processing or forwarding data traffic associated with the execution of the routine.

每个隐私路由器向与隐私路由器和例程相关联的服务功能实例转发通信激活请求。在接收到通信激活请求时,每个服务功能实例相应地激活(或恢复、或重启、或开始)发送与例程的执行相关联的数据服务。Each privacy router forwards the communication activation request to the service function instance associated with the privacy router and the routine. Upon receiving the communication activation request, each service function instance correspondingly activates (or resumes, or restarts, or starts) the data service associated with the execution of the routine.

如果通信激活请求包括标识上下文的信息,则当发送数据流量时,每个服务功能实例通过将信息包括在数据流量中(例如,在消息头中)将数据流量与上下文相关联。If the communication activation request includes information identifying the context, then when sending data traffic, each service function instance associates the data traffic with the context by including the information in the data traffic (eg, in a message header).

然后,已经从任务管理器320接收到例程激活或去激活请求(1610)的例程管理器340向任务管理器320发送例程激活或去激活响应(1620),以指示在例程激活或去激活请求中标识的例程已相应地被激活或去激活(1615)。Then, the routine manager 340, which has received the routine activation or deactivation request (1610) from the task manager 320, sends a routine activation or deactivation response (1620) to the task manager 320 to indicate that the routine identified in the routine activation or deactivation request has been activated or deactivated accordingly (1615).

然后,已经接收到任务激活或去激活请求(1605)的任务管理器320标识属于任务并且作为任务执行的一部分而被执行的外来例程,所述任务在任务激活或去激活请求中被标识。任务管理器320激活或去激活(1625)相关的外来例程执行,即外来例程的执行作为任务执行的一部分。Then, the task manager 320 that has received the task activation or deactivation request (1605) identifies the foreign routines that belong to the task and are executed as part of the task execution, and the task is identified in the task activation or deactivation request. The task manager 320 activates or deactivates (1625) the execution of the relevant foreign routines, that is, the execution of the foreign routines as part of the task execution.

为了激活或去激活外来例程执行,任务管理器标识与外来例程相关联的外来功能。对于每个标识的外来功能,任务管理器320请求激活或去激活(1625)对应的外来工作执行(在任务执行期间由任务管理器触发的外来工作的执行),发起工作激活或去激活过程(如图17所示)。根据标识外来工作所属的外来计算服务的信息,将请求(在图17中示为元素1705)发送到任务管理器320所选择的服务管理器。标识外来计算服务的信息包括在与表示外来工作的外来功能相关联的服务功能数据中。发送到服务管理器的请求包括标识上下文的信息,所述信息首先从工作管理器接收(1605)。在外来例程执行被激活(1625)的情况下,上下文是外来工作执行要同步到的上下文。在外来例程执行被去激活(1625)的情况下,上下文是外来工作执行当前同步到的上下文。In order to activate or deactivate the execution of an external routine, the task manager identifies the external function associated with the external routine. For each identified external function, the task manager 320 requests to activate or deactivate (1625) the corresponding external work execution (the execution of the external work triggered by the task manager during the task execution), and initiates the work activation or deactivation process (as shown in Figure 17). According to the information identifying the external computing service to which the external work belongs, the request (shown as element 1705 in Figure 17) is sent to the service manager selected by the task manager 320. The information identifying the external computing service is included in the service function data associated with the external function representing the external work. The request sent to the service manager includes information identifying the context, which is first received from the work manager (1605). In the case where the external routine execution is activated (1625), the context is the context to which the external work execution is to be synchronized. In the case where the external routine execution is deactivated (1625), the context is the context to which the external work execution is currently synchronized.

如果这种外来例程或这种外来功能不存在,则外来例程执行的激活或去激活(1625)是可选的。这种激活或去激活(1625)可以与任务管理器320请求(1610)例程激活或去激活、例程管理器340激活或去激活(1615)本地例程执行、或例程管理器340响应于(1620)例程激活或激活请求并行执行。If such foreign routine or such foreign functionality does not exist, activation or deactivation (1625) of foreign routine execution is optional. Such activation or deactivation (1625) can be performed in parallel with the task manager 320 requesting (1610) a routine activation or deactivation, the routine manager 340 activating or deactivating (1615) native routine execution, or the routine manager 340 responding (1620) to a routine activation or activation request.

然后,已经接收到任务激活或去激活请求(1605)的任务管理器320可以向工作管理器315发送(1630)关于任务激活或去激活的响应,以指示在任务激活或去激活请求中标识的任务已经相应地被激活或去激活。Then, the task manager 320 having received the task activation or deactivation request (1605) may send (1630) a response regarding the task activation or deactivation to the work manager 315 to indicate that the task identified in the task activation or deactivation request has been activated or deactivated accordingly.

工作执行是指与计算服务相关联的工作的执行。工作的执行与工作单相关联或由工作单触发,工作单是由网络实体(如应用控制器)或代表应用控制器的服务管理器生成的。工作执行包括任务执行,即属于工作的任务的执行。网络实体的请求通过服务管理器发送到管理工作执行的工作管理器。工作管理器相应地去激活或激活工作执行的任务。Work execution refers to the execution of work associated with a computing service. The execution of work is associated with or triggered by a work order, which is generated by a network entity (such as an application controller) or a service manager on behalf of an application controller. Work execution includes task execution, i.e., the execution of tasks belonging to a work. Requests from network entities are sent through the service manager to the work manager that manages the work execution. The work manager deactivates or activates the tasks of the work execution accordingly.

图17示出了实施例提供的工作激活或去激活过程,其中,网络实体通过请求去激活或激活工作执行来发起工作激活或去激活过程。FIG. 17 illustrates a work activation or deactivation process provided by an embodiment, wherein a network entity initiates the work activation or deactivation process by requesting deactivation or activation of work execution.

首先,如任务管理器320等网络实体1702可以通过向服务管理器310发送工作激活或去激活的请求(1705)来请求激活或去激活工作执行。请求包括标识工作执行的信息。在一些实施例中,请求包括标识工作单的信息。请求可以称为工作激活或去激活请求,即在激活工作执行的情况下称为激活请求,在去激活工作执行的情况下称为去激活请求。First, a network entity 1702, such as a task manager 320, may request activation or deactivation of a work execution by sending a request (1705) for work activation or deactivation to the service manager 310. The request includes information identifying the work execution. In some embodiments, the request includes information identifying the work order. The request may be referred to as a work activation or deactivation request, i.e., an activation request in the case of activating the work execution and a deactivation request in the case of deactivating the work execution.

服务管理器310由网络实体1702根据标识计算服务的信息和标识工作单的信息中的任何一个来选择。The service manager 310 is selected by the network entity 1702 based on any one of the information identifying the computing service and the information identifying the work order.

当网络实体请求激活工作执行时,网络实体还可以在请求中包括标识上下文的信息(例如上下文ID)。这指示工作执行在被激活时应该同步到上下文。因此,可以同步工作执行。When the network entity requests activation of work execution, the network entity may also include information identifying the context (eg, context ID) in the request. This indicates that the work execution should be synchronized to the context when activated. Thus, the work execution may be synchronized.

然后,服务管理器310根据工作激活或去激活请求选择工作管理器315,并向服务或处理工作单的工作管理器315发送(1710)工作激活或去激活请求。Then, the service manager 310 selects a work manager 315 according to the work activation or deactivation request, and sends (1710) the work activation or deactivation request to the work manager 315 that services or processes the work order.

然后,工作管理器315根据从服务管理器310接收的请求(1710)激活或去激活(1715)工作执行。工作管理器标识属于工作的一个或多个任务,并激活或去激活这些任务的执行,这些执行(即任务执行)是工作执行的一部分或与工作执行相关联。为此,对于每个任务执行,工作管理器标识管理任务执行的一个或多个任务管理器,并通过图16所示的任务激活或去激活过程请求每个任务管理器激活或去激活任务执行。The work manager 315 then activates or deactivates (1715) the work execution based on the request (1710) received from the service manager 310. The work manager identifies one or more tasks belonging to the work and activates or deactivates the executions of these tasks that are part of or associated with the work execution (i.e., task executions). To this end, for each task execution, the work manager identifies one or more task managers that manage the task execution and requests each task manager to activate or deactivate the task execution through the task activation or deactivation process shown in Figure 16.

当从服务管理器接收的请求(1710)是工作激活请求(即激活工作执行)时,请求(1710)可以包括标识上下文的信息。如果请求包括所述信息,则工作管理器通过将每个任务执行同步到上下文来将工作执行同步到上下文。也就是说,工作管理器315在请求(1605)任务管理器激活任务执行时向管理任务执行的任务管理器提供信息。When the request (1710) received from the service manager is a work activation request (i.e., to activate work execution), the request (1710) may include information identifying the context. If the request includes the information, the work manager synchronizes the work execution to the context by synchronizing each task execution to the context. That is, the work manager 315 provides information to the task manager that manages the task execution when requesting (1605) the task manager to activate the task execution.

然后,工作管理器315可以通过向服务管理器310发送(1720)工作激活或去激活响应来响应例程激活或去激活请求,以指示在工作激活或去激活请求中标识的工作执行已经相应地被激活或去激活(1715)。The work manager 315 may then respond to the routine activation or deactivation request by sending (1720) a work activation or deactivation response to the service manager 310 to indicate that the work execution identified in the work activation or deactivation request has been activated or deactivated accordingly (1715).

然后,服务管理器310可以向网络实体1702发送(1725)工作激活或去激活响应。The service manager 310 may then send ( 1725 ) a working activation or deactivation response to the network entity 1702 .

实施例包括服务编排,用于确定第一计算服务的服务功能的部署位置,以及选择支持计算服务的计算平面,使得计算服务可以在网络中运行。Embodiments include service orchestration for determining a deployment location of a service function of a first computing service and selecting a computing plane supporting the computing service so that the computing service can run in a network.

实施例包括通过如下方式提供服务公开:向设备提供第一计算服务的可用性信息,使得设备可以选择访问计算服务,以及向其它服务提供商提供第一计算服务的可用性信息,从而可以通过重用现有服务来部署其它新服务。Embodiments include providing service exposure by providing availability information of a first computing service to devices so that the devices can choose to access the computing service, and providing availability information of the first computing service to other service providers so that other new services can be deployed by reusing existing services.

实施例包括通过允许设备访问第一计算服务来进行服务访问。An embodiment includes providing service access by allowing a device to access a first computing service.

实施例包括上下文同步,所述上下文同步是指将第一计算服务内的第一任务的执行同步到计算上下文。如果第一任务的执行可以与第一计算服务中的第二任务的执行共享计算上下文,或者与第一计算服务重用的第二计算服务共享计算上下文,则可以执行上下文同步中的跨任务或跨服务,同时保证第一计算服务的正确性能。Embodiments include context synchronization, wherein the context synchronization refers to synchronizing the execution of a first task within a first computing service to a computing context. If the execution of the first task can share a computing context with the execution of a second task in the first computing service, or with a second computing service reused by the first computing service, then cross-task or cross-service context synchronization can be performed while ensuring correct performance of the first computing service.

实施例包括一种系统架构,所述系统架构包括用于与编排器通信的服务管理器和工作管理器,所述编排器可以与资源管理器通信,并为资源管理器提供指令,以实例化计算服务的服务功能。工作管理器还可以与服务数据存储库通信,并更新服务数据存储库中的服务简档。Embodiments include a system architecture including a service manager and a work manager for communicating with an orchestrator, the orchestrator can communicate with a resource manager and provide instructions to the resource manager to instantiate service functions of a computing service. The work manager can also communicate with a service data repository and update a service profile in the service data repository.

实施例包括工作管理器,所述工作管理器用于与隐私路由器和例程管理器通信,并为隐私路由器和例程管理器提供指令,以便为计算服务配置计算平面。Embodiments include a work manager for communicating with a privacy router and an instance manager and providing instructions to the privacy router and the instance manager to configure a compute plane for a compute service.

实施例包括工作管理器,所述工作管理器用于与访问管理器通信,所述访问管理器可以与设备工作管理器通信,从设备接收一个或多个服务请求,接收和授权服务请求,以及进一步触发执行与服务请求相关的工作。An embodiment includes a work manager that is used to communicate with an access manager, which can communicate with a device work manager, receive one or more service requests from a device, receive and authorize the service requests, and further trigger the execution of work related to the service requests.

实施例包括工作管理器,所述工作管理器用于与可以执行工作的工作管理器通信,并通知工作管理器关于设备对工作的访问,以便工作管理器可以将设备包括到工作执行中。Embodiments include a work manager for communicating with a work manager that may execute work and notifying the work manager of access of a device to the work so that the work manager may include the device in the execution of the work.

实施例包括一种系统架构,所述系统架构包括工作管理器。工作管理器具有跨任务和工作同步计算上下文的功能。The embodiment includes a system architecture including a work manager having the function of synchronizing computing context across tasks and works.

在实施例中,跨任务和工作同步计算上下文可以包括工作管理器与任务管理器通信,所述任务管理器可以与例程管理器通信并为例程管理器提供将例程执行同步到计算上下文的指令,以及为任务管理器提供将任务执行同步到计算上下文的指令。In an embodiment, synchronizing the compute context across tasks and work may include a work manager communicating with a task manager, which may communicate with a routine manager and provide instructions to the routine manager to synchronize routine execution to the compute context, and provide instructions to the task manager to synchronize task execution to the compute context.

在实施例中,跨任务和工作同步计算上下文可以包括工作管理器与服务管理器通信,所述服务管理器可以与不同的工作管理器通信,并为不同的工作管理器提供将不同的工作执行同步到计算上下文的指令。In an embodiment, synchronizing the compute context across tasks and work may include a work manager communicating with a service manager, which may communicate with different work managers and provide instructions to the different work managers to synchronize different work executions to the compute context.

在实施例中,设备可以是网元,例如用户设备(user equipment,UE)、物联网(internet-of-things,IoT)设备、车辆、卫星、服务器等,只要它可以作为设备向平台注册并被平台标识为设备即可。In an embodiment, the device may be a network element, such as a user equipment (UE), an internet-of-things (IoT) device, a vehicle, a satellite, a server, etc., as long as it can be registered with the platform as a device and identified as a device by the platform.

图18是在计算和通信环境1850内示出的电子设备(electronic device,ED)1852的框图,所述ED可用于实现本文公开的设备和方法。在一些实施例中,电子设备1852可以是通信网络基础设施的元件或用户设备(user equipment,UE)。电子设备1852通常包括处理器1854,例如中央处理单元(central processing unit,CPU),并且还可以包括专用处理器,例如图形处理单元(graphics processing unit,GPU)或其它这种处理器、存储器1856、网络接口1858和总线1860,以连接ED 1852的组件。可选地,ED 1852还可以包括如大容量存储设备1862、视频适配器1864和一个或多个I/O接口1868(如虚线所示)等组件。18 is a block diagram of an electronic device (ED) 1852 shown within a computing and communication environment 1850, which can be used to implement the devices and methods disclosed herein. In some embodiments, the electronic device 1852 can be an element of a communication network infrastructure or a user equipment (UE). The electronic device 1852 typically includes a processor 1854, such as a central processing unit (CPU), and may also include a dedicated processor, such as a graphics processing unit (GPU) or other such processor, a memory 1856, a network interface 1858, and a bus 1860 to connect the components of the ED 1852. Optionally, the ED 1852 may also include components such as a mass storage device 1862, a video adapter 1864, and one or more I/O interfaces 1868 (as shown in dashed lines).

存储器1846可以是处理器1854可读取的任何类型的非瞬时性系统存储器,例如静态随机存取存储器(static random access memory,SRAM)、动态随机存取存储器(dynamicrandom access memory,DRAM)、同步DRAM(synchronous DRAM,SDRAM)、只读存储器(read-only memory,ROM)或其组合。在特定实施例中,存储器108可以包括一种以上类型的存储器,例如在开机时使用的ROM以及在执行程序时使用的存储程序和数据的DRAM。The memory 1846 may be any type of non-transitory system memory readable by the processor 1854, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), read-only memory (ROM), or a combination thereof. In certain embodiments, the memory 108 may include more than one type of memory, such as a ROM used at boot time and a DRAM used to store programs and data when executing programs.

大容量存储器1862可以是任何类型的非瞬时性存储设备,用于存储数据、程序和其它信息,并使得该数据、程序和其它信息可通过总线1860访问。在一些实施例中,大容量存储器1862可以在电子设备1852远端,并可通过使用接口1858等网络接口访问。在所示的实施例中,大容量存储器1862不同于包括它的存储器1846,并且通常可以执行与较高延迟兼容的存储任务,但通常可以提供较小或不提供易失性。在一些实施例中,大容量存储器1862可以与存储器1846集成以形成异构存储器。The mass storage 1862 may be any type of non-transitory storage device for storing data, programs, and other information and making the data, programs, and other information accessible via the bus 1860. In some embodiments, the mass storage 1862 may be remote from the electronic device 1852 and may be accessed via a network interface such as the interface 1858. In the illustrated embodiment, the mass storage 1862 is distinct from the memory 1846 that includes it, and may generally perform storage tasks compatible with higher latency, but may generally provide less or no volatility. In some embodiments, the mass storage 1862 may be integrated with the memory 1846 to form a heterogeneous memory.

在一些实施例中,电子设备1852可以是独立式设备,而在其它实施例中,电子设备1852可以驻留在数据中心内。如本领域将理解的,数据中心是可以用作集体计算及存储资源的计算资源的集合(通常呈服务器的形式)。在数据中心内,可以将多个服务器连接在一起以提供计算资源池,在所述计算资源池中可以将虚拟化实体实例化。数据中心可以彼此互连以形成网络,所述网络包括计算资源和存储资源的池,所述计算资源和所述存储资源通过连接资源彼此连接。连接资源可以采取以太网或光通信链路等物理连接的形式,并且也可以包括无线通信信道。如果两个不同的数据中心通过多个不同的通信信道连接,则可以使用包括形成链路聚合组(link aggregation group,LAG)在内的多种技术中的任何一种技术将链路组合在一起。应当理解,可以将任何或所有计算、存储和连接资源(以及网络内的其它资源)划分在不同的子网之间,在某些情况下,可以以资源切片的形式划分。如果对跨多个连接的数据中心或其它节点集合的资源进行切片,则可以创建不同的网络切片。In some embodiments, the electronic device 1852 may be a stand-alone device, while in other embodiments, the electronic device 1852 may reside in a data center. As will be understood in the art, a data center is a collection of computing resources (usually in the form of servers) that can be used as collective computing and storage resources. In a data center, multiple servers may be connected together to provide a computing resource pool in which virtualized entities may be instantiated. Data centers may be interconnected to form a network that includes a pool of computing resources and storage resources that are connected to each other via connection resources. Connection resources may take the form of physical connections such as Ethernet or optical communication links, and may also include wireless communication channels. If two different data centers are connected via multiple different communication channels, the links may be combined together using any of a variety of techniques including forming a link aggregation group (LAG). It should be understood that any or all computing, storage, and connection resources (as well as other resources within the network) may be divided between different subnets, and in some cases, may be divided in the form of resource slices. If resources across multiple connected data centers or other node collections are sliced, different network slices may be created.

应当理解,如隐私路由器、任务、工作和例程管理器以及例程客户端和服务器等网络功能都可以在一个或多个电子设备内实例化。因此,实施例包括一个或多个电子设备,所述电子设备包括处理器和非瞬时性机器可读存储器,所述非瞬时性机器可读存储器存储机器可执行指令,所述机器可执行指令由处理器执行时,使电子设备实现本文所公开的方法。此外,电子设备和/或数据中心的系统可用于实现本文所公开的方法。It should be understood that network functions such as privacy routers, tasks, jobs and routine managers, and routine clients and servers can be instantiated within one or more electronic devices. Therefore, embodiments include one or more electronic devices, the electronic devices including a processor and a non-transitory machine-readable memory, the non-transitory machine-readable memory storing machine-executable instructions that, when executed by the processor, cause the electronic device to implement the methods disclosed herein. In addition, systems of electronic devices and/or data centers can be used to implement the methods disclosed herein.

实施例包括一种实现计算服务的方法,所述方法包括:第一服务管理器从应用控制器接收对第一计算服务的服务注册请求;所述第一服务管理器向第二服务管理器请求对第二计算服务的授权;所述第一服务管理器使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务。An embodiment includes a method for implementing a computing service, the method comprising: a first service manager receiving a service registration request for a first computing service from an application controller; the first service manager requesting authorization for a second computing service from a second service manager; the first service manager using at least a portion of the second service to create a service profile for the first computing service to instantiate the first computing service.

在实施例中,所述使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务包括:所述第一服务管理器从所述第二服务管理器接收重用所述第二计算服务的工作的授权。In an embodiment, creating a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service includes: the first service manager receiving authorization to reuse work of the second computing service from the second service manager.

在实施例中,所述第二服务管理器的方法可以包括:授权所述第二计算服务的所述工作的重用;更新所述第二计算服务的服务简档;响应所述第一计算服务。In an embodiment, the method of the second service manager may include: authorizing reuse of the work of the second computing service; updating a service profile of the second computing service; and responding to the first computing service.

在实施例中,第一服务和第二服务可以是同一服务,服务注册请求可以基于所述服务中的现有工作向所述服务中添加新工作的服务注册请求。In an embodiment, the first service and the second service may be the same service, and the service registration request may be a service registration request for adding a new job to the service based on an existing job in the service.

在实施例中,方法还可以包括:第二服务管理器将标识被授权重用的所述第二计算服务的所述工作的信息映射到以下各项的组合:标识所述第一计算服务的信息,以及标识所述第二计算服务的所述工作的所述重用的信息。In an embodiment, the method may further include: the second service manager mapping information identifying the work of the second computing service that is authorized for reuse to a combination of: information identifying the first computing service, and information identifying the reuse of the work of the second computing service.

在实施例中,方法还可以包括:第二服务管理器将映射后的信息存储在服务数据存储库中的所述第二计算服务的服务简档中。In an embodiment, the method may further include: the second service manager storing the mapped information in a service profile of the second computing service in a service data repository.

在实施例中,所述第一服务管理器使用所述第二服务的至少一部分创建所述第一计算服务的服务简档,以实例化所述第一计算服务可以包括:重用所述第二计算服务的所述工作。In an embodiment, the first service manager creating a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service may include: reusing the work of the second computing service.

在实施例中,请求可以是对新部署的请求,并且所述重用所述第二计算服务的所述工作可以包括:所述第二服务管理器授权所述工作的所述重用。In an embodiment, the request may be a request for a new deployment, and said reusing said work of said second computing service may include: said second service manager authorizing said reuse of said work.

在实施例中,请求可以是对远程连接的请求,并且所述重用所述第二计算服务的所述工作可以包括:第二服务管理器创建工作的副本以供第一服务使用。In an embodiment, the request may be a request for a remote connection, and said reusing said work of said second computing service may include: the second service manager creating a copy of the work for use by the first service.

在实施例中,方法可以包括:所述第一服务管理器将所述第二计算服务的所述工作的所述重用映射到所述第二计算服务的所述工作的所述副本的重用;所述第一服务管理器通过以下方式来更新所述第一计算服务的服务描述信息(service descriptioninformation,SDI):将标识所述第二计算服务的所述工作的信息替换为标识所述第二计算服务的所述工作的所述副本的信息。In an embodiment, the method may include: the first service manager maps the reuse of the work of the second computing service to the reuse of the copy of the work of the second computing service; the first service manager updates the service description information (SDI) of the first computing service by replacing the information identifying the work of the second computing service with the information identifying the copy of the work of the second computing service.

在实施例中,方法还可以包括:编排器针对第二计算服务进行一个或多个增量部署决策。In an embodiment, the method may further include: the orchestrator making one or more incremental deployment decisions for the second computing service.

在实施例中,方法还可以包括:编排器还针对第二计算服务的工作进行一个或多个动态部署决策。In an embodiment, the method may further include: the orchestrator further making one or more dynamic deployment decisions for the work of the second computing service.

在实施例中,一个或多个动态部署决策可以包括:第一动态部署决策,所述第一动态部署决策确定额外部署位置和工作Y的每个内部功能的对应的计算和网络资源要求;第二动态部署决策,所述第二动态部署决策确定功能间连接和基于所述额外部署位置的功能间连接。In an embodiment, one or more dynamic deployment decisions may include: a first dynamic deployment decision, which determines additional deployment locations and corresponding computing and network resource requirements for each internal function of work Y; a second dynamic deployment decision, which determines inter-function connections and inter-function connections based on the additional deployment locations.

实施例包括一种用于设备请求计算服务的方法,所述方法包括:网络实体从设备接收对计算服务的请求;向工作管理器发送使用所述设备的信息执行工作的通知;从所述工作管理器接收对设备的工作执行的确认;向所述设备发送响应。An embodiment includes a method for a device to request a computing service, the method comprising: a network entity receiving a request for a computing service from a device; sending a notification to a work manager to perform work using information of the device; receiving a confirmation of the execution of the work of the device from the work manager; and sending a response to the device.

在实施例中,方法还可以包括:所述工作管理器根据所述设备的所述信息执行所述工作,其中,所述执行所述工作包括:标识例程,所述例程与表示所述设备的服务功能相关联;为每个例程标识所述例程所属的所述工作的任务;其中,当触发所述任务管理器执行所述任务时,所述工作管理器向任务管理器发送任务请求,所述任务请求包括标识所述设备的信息。In an embodiment, the method may further include: the work manager executes the work according to the information of the device, wherein the execution of the work includes: identifying a routine, the routine being associated with a service function representing the device; identifying, for each routine, a task of the work to which the routine belongs; wherein, when the task manager is triggered to execute the task, the work manager sends a task request to the task manager, the task request including information identifying the device.

在实施例中,方法还可以包括:工作管理器根据标识所述设备的信息执行所述工作,其中,所述执行所述工作包括:标识例程,所述例程与表示所述设备的服务功能相关联;为每个例程标识所述例程所属的所述工作的任务;其中,在所述任务管理器正在执行所述任务时,所述工作管理器向所述任务管理器发送任务更新请求,所述任务更新请求包括标识所述设备的信息。In an embodiment, the method may further include: a work manager executes the work based on information identifying the device, wherein the execution of the work includes: identifying a routine, the routine being associated with a service function representing the device; identifying, for each routine, a task of the work to which the routine belongs; wherein, when the task manager is executing the task, the work manager sends a task update request to the task manager, the task update request including information identifying the device.

在实施例中,方法还可以包括:网络实体向应用控制器通知所述工作执行。In an embodiment, the method may further include: the network entity notifying the application controller of the work execution.

在实施例中,方法还可以包括网络实体作为服务管理器。In an embodiment, the method may further include the network entity acting as a service manager.

在实施例中,方法还可以包括:工作管理器从所述任务管理器接收在第一任务与第二任务之间执行上下文同步的请求,所述请求源自所述第一任务的例程管理器;标识需要上下文同步的第二任务;请求去激活第一任务执行;请求去激活第二任务执行;请求激活所述第一任务执行;请求激活所述第二任务执行;其中,所述执行上下文同步的请求包括标识所述例程执行的信息。In an embodiment, the method may also include: the work manager receives a request from the task manager to perform context synchronization between the first task and the second task, the request originating from the routine manager of the first task; identifying the second task that requires context synchronization; requesting to deactivate the execution of the first task; requesting to deactivate the execution of the second task; requesting to activate the execution of the first task; requesting to activate the execution of the second task; wherein the request to perform context synchronization includes information identifying the routine execution.

在实施例中,方法还可以包括:工作管理器生成标识上下文的信息,所述任务执行应该同步到所述上下文。In an embodiment, the method may further include: the work manager generating information identifying a context to which the task execution should be synchronized.

在实施例中,执行上下文同步的请求还可以包括标识上下文的信息,任务执行应该同步到所述上下文。In an embodiment, the request to perform context synchronization may also include information identifying the context to which the task execution should be synchronized.

在实施例中,所述去激活可以包括在所述任务管理器接收到关于例程去激活的响应之后,所述工作管理器:向所述任务管理器发送去激活任务的请求,所述任务管理器用于向所述例程管理器发送去激活本地例程执行,以及去激活外来例程执行的请求;从所述任务管理器接收关于任务去激活的响应。In an embodiment, the deactivation may include, after the task manager receives a response regarding routine deactivation, the work manager: sending a request to the task manager to deactivate the task, the task manager being used to send a request to the routine manager to deactivate local routine execution and to deactivate foreign routine execution; and receiving a response regarding task deactivation from the task manager.

在实施例中,对所述例程管理器的请求可以包括标识上下文的信息,所述任务执行同步到所述上下文。In an embodiment, the request to the routine manager may include information identifying a context to which the task execution is synchronized.

在实施例中,方法还可以包括:例程管理器通过向与所述例程管理器相关联的服务功能实例发送通信去激活请求,以暂停与所述本地例程执行相关联的数据通信,来去激活在对所述例程管理器的请求中标识的本地例程执行;其中,所述通信去激活请求通过与所述服务功能实例相关联的隐私路由器发送。In an embodiment, the method may also include: the routine manager deactivating the local routine execution identified in the request to the routine manager by sending a communication deactivation request to a service function instance associated with the routine manager to suspend data communication associated with the local routine execution; wherein the communication deactivation request is sent via a privacy router associated with the service function instance.

在实施例中,通信去激活请求还可以包括:标识所述本地例程执行的信息;标识所述本地例程的信息;标识所述计算服务的信息;标识上下文的信息,在所述上下文中同步所述本地例程执行。In an embodiment, the communication deactivation request may further include: information identifying the execution of the local routine; information identifying the local routine; information identifying the computing service; information identifying a context in which the execution of the local routine is synchronized.

在实施例中,所述激活可以包括在所述任务管理器接收到关于例程激活的响应之后,工作管理器:向所述任务管理器发送激活任务的请求,所述任务管理器用于向所述例程管理器发送激活本地例程,以及激活外来例程执行的请求;从所述任务管理器接收关于任务激活的响应。In an embodiment, the activation may include, after the task manager receives a response regarding the routine activation, the work manager: sending a request to activate the task to the task manager, the task manager being used to send a request to activate a local routine and to activate execution of an external routine to the routine manager; and receiving a response regarding the task activation from the task manager.

在实施例中,对所述例程管理器的请求可以包括标识上下文的信息,所述任务执行应该同步到所述上下文。In an embodiment, the request to the routine manager may include information identifying a context to which the task execution should be synchronized.

在实施例中,方法还可以包括:例程管理器通过向与所述例程管理器相关联的所述服务功能实例发送通信激活请求,以激活与所述本地例程执行相关联的数据通信,来激活在对所述例程管理器的所述请求中标识的本地例程执行;其中,所述通信激活请求通过与所述服务功能实例相关联的所述隐私路由器发送。In an embodiment, the method may further include: the routine manager activating the local routine execution identified in the request to the routine manager by sending a communication activation request to the service function instance associated with the routine manager to activate data communication associated with the local routine execution; wherein the communication activation request is sent through the privacy router associated with the service function instance.

在实施例中,通信激活请求还可以包括:标识所述本地例程执行的信息;标识所述本地例程的信息;标识所述计算服务的信息;标识上下文的信息,所述本地例程执行同步到所述上下文。In an embodiment, the communication activation request may further include: information identifying the execution of the local routine; information identifying the local routine; information identifying the computing service; information identifying a context to which the execution of the local routine is synchronized.

在实施例中,去激活外来功能可以包括:任务管理器标识与所述外来例程相关联的外来功能;向所述服务管理器发送去激活对应的外来工作的请求;发起工作去激活过程;其中,所述去激活的请求包括:标识所述外来工作所属的外来计算服务的信息,以及标识上下文的信息,所述外来工作同步到所述上下文。In an embodiment, deactivating an external function may include: a task manager identifying an external function associated with the external routine; sending a request to the service manager to deactivate the corresponding external work; initiating a work deactivation process; wherein the deactivation request includes: information identifying the external computing service to which the external work belongs, and information identifying the context, and the external work is synchronized to the context.

在实施例中,激活外来功能可以包括:任务管理器标识与所述外来例程相关联的外来功能;向所述服务管理器发送激活对应的外来工作的请求;发起工作激活过程;其中,所述激活的请求包括:标识所述外来工作所属的外来计算服务的信息,以及标识上下文的信息,所述外来工作应该同步到所述上下文。In an embodiment, activating an external function may include: a task manager identifying an external function associated with the external routine; sending a request to the service manager to activate the corresponding external work; initiating a work activation process; wherein the activation request includes: information identifying the external computing service to which the external work belongs, and information identifying the context to which the external work should be synchronized.

上文结合本发明的各方面描述了实施例,这些实施例可以基于这些方面实现。本领域技术人员将理解,实施例可以结合描述这些实施例的方面来实现,但也可以与该方面的其它实施例一起实现。当实施例相互排斥或彼此不兼容时,这对于本领域技术人员将是显而易见的。一些实施例可以结合一个方面进行描述,但也可以适用于其它方面,这对本领域技术人员是显而易见的。Embodiments are described above in conjunction with various aspects of the present invention, and these embodiments can be implemented based on these aspects. It will be appreciated by those skilled in the art that embodiments can be implemented in conjunction with the aspects describing these embodiments, but can also be implemented together with other embodiments of this aspect. When the embodiments are mutually exclusive or incompatible with each other, this will be apparent to those skilled in the art. Some embodiments can be described in conjunction with an aspect, but can also be applied to other aspects, which will be apparent to those skilled in the art.

尽管已经参考本发明的特定特征和实施例描述了本发明,但是明显可以在不脱离本发明的情况下制定本发明的各种修改和组合。因此,说明书和附图仅被视为所附权利要求书限定的对本发明的说明,并且预期覆盖落入本发明的范围内的任何和所有修改、变化、组合或等同物。Although the present invention has been described with reference to specific features and embodiments of the present invention, it is apparent that various modifications and combinations of the present invention may be made without departing from the present invention. Therefore, the specification and drawings are only regarded as an illustration of the present invention as defined by the appended claims, and are intended to cover any and all modifications, variations, combinations or equivalents falling within the scope of the present invention.

Claims (34)

1. A method for implementing a computing service, comprising:
the first service manager receives a service registration request for a first computing service from an application controller;
The first service manager requesting authorization for a second computing service from a second service manager;
The first service manager creates a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service.
2. The method of claim 1, wherein the creating a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service comprises:
The first service manager receives authorization from the second service manager to reuse the work of the second computing service.
3. The method of claim 1 or 2, further comprising the second service manager:
Authorizing reuse of the work of the second computing service;
updating a service profile of the second computing service;
Responsive to the first computing service.
4.A method according to any one of claim 1 to 3, wherein,
The first service and the second service are the same service,
The service registration request is a service registration request to add a new job to the service based on an existing job in the service.
5. The method of any of claims 1-4, further comprising the second service manager:
Mapping information identifying the work of the second computing service authorized for reuse to a combination of:
information identifying the first computing service;
Information identifying the reuse of the work of the second computing service.
6. The method as recited in claim 5, further comprising: the second service manager stores the mapped information in a service profile of the second computing service in a service data store.
7. The method of claim 2, wherein the first service manager creating a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service comprises: reusing the work of the second computing service.
8. The method of claim 7, wherein the request is a request for a new deployment, and the reusing the job of the second computing service comprises: the second service manager authorizes the reuse of the work.
9. The method of claim 7, wherein the request is a request for a remote connection, and the reusing the job of the second computing service comprises: the second service manager creates a copy of the work for use by the first service.
10. The method as recited in claim 9, further comprising:
the first service manager maps the reuse of the work of the second computing service to reuse of the copy of the work of the second computing service,
The first service manager updates the service description information SDI of the first computing service by:
replacing information identifying the work of the second computing service with information identifying the copy of the work of the second computing service.
11. The method according to claim 9 or 10, further comprising: an orchestrator makes one or more incremental deployment decisions for the second computing service.
12. The method as recited in claim 11, further comprising: the orchestrator also makes one or more dynamic deployment decisions for the work of the second computing service.
13. The method of claim 12, wherein the one or more dynamic deployment decisions comprise:
a first dynamic deployment decision that determines a corresponding computing and network resource requirement for each internal function of the work Y and the additional deployment location;
A second dynamic deployment decision that determines an inter-function connection and an inter-function connection based on the additional deployment location.
14. A method for a device to request a computing service, comprising a network entity:
Receiving a request for a computing service from a device;
Sending a notification to a job manager to perform a job using information of the device;
receiving a confirmation of the performance of the work of the device from the work manager;
a response is sent to the device.
15. The method as recited in claim 14, further comprising:
The work manager performs the work according to the information of the device,
Wherein said performing said work comprises:
Identifying a routine associated with a service function representing the device;
identifying, for each routine, a task of the work to which the routine belongs;
Wherein when the task manager is triggered to execute the task, the work manager sends a task request to the task manager, the task request including information identifying the device.
16. The method as recited in claim 14, further comprising:
The job manager performs the job according to information identifying the device,
Wherein said performing said work comprises:
Identifying a routine associated with a service function representing the device;
identifying, for each routine, a task of the work to which the routine belongs;
wherein, while the task manager is executing the task, the job manager sends a task update request to the task manager, the task update request including information identifying the device.
17. The method according to any one of claims 14 to 16, further comprising:
the network entity informs the application controller of the execution of the job.
18. The method according to any of claims 14 to 17, wherein the network entity is a service manager.
19. The method of any one of claims 14 to 18, further comprising the job manager:
Receiving a request from the task manager to perform context synchronization between a first task and a second task, the request originating from a routine manager of the first task;
identifying a second task requiring context synchronization;
Requesting to deactivate the first task execution;
requesting deactivation of the second task execution;
requesting activation of the first task execution;
requesting activation of the second task execution;
wherein the request to perform context synchronization includes information identifying the execution of the routine.
20. The method of claim 19, further comprising the job manager generating information identifying the context to which the task execution should be synchronized.
21. The method of claim 19, wherein the step of determining the position of the probe comprises,
The request to perform context synchronization also includes information identifying the context to which the task execution should be synchronized.
22. The method according to any one of claims 19 to 21, wherein the deactivating comprises:
After the task manager receives a response regarding routine deactivation, the job manager:
A request to deactivate a task is sent to the task manager,
The task manager is configured to send a request to the routine manager to deactivate local routine execution and deactivate foreign routine execution;
A response is received from the task manager regarding the deactivation of the task.
23. The method of claim 22, wherein the request to the routine manager includes information identifying the context to which the task execution is synchronized
24. The method according to claim 22 or 23, further comprising:
the routine manager deactivates the local routine execution identified in the request to the routine manager by sending a communication deactivation request to a service function instance associated with the routine manager to suspend data communications associated with the local routine execution;
Wherein the communication deactivation request is sent through a privacy router associated with the service function instance.
25. The method of any of claims 21 to 24, wherein the communication deactivation request further comprises:
Information identifying the local routine execution;
Information identifying the local routine;
Information identifying the computing service;
Information identifying a context in which the local routine execution is synchronized.
26. The method according to any one of claims 19 to 25, wherein the activating comprises:
After the task manager receives a response regarding routine activation, the job manager:
A request to activate a task is sent to the task manager,
The task manager is used for sending a request for activating a local routine and activating execution of an external routine to the routine manager;
a response is received from the task manager regarding task activation.
27. A method according to any one of claims 20 to 26, wherein the request to the routine manager includes information identifying the context to which the task execution should be synchronised.
28. The method according to claim 26 or 27, further comprising:
The routine manager activates the local routine execution identified in the request to the routine manager by sending a communication activation request to the service function instance associated with the routine manager to activate data communication associated with the local routine execution;
Wherein the communication activation request is sent through the privacy router associated with the service function instance.
29. The method of any one of claims 26 to 28, wherein the communication activation request further comprises:
Information identifying the local routine execution;
Information identifying the local routine;
Information identifying the computing service;
Information identifying the context to which the native routine execution is synchronized.
30. The method of any one of claims 22 to 29, wherein deactivating a foreign function comprises: the task manager:
Identifying a foreign function associated with the foreign routine;
sending a request for deactivating corresponding external work to the service manager;
initiating a work deactivation process;
wherein the request for deactivation comprises:
Information identifying a foreign computing service to which the foreign work belongs;
information identifying the context to which the foreign work is synchronized.
31. The method of any one of claims 22 to 29, wherein activating a foreign function comprises: the task manager:
Identifying a foreign function associated with the foreign routine;
Sending a request for activating corresponding external work to the service manager;
initiating a work activation process;
wherein the request for activation comprises:
Information identifying a foreign computing service to which the foreign work belongs;
information identifying the context to which the foreign work should be synchronized.
32. An apparatus for implementing a computing service, comprising:
A processor;
At least one non-transitory machine-readable medium storing machine-readable instructions that, when executed by the processor, cause the apparatus to:
The first service manager receives a service registration request for a first computing service from the application controller;
The first service manager requesting authorization for a second computing service from a second service manager;
The first service manager creates a service profile of the first computing service using at least a portion of the second service to instantiate the first computing service.
33. An apparatus for implementing a computing service, comprising:
A processor;
at least one non-transitory machine-readable medium storing machine-readable instructions that, when executed by the processor, cause the apparatus to perform the methods described and claimed herein.
34. A system comprising a plurality of devices in communication with each other, the system configured to perform the methods described and claimed herein.
CN202180105077.3A 2021-12-24 2021-12-24 System and method for implementing network-based reusable computing Pending CN118401930A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/141125 WO2023115522A1 (en) 2021-12-24 2021-12-24 Systems and methods for enabling network-based reusable computing

Publications (1)

Publication Number Publication Date
CN118401930A true CN118401930A (en) 2024-07-26

Family

ID=86901010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202180105077.3A Pending CN118401930A (en) 2021-12-24 2021-12-24 System and method for implementing network-based reusable computing

Country Status (3)

Country Link
EP (1) EP4453745A4 (en)
CN (1) CN118401930A (en)
WO (1) WO2023115522A1 (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453398A (en) * 2007-12-06 2009-06-10 怀特威盛软件公司 Novel distributed grid super computer system and method
WO2015034485A1 (en) * 2013-09-04 2015-03-12 Hewlett-Packard Development Company, L.P. Providing services as resources for other services
EP3042307A4 (en) * 2013-09-04 2017-05-03 Hewlett-Packard Enterprise Development LP Providing resources to customers via node-relationship models
CN105659558B (en) 2013-09-20 2018-08-31 甲骨文国际公司 Computer implemented method, authorization server and computer-readable memory
US20160218939A1 (en) * 2015-01-28 2016-07-28 Hewlett-Packard Development Company, L.P. Distributed multi-site cloud deployment
US9736165B2 (en) * 2015-05-29 2017-08-15 At&T Intellectual Property I, L.P. Centralized authentication for granting access to online services
US10187323B2 (en) * 2016-09-02 2019-01-22 Pivotal Software, Inc. On-demand resource provisioning
US10805406B2 (en) * 2018-06-21 2020-10-13 Microsoft Technology Licensing, Llc Zone redundant computing services using multiple local services in distributed computing systems
WO2020018819A1 (en) * 2018-07-18 2020-01-23 Nvidia Corporation Virtualized computing platform for inferencing, advanced processing, and machine learning applications
EP3712768B1 (en) * 2019-03-18 2024-05-01 Sony Group Corporation Management of services in an edge computing system
EP3948559A4 (en) * 2019-04-05 2023-01-18 Mimik Technology Inc. METHOD AND SYSTEM FOR DISTRIBUTED EDGE CLOUD COMPUTING
WO2021079357A1 (en) * 2019-10-26 2021-04-29 Mimik Technology Inc. Method and system for distributed edge cloud computing
CN111556514B (en) * 2020-04-14 2021-09-21 北京航空航天大学 Decentralized mobile edge computing resource discovery and selection method and system
CN113660315B (en) * 2021-07-28 2023-12-01 北京宝兰德软件股份有限公司 Cloud computing service providing method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
WO2023115522A1 (en) 2023-06-29
EP4453745A4 (en) 2025-02-26
EP4453745A1 (en) 2024-10-30

Similar Documents

Publication Publication Date Title
AU2022201754B2 (en) Message and system for application function influence on traffic routing
US11711858B2 (en) Shared PDU session establishment and binding
EP3610670B1 (en) Service provision for offering network slices to a customer
JP7272736B2 (en) Service subscription method, chip, information transfer device and program for performing the method, and network function network element
US20180317134A1 (en) Nssmf nsmf interaction connecting virtual 5g networks and subnets
WO2018205931A1 (en) Service provision steps using slices and associated definitions
WO2015172362A1 (en) Network function virtualization network system, data processing method and device
CN109218046A (en) The management method and system and storage medium of network slice
US10993177B2 (en) Network slice instance creation
US20240113899A1 (en) Systems and methods for supporting network-based computing services
CN118401930A (en) System and method for implementing network-based reusable computing
US10091645B1 (en) Handling mobile device administration in anchorless mobile networks
US20250240111A1 (en) Systems and methods for wide area precision time synchronization
CN119211047A (en) Service joint processing method based on artificial intelligence, network node and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination