











技术领域technical field
本申请涉及通信技术领域,尤其涉及一种服务调度方法、装置及存储介质。The present application relates to the technical field of communications, and in particular to a service scheduling method, device and storage medium.
背景技术Background technique
随着新型网络业务和应用的不断发展与成熟,算力网络(computing network)的概念被提出。基于算力网络的服务调度过程包括:适配器向与终端的服务请求相匹配的服务节点发送指示消息,以指示服务节点为终端提供对应的应用服务。With the continuous development and maturity of new network services and applications, the concept of computing network (computing network) was proposed. The service scheduling process based on the computing power network includes: the adapter sends an indication message to the service node that matches the service request of the terminal, so as to instruct the service node to provide the corresponding application service for the terminal.
现有技术中,服务节点通常根据终端的互联网协议地址(internet protocoladdress,IP),为终端提供对应的应用服务。In the prior art, the service node usually provides corresponding application services for the terminal according to the Internet protocol address (internet protocol address, IP) of the terminal.
然而,当服务节点为多个终端提供应用服务,在部分场景下存在服务节点无法区分不同的终端的问题。当多个终端所需的服务不同时,服务节点无法为不同的终端提供对应的应用服务,进而无法合理的为不同终端进行服务调度。However, when the service node provides application services for multiple terminals, there is a problem that the service node cannot distinguish different terminals in some scenarios. When multiple terminals require different services, the service node cannot provide corresponding application services for different terminals, and thus cannot reasonably perform service scheduling for different terminals.
发明内容Contents of the invention
本申请提供一种服务调度方法、装置及存储介质,用于解决现有技术中无法为不同终端进行服务调度的问题。The present application provides a service scheduling method, device and storage medium, which are used to solve the problem in the prior art that service scheduling cannot be performed for different terminals.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above object, the application adopts the following technical solutions:
第一方面,提供一种服务调度方法,包括:接收终端发送的用于请求目标服务的第一服务请求;确定终端的唯一标识和提供目标服务的第一节点设备的服务标识;服务标识与第一节点设备唯一对应;向与终端连接的第二节点设备发送终端的唯一标识和第一节点设备的服务标识,以使得第二节点设备根据第一节点设备的服务标识,向第一节点设备发送包括终端的唯一标识的第二服务请求;第二服务请求用于指示第一节点设备向终端提供目标服务。In the first aspect, a service scheduling method is provided, including: receiving a first service request sent by a terminal for requesting a target service; determining a unique identifier of the terminal and a service identifier of a first node device providing the target service; and matching the service identifier with the first node device One node device is uniquely corresponding; send the unique identifier of the terminal and the service identifier of the first node device to the second node device connected to the terminal, so that the second node device sends a message to the first node device according to the service identifier of the first node device The second service request including the unique identifier of the terminal; the second service request is used to instruct the first node device to provide the target service to the terminal.
可选的,确定提供目标服务的第一节点设备的服务标识的方法具体包括:确定目标服务的目标服务标识集合;当数据库中包括目标服务标识集合时,从目标服务标识集合中,确定满足路由策略的服务标识为第一节点设备的服务标识。Optionally, the method for determining the service identifier of the first node device providing the target service specifically includes: determining a target service identifier set of the target service; when the database includes the target service identifier set, determining from the target service identifier set that satisfies the route The service identifier of the policy is the service identifier of the first node device.
可选的,当数据库中不包括目标服务标识集合时,该方法还包括:根据第一服务请求,确定提供目标服务的待部署节点设备;向待部署节点设备发送指示消息;指示消息用于指示待部署节点设备部署目标服务;接收待部署节点设备发送的响应消息;响应消息用于表示待部署节点设备部署完成目标服务;响应于响应消息,建立待部署节点设备的服务标识,并确定为第一节点设备的服务标识。Optionally, when the target service identifier set is not included in the database, the method further includes: determining the node device to be deployed that provides the target service according to the first service request; sending an indication message to the node device to be deployed; the indication message is used to indicate The node device to be deployed deploys the target service; receives the response message sent by the node device to be deployed; the response message is used to indicate that the node device to be deployed has completed the target service; in response to the response message, establishes the service identifier of the node device to be deployed and determines it as the first Service ID of a node device.
可选的,第一服务请求包括:目标服务的服务状态参数;根据第一服务请求,确定提供目标服务的待部署节点设备的方法具体包括:根据服务状态参数确定满足服务状态参数的服务配置参数;从数据库中选择与服务配置参数对应的节点设备确定为待部署节点设备。Optionally, the first service request includes: service state parameters of the target service; according to the first service request, the method for determining the node device to be deployed that provides the target service specifically includes: determining service configuration parameters that meet the service state parameters according to the service state parameters ; Select the node device corresponding to the service configuration parameters from the database and determine it as the node device to be deployed.
可选的,服务状态参数包括多个参数;确定目标服务的目标服务标识集合的方法具体还包括:将数据库中满足当前参数的多个服务标识确定为第一服务标识集合;将第一服务标识集合中满足当前参数的下一个参数的多个服务标识确定为第二服务标识集合,直至目标服务标识集合满足多个参数中的所有参数。Optionally, the service status parameter includes multiple parameters; the method for determining the target service identification set of the target service specifically further includes: determining multiple service identifications in the database that meet the current parameters as the first service identification set; A plurality of service identifiers satisfying the next parameter of the current parameter in the set are determined as the second set of service identifiers until the target service identifier set satisfies all the parameters in the plurality of parameters.
可选的,建立待部署节点设备的服务标识的方法具体包括:当目标服务标识集合包括一个服务标识时,将一个服务标识确定为待部署节点设备的服务标识。Optionally, the method for establishing the service identifier of the node device to be deployed specifically includes: when the target service identifier set includes a service identifier, determining a service identifier as the service identifier of the node device to be deployed.
可选的,多个参数包括目标服务的多个服务请求位置。Optionally, the multiple parameters include multiple service request locations of the target service.
可选的,该方法还包括:确定目标服务的服务策略参数;向第一节点设备发送服务策略参数,以使得第一节点设备根据服务策略参数为终端提供目标服务。Optionally, the method further includes: determining service policy parameters of the target service; sending the service policy parameters to the first node device, so that the first node device provides the target service for the terminal according to the service policy parameters.
可选的,服务标识包括参数字段;该方法还包括:将终端的唯一标识添加到服务标识的参数字段中;向与终端连接的第二节点设备发送终端的唯一标识和服务标识的方法,具体包括:向与终端连接的第二节点设备发送更新后的服务标识。Optionally, the service identifier includes a parameter field; the method also includes: adding the unique identifier of the terminal to the parameter field of the service identifier; sending the unique identifier of the terminal and the method of the service identifier to the second node device connected to the terminal, specifically The method includes: sending the updated service identifier to the second node device connected to the terminal.
第二方面,提供一种服务调度装置,包括:接收单元、确定单元和发送单元;接收单元,用于接收终端发送的用于请求目标服务的第一服务请求;确定单元,用于确定终端的唯一标识和提供目标服务的第一节点设备的服务标识;服务标识与第一节点设备唯一对应;发送单元,用于向与终端连接的第二节点设备发送终端的唯一标识和第一节点设备的服务标识,以使得第二节点设备根据第一节点设备的服务标识,向第一节点设备发送包括终端的唯一标识的第二服务请求;第二服务请求用于指示第一节点设备向终端提供目标服务。In a second aspect, a service scheduling device is provided, including: a receiving unit, a determining unit, and a sending unit; a receiving unit, configured to receive a first service request sent by a terminal for requesting a target service; a determining unit, configured to determine the terminal’s The unique identifier and the service identifier of the first node device providing the target service; the service identifier uniquely corresponds to the first node device; the sending unit is used to send the unique identifier of the terminal and the first node device to the second node device connected to the terminal. The service identifier, so that the second node device sends a second service request including the unique identifier of the terminal to the first node device according to the service identifier of the first node device; the second service request is used to instruct the first node device to provide the terminal with a target Serve.
可选的,确定单元,具体用于:确定目标服务的目标服务标识集合;当数据库中包括目标服务标识集合时,从目标服务标识集合中,确定满足路由策略的服务标识为第一节点设备的服务标识。Optionally, the determining unit is specifically configured to: determine a target service identifier set of the target service; when the database includes the target service identifier set, determine from the target service identifier set that the service identifier satisfying the routing policy is the first node device Service ID.
可选的,当数据库中不包括目标服务标识集合时,确定单元,还用于:根据第一服务请求,确定提供目标服务的待部署节点设备;向待部署节点设备发送指示消息;指示消息用于指示待部署节点设备部署目标服务;接收待部署节点设备发送的响应消息;响应消息用于表示待部署节点设备部署完成目标服务;响应于响应消息,建立待部署节点设备的服务标识,并确定为第一节点设备的服务标识。Optionally, when the target service identifier set is not included in the database, the determining unit is further configured to: determine the node device to be deployed that provides the target service according to the first service request; send an indication message to the node device to be deployed; use the indication message to To instruct the node device to be deployed to deploy the target service; receive the response message sent by the node device to be deployed; the response message is used to indicate that the node device to be deployed has completed the target service; in response to the response message, establish the service identifier of the node device to be deployed, and determine It is the service identifier of the first node device.
可选的,确定单元,具体用于:根据服务状态参数确定满足服务状态参数的服务配置参数;从数据库中选择与服务配置参数对应的节点设备确定为待部署节点设备。Optionally, the determining unit is specifically configured to: determine service configuration parameters satisfying the service status parameters according to the service status parameters; select a node device corresponding to the service configuration parameters from the database and determine it as a node device to be deployed.
可选的,服务状态参数包括多个参数;确定单元,具体用于:将数据库中满足当前参数的多个服务标识确定为第一服务标识集合;将第一服务标识集合中满足当前参数的下一个参数的多个服务标识确定为第二服务标识集合,直至目标服务标识集合满足多个参数中的所有参数。Optionally, the service status parameter includes a plurality of parameters; the determining unit is specifically configured to: determine multiple service identifications in the database that meet the current parameters as the first set of service identifications; select the next set of service identifications that meet the current parameters in the first set of service identifications Multiple service identifiers of one parameter are determined as the second service identifier set until the target service identifier set satisfies all the parameters in the multiple parameters.
可选的,确定单元,具体用于:当目标服务标识集合包括一个服务标识时,将一个服务标识确定为待部署节点设备的服务标识。Optionally, the determining unit is specifically configured to: when the set of target service identifiers includes a service identifier, determine a service identifier as the service identifier of the node device to be deployed.
可选的,多个参数包括目标服务的多个服务请求位置。Optionally, the multiple parameters include multiple service request locations of the target service.
可选的,确定单元,还用于:确定目标服务的服务策略参数;发送单元,还用于向第一节点设备发送确定单元确定的服务策略参数,以使得第一节点设备根据服务策略参数为终端提供目标服务。Optionally, the determining unit is further configured to: determine the service policy parameter of the target service; the sending unit is further configured to send the service policy parameter determined by the determining unit to the first node device, so that the first node device according to the service policy parameter is The terminal provides the target service.
可选的,还包括:处理单元;处理单元,用于将确定单元确定的终端的唯一标识添加到确定单元确定的服务标识的参数字段中,以得到更新后的服务标识;发送单元,具体用于向与终端连接的第二节点设备发送更新后的服务标识。Optionally, it also includes: a processing unit; a processing unit, configured to add the unique identifier of the terminal determined by the determining unit to the parameter field of the service identifier determined by the determining unit, so as to obtain an updated service identifier; a sending unit, specifically using to send the updated service identifier to the second node device connected to the terminal.
第三方面,提供一种服务调度装置,包括存储器和处理器;存储器用于存储计算机执行指令,处理器与存储器通过总线连接;当服务调度装置运行时,处理器执行存储器存储的计算机执行指令,以使服务调度装置执行第一方面所述的服务调度方法。In a third aspect, a service scheduling device is provided, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor and the memory are connected through a bus; when the service scheduling device is running, the processor executes the computer-executable instructions stored in the memory, so that the service scheduling device executes the service scheduling method described in the first aspect.
该服务调度装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,获取、确定、发送上述服务调度方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The service scheduling device may be a network device, or a part of the network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, for example, acquire, determine, and send the data and/or information involved in the above service scheduling method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
第四方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面所述的服务调度方法。In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are run on a computer, the computer is made to execute the service scheduling method described in the first aspect.
第五方面,还提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在服务调度装置上运行时,使得服务调度装置执行如上述第一方面所述的服务调度方法。According to a fifth aspect, a computer program product is further provided, the computer program product includes computer instructions, and when the computer instructions are run on the service scheduling device, the service scheduling device executes the service scheduling method as described in the first aspect above.
需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机可读存储介质上。其中,第一计算机可读存储介质可以与服务调度装置的处理器封装在一起的,也可以与服务调度装置的处理器单独封装,本申请实施例对此不作限定。It should be noted that all or part of the above computer instructions may be stored on the first computer-readable storage medium. Wherein, the first computer-readable storage medium may be packaged together with the processor of the service scheduling device, or may be packaged separately with the processor of the service scheduling device, which is not limited in this embodiment of the present application.
本申请中第二方面、第三方面、第四方面以及第五方面的描述,可以参考第一方面的详细描述;并且,第二方面、第三方面、第四方面以及第五方面的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。For the description of the second aspect, the third aspect, the fourth aspect and the fifth aspect in this application, you can refer to the detailed description of the first aspect; and, the beneficial effects of the second aspect, the third aspect, the fourth aspect and the fifth aspect , you can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
在本申请实施例中,上述服务调度装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。In the embodiment of the present application, the name of the above-mentioned service scheduling apparatus does not limit the device or function module itself, and in actual implementation, these devices or function modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.
本申请的这些方面或其他方面在以下的描述中会更加简明易懂。These or other aspects of the present application will be more clearly understood in the following description.
本申请提供的技术方案至少带来以下有益效果:The technical solution provided by the application brings at least the following beneficial effects:
基于上述任一方面,本申请提出一种服务调度方法,在接收到终端发送的用于请求目标服务的第一服务请求之后,可以确定终端的唯一标识和提供目标服务的第一节点设备的服务标识。然后,向与终端连接的第二节点设备发送终端的唯一标识和服务标识。后续,第二节点设备根据服务标识,向第一节点设备发送用于指示第一节点设备向终端提供目标服务的第二服务请求。由于第二服务请求包括终端的唯一标识,因此,第一节点设备可以通过识别终端的唯一标识,确定请求目标服务的唯一终端,解决了当多个终端所需的服务不同时,服务节点无法为不同的终端提供对应的应用服务的技术问题,进而可以合理的为不同终端进行服务调度。Based on any of the above aspects, this application proposes a service scheduling method. After receiving the first service request sent by the terminal for requesting the target service, the unique identifier of the terminal and the service of the first node device providing the target service can be determined. logo. Then, send the unique identifier and service identifier of the terminal to the second node device connected to the terminal. Subsequently, the second node device sends to the first node device a second service request for instructing the first node device to provide the target service to the terminal according to the service identifier. Since the second service request includes the unique identifier of the terminal, the first node device can identify the unique terminal requesting the target service by identifying the unique identifier of the terminal, which solves the problem that the service node cannot provide the service when multiple terminals require different services. Different terminals provide corresponding technical problems of application services, and then service scheduling can be reasonably performed for different terminals.
附图说明Description of drawings
图1为本申请实施例提供的通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图2为本申请实施例提供的服务器数据库的一种结构示意图;FIG. 2 is a schematic structural diagram of a server database provided by an embodiment of the present application;
图3为本申请实施例提供的服务器功能模块的一种结构示意图;FIG. 3 is a schematic structural diagram of a server function module provided by an embodiment of the present application;
图4为本申请实施例提供的通信装置的一种硬件结构示意图;FIG. 4 is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application;
图5为本申请实施例提供的通信装置的又一种硬件结构示意图;FIG. 5 is a schematic diagram of another hardware structure of a communication device provided by an embodiment of the present application;
图6为本申请实施例提供的一种服务调度方法的流程示意图;FIG. 6 is a schematic flowchart of a service scheduling method provided in an embodiment of the present application;
图7为本申请实施例提供的又一种服务调度方法的流程示意图;FIG. 7 is a schematic flow diagram of another service scheduling method provided by an embodiment of the present application;
图8为本申请实施例提供的又一种服务调度方法的流程示意图;FIG. 8 is a schematic flowchart of another service scheduling method provided by the embodiment of the present application;
图9为本申请实施例提供的又一种服务调度方法的流程示意图;FIG. 9 is a schematic flowchart of another service scheduling method provided by the embodiment of the present application;
图10为本申请实施例提供的又一种服务调度方法的流程示意图;FIG. 10 is a schematic flowchart of another service scheduling method provided by the embodiment of the present application;
图11为本申请实施例提供的又一种服务调度方法的流程示意图;FIG. 11 is a schematic flowchart of another service scheduling method provided by the embodiment of the present application;
图12为本申请实施例提供的一种服务调度装置的结构示意图。Fig. 12 is a schematic structural diagram of a service scheduling device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and functions. Personnel can understand that words such as "first" and "second" are not limiting the quantity and execution order.
如背景技术所描述,现有的服务调度方法中服务节点无法区分终端,进而无法为不同终端进行服务调度。As described in the background technology, in the existing service scheduling method, the service node cannot distinguish terminals, and thus cannot perform service scheduling for different terminals.
针对上述问题,本申请实施例提供了一种服务调度方法,接收到终端发送的用于请求目标服务的第一服务请求之后,确定终端的唯一标识和提供目标服务的第一节点设备的服务标识。然后,向与终端连接的第二节点设备发送终端的唯一标识和服务标识。后续,第二节点设备根据服务标识,向第一节点设备发送用于指示第一节点设备向终端提供目标服务的第二服务请求。由于第二服务请求包括终端的唯一标识,因此,第一节点设备可以通过识别终端的唯一标识,确定请求目标服务的唯一终端。In view of the above problems, the embodiment of the present application provides a service scheduling method, after receiving the first service request sent by the terminal for requesting the target service, determine the unique identifier of the terminal and the service identifier of the first node device providing the target service . Then, send the unique identifier and service identifier of the terminal to the second node device connected to the terminal. Subsequently, the second node device sends to the first node device a second service request for instructing the first node device to provide the target service to the terminal according to the service identifier. Since the second service request includes the unique identifier of the terminal, the first node device can determine the unique terminal requesting the target service by identifying the unique identifier of the terminal.
该服务调度方法适用于通信系统。图1示出了该通信系统的一种结构。如图1所示,该通信系统包括:终端101、服务器102、第一节点设备103和第二节点设备104。The service scheduling method is suitable for communication systems. Fig. 1 shows a structure of the communication system. As shown in FIG. 1 , the communication system includes: a terminal 101 , a
其中,第一节点设备103和第二节点设备104是算力网络(包括多个节点设备)中的节点设备,各个节点设备之间通信连接。服务器102分别与终端101、第一节点设备103和第二节点设备104之间通信连接,终端101与第二节点设备104之间通信连接,第一节点设备103与第二节点设备104之间通信连接。Wherein, the
在实际应用中,服务器102可以连接多个终端,也可以连接多个节点设备。为了便于理解,图1以服务器102连接一个终端101以及3个节点设备(包括第一节点设备103和第二节点设备104)为例进行说明。In practical applications, the
算力网络是一种根据业务需求,在云、网、边之间按需分配和灵活调度计算资源、存储资源以及网络资源的新型信息基础设施。Computing power network is a new type of information infrastructure that allocates and flexibly schedules computing resources, storage resources, and network resources among clouds, networks, and edges according to business needs.
可选的,算力网络可以包括算力优先网络(compute first networking,CFN)、算力感知网络(computing aware networking,CAN)。算力网络还可以是基于第六版互联网协议的分段路由(segment routing Internet Protocol version 6,SRv6)网络。Optionally, the computing power network may include a computing power priority network (compute first networking, CFN) and a computing power aware network (computing aware networking, CAN). The computing power network may also be a segment routing (segment routing Internet Protocol version 6, SRv6) network based on the sixth version of the Internet protocol.
图1中的终端101可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(radio access network,RAN)与一个或多个核心网进行通信。无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据,例如,手机、平板电脑、笔记本电脑、上网本、个人数字助理(personal digital assistant,PDA)。
图1中的服务器102用于对算力网络中的服务进行编排。The
可选的,服务器102包括数据库,以及用于对算力网络中的服务进行编排的功能模块。Optionally, the
其中,如图2所示,数据库包括:服务信息数据库201(维护服务的基础信息,包括服务所在资源池/云、服务类型、服务最大容量、服务负载状态、服务可用状态)、服务策略数据库202(维护不同终端的服务策略)、服务标识资源池203(维护标识服务的基础信息的全网唯一的服务标识)、算力资源数据库204(维护路由网络中的算力资源)。Wherein, as shown in FIG. 2 , the database includes: service information database 201 (basic information of maintenance service, including service resource pool/cloud, service type, service maximum capacity, service load status, service availability status), service policy database 202 (maintaining service policies for different terminals), service identification resource pool 203 (maintaining the network-wide unique service identification identifying basic information of services), and computing power resource database 204 (maintaining computing power resources in the routing network).
如图3所示,服务器的功能模块包括:服务部署模块301(用于查询算力资源数据库,确定服务的待部署节点设备)、服务标识分配模块302(用于建立服务唯一的服务标识)、服务策略配置模块303(用于存储和维护不同终端的服务策略)、服务路由计算模块304(用于通过路由策略计算服务节点设备,计算节点设备的服务配置参数)As shown in Figure 3, the functional modules of the server include: a service deployment module 301 (for querying the computing power resource database and determining the node device to be deployed for the service), a service identifier allocation module 302 (for establishing a unique service identifier for the service), Service policy configuration module 303 (for storing and maintaining service policies for different terminals), service routing calculation module 304 (for calculating service node devices through routing policies, and calculating service configuration parameters of node devices)
可选的,服务器102可以是服务器集群(由多个服务器组成)中的一个服务器,也可以是该服务器中的芯片,还可以是该服务器中的片上系统,还可以通过部署在物理机上的虚拟机(virtual machine,VM)实现,本申请实施例对此不作限定。Optionally, the
如图1所示,第二节点设备104为算力网络中,与终端101连接的入口节点设备,第一节点设备103为算力网络中,为终端101提供服务的出口节点设备。As shown in FIG. 1 , the
应理解,算力网络中任意一个节点设备都可以是与其连接的终端的入口节点设备(例如第一节点设备103为与第一节点设备103连接的终端的入口节点设备),也可以是为终端提供服务的出口节点设备(例如第二节点设备104可以是为所需服务的终端提供服务的出口节点设备)。It should be understood that any node device in the computing power network can be the entry node device of the terminal connected to it (for example, the
可选的,图1中的第一节点设备103和第二节点设备104可以是路由器、交换机等网络设备。Optionally, the
通信系统中的终端101、服务器102、第一节点设备103和第二节点设备104的基本硬件结构类似,都包括图4或图5所示通信装置所包括的元件。下面以图4和图5所示的通信装置为例,介绍终端101、服务器102、第一节点设备103和第二节点设备104的硬件结构。The basic hardware structures of the terminal 101, the
如图4所示,为本申请实施例提供的通信装置的一种硬件结构示意图。该通信装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。As shown in FIG. 4 , it is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application. The communication device includes a
处理器21是通信装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The
作为一种实施例,处理器21可以包括一个或多个CPU,例如图4中所示的CPU 0和CPU 1。As an embodiment, the
存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
一种可能的实现方式中,存储器22可以独立于处理器21存在,存储器22可以通过总线24与处理器21相连接,用于存储指令或者程序代码。处理器21调用并执行存储器22中存储的指令或程序代码时,能够实现本发明下述实施例提供的服务调度方法。In a possible implementation manner, the
在本申请实施例中,对于终端101、服务器102、第一节点设备103和第二节点设备104而言,存储器22中存储的软件程序不同,所以终端101、服务器102、第一节点设备103和第二节点设备104实现的功能不同。关于各设备所执行的功能将结合下面的流程图进行描述。In this embodiment of the application, for the terminal 101, the
另一种可能的实现方式中,存储器22也可以和处理器21集成在一起。In another possible implementation manner, the
通信接口23,用于通信装置与其他设备通过通信网络连接,所述通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口23可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The
总线24,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图4中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 4 , but it does not mean that there is only one bus or one type of bus.
图5示出了本发明实施例中通信装置的另一种硬件结构。如图5所示,通信装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。Fig. 5 shows another hardware structure of the communication device in the embodiment of the present invention. As shown in FIG. 5 , the communication device may include a
处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以起上述存储器22的功能。For functions of the
通信接口32用于为处理器31提供数据。该通信接口32可以是通信装置的内部接口,也可以是通信装置对外的接口(相当于通信接口23)。The
需要指出的是,图4(或图5)中示出的结构并不构成对通信装置的限定,除图4(或图5)所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 4 (or FIG. 5 ) does not constitute a limitation on the communication device. Except for the components shown in FIG. 4 (or FIG. 5 ), the communication device may include more or fewer components, or combining certain components, or a different arrangement of components.
下面结合附图对本申请实施例提供的服务调度方法进行详细介绍。The service scheduling method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
如图6所示,本申请实施例提供的服务调度方法应用于终端、服务器和第二节点设备,包括:S601-S604。As shown in FIG. 6 , the service scheduling method provided by the embodiment of the present application is applied to a terminal, a server, and a second node device, including: S601-S604.
S601、终端向服务器发送用于请求目标服务的第一服务请求。S601. The terminal sends a first service request for requesting a target service to a server.
具体的,在服务器进行服务调度流程时,终端向服务器发送用于请求目标服务的第一服务请求。Specifically, when the server performs a service scheduling process, the terminal sends a first service request for requesting a target service to the server.
可选的,第一服务请求包括目标服务的服务状态参数。Optionally, the first service request includes a service state parameter of the target service.
可选的,服务状态参数可以包括服务类型、服务等级协议(service levelagreement,SLA)、服务能力、服务策略/规则、服务请求位置等与服务状态相关的参数。Optionally, the service status parameter may include parameters related to the service status, such as service type, service level agreement (service level agreement, SLA), service capability, service policy/rule, and service request location.
S602、服务器确定终端的唯一标识和提供目标服务的第一节点设备的服务标识。S602. The server determines the unique identifier of the terminal and the service identifier of the first node device providing the target service.
具体的,在接收到第一服务请求后,为了使得第二节点设备可以确定提供目标服务的第一节点设备并向第一节点设备发送请求目标服务的请求消息,服务器可以确定提供目标服务的第一节点设备的服务标识。Specifically, after receiving the first service request, in order for the second node device to determine the first node device providing the target service and send a request message requesting the target service to the first node device, the server may determine the first node device providing the target service Service ID of a node device.
其中,服务标识与第一节点设备唯一对应。Wherein, the service identifier uniquely corresponds to the first node device.
而且,为了使得第一节点设备可以识别请求目标服务的唯一终端,服务器可以确定终端的唯一标识。Furthermore, in order to enable the first node device to identify a unique terminal requesting the target service, the server may determine the unique identifier of the terminal.
可选的,第一服务请求可以包括终端的初始标识。Optionally, the first service request may include an initial identifier of the terminal.
当第一服务请求可以包括终端的初始标识时,服务器确定终端的唯一标识的方法可以包括:服务器首先获取终端的初始标识。当初始标识可以唯一标识终端时,服务器将初始标识确定为终端的唯一标识。当初始标识不能唯一标识终端时,服务器可以根据终端的相关信息,生成终端的唯一标识。When the first service request may include the initial identifier of the terminal, the method for the server to determine the unique identifier of the terminal may include: the server first acquires the initial identifier of the terminal. When the initial identifier can uniquely identify the terminal, the server determines the initial identifier as the unique identifier of the terminal. When the initial identifier cannot uniquely identify the terminal, the server may generate a unique identifier of the terminal according to relevant information of the terminal.
可选的,终端的相关信息可以包括终端的类型,终端的接入方式、终端接入的端口类型等。Optionally, the relevant information of the terminal may include the type of the terminal, the access mode of the terminal, the type of port accessed by the terminal, and the like.
可选的,接入方式可以为电话线拨号接入、综合业务数字网(integratedservices digital network,ISDN)接入、非对称数字用户线路(asymmetric digitalsubscriber line,ADSL)接入、混合光纤同轴电缆网(hybrid fiber coaxial,HFC)接入、光纤宽带接入、无源光网络接入、无线网络接入或者电力网接入。Optionally, the access mode can be telephone line dial-up access, integrated services digital network (integrated services digital network, ISDN) access, asymmetric digital subscriber line (asymmetric digital subscriber line, ADSL) access, hybrid fiber-coaxial cable network (hybrid fiber coaxial, HFC) access, optical fiber broadband access, passive optical network access, wireless network access, or power network access.
可选的,终端接入的端口类型可以为调制解调器、集线器、交换机、路由器等。Optionally, the terminal access port type may be a modem, a hub, a switch, a router, and the like.
示例性的,预设服务器获取到终端的初始标识为第六版互联网协议(internetprotocol version 6,IPv6)地址,由于IPv6地址具有全网唯一性,因此,服务器将IPv6地址确定为终端的唯一标识。Exemplarily, the default server obtains the initial identification of the terminal as an Internet protocol version 6 (internet protocol version 6, IPv6) address. Since the IPv6 address is unique across the network, the server determines the IPv6 address as the unique identification of the terminal.
又一示例性的,预设服务器获取到终端的初始标识为第四版互联网协议(internet protocol version 4,IPv4)地址,由于IPv4地址不具有全网唯一性,因此,服务器可以根据终端的相关信息(预设终端的类型为001类,终端的接入方式为通过无线网络101连接,接入的端口类型为路由器201),生成终端的唯一标识001-101-201。In yet another example, the initial identification of the terminal obtained by the default server is an Internet protocol version 4 (internet protocol version 4, IPv4) address. Since the IPv4 address is not unique across the entire network, the server can (The type of the preset terminal is 001, the access mode of the terminal is to connect through the
可选的,终端的唯一标识也可以是终端生成的具有全网唯一性的标识。Optionally, the unique identifier of the terminal may also be an identifier generated by the terminal and unique across the entire network.
可选的,服务器确定提供目标服务的第一节点设备的服务标识的方法可以包括:Optionally, the method for the server to determine the service identifier of the first node device providing the target service may include:
首先,服务器确定目标服务的目标服务标识集合。First, the server determines the set of target service identifiers of the target service.
当数据库中包括目标服务标识集合时,服务器根据路由策略,从目标服务标识集合中确定第一节点设备的服务标识。When the database includes the set of target service identifiers, the server determines the service identifier of the first node device from the set of target service identifiers according to the routing strategy.
相对应的,当数据库中不包括目标服务标识集合时,服务器根据第一服务请求,确定提供目标服务的待部署节点设备,并指示待部署节点设备部署目标服务。然后,服务器建立待部署节点设备的服务标识,并确定为第一节点设备的服务标识。Correspondingly, when the target service identifier set is not included in the database, the server determines the node device to be deployed that provides the target service according to the first service request, and instructs the node device to be deployed to deploy the target service. Then, the server establishes the service identifier of the node device to be deployed, and determines it as the service identifier of the first node device.
可选的,服务标识可以为服务标识符(service identifier,service ID)。Optionally, the service identifier may be a service identifier (service identifier, service ID).
S603、服务器向与终端连接的第二节点设备发送终端的唯一标识和第一节点设备的服务标识。S603. The server sends the unique identifier of the terminal and the service identifier of the first node device to the second node device connected to the terminal.
具体的,在确定终端的唯一标识和第一节点设备的服务标识之后,服务器向与终端连接的第二节点设备发送终端的唯一标识和第一节点设备的服务标识,以使得第二节点设备根据服务标识,向第一节点设备发送包括终端的唯一标识的第二服务请求。Specifically, after determining the unique identifier of the terminal and the service identifier of the first node device, the server sends the unique identifier of the terminal and the service identifier of the first node device to the second node device connected to the terminal, so that the second node device according to The service identifier is to send the second service request including the unique identifier of the terminal to the first node device.
S604、第二节点设备向第一节点设备发送包括终端的唯一标识的第二服务请求。S604. The second node device sends the second service request including the unique identifier of the terminal to the first node device.
具体的,在接收到服务器发送的终端的唯一标识和第一节点设备的服务标识之后,第二节点设备根据服务标识,向第一节点设备发送包括终端的唯一标识的第二服务请求,以使得第一节点设备向终端的唯一标识对应的终端提供目标服务。Specifically, after receiving the unique identifier of the terminal and the service identifier of the first node device sent by the server, the second node device sends a second service request including the unique identifier of the terminal to the first node device according to the service identifier, so that The first node device provides the target service to the terminal corresponding to the unique identifier of the terminal.
可选的,终端发送第一服务请求的方式,可以是报文的形式。Optionally, the manner in which the terminal sends the first service request may be in the form of a message.
相应的,当第二节点设备获取到携带终端的唯一标识的服务标识和第一服务请求的报文消息之后,第二节点设备根据服务标识,向第一节点设备发送包括终端的唯一标识的第二服务请求的方法包括:第二节点设备将第一服务请求的报文消息的目的地址更新为携带终端的唯一标识的服务标识,生成第二服务请求,然后,向第一节点设备发送第二服务请求。Correspondingly, after the second node device obtains the service identifier carrying the unique identifier of the terminal and the message message of the first service request, the second node device sends the first node device the first service identifier including the unique identifier of the terminal according to the service identifier. The method of the second service request includes: the second node device updates the destination address of the message message of the first service request to the service identifier carrying the unique identifier of the terminal, generates a second service request, and then sends the second service request to the first node device. Request for service.
可选的,当服务标识为SID时,第二节点设备可以将报文消息的报文头中的目的地址更新为携带终端的唯一标识的SID。Optionally, when the service identifier is the SID, the second node device may update the destination address in the header of the message to the SID carrying the unique identifier of the terminal.
在一种实施例中,如图7所示,S602中服务器确定提供目标服务的第一节点设备的服务标识的方法具体包括:S701-S706。In one embodiment, as shown in FIG. 7 , the method for the server to determine the service identifier of the first node device providing the target service in S602 specifically includes: S701-S706.
S701、服务器确定目标服务的目标服务标识集合。S701. The server determines a target service identifier set of a target service.
具体的,在接收到第一服务请求后,为了确定提供目标服务的第一节点设备,服务器可以根据服务标识资源池确定目标服务的目标服务标识集合。Specifically, after receiving the first service request, in order to determine the first node device providing the target service, the server may determine the target service identifier set of the target service according to the service identifier resource pool.
当数据库中包括目标服务标识集合时,执行S702;当数据库中不包括目标服务标识集合时,执行S703-S706。When the database includes the target service identifier set, execute S702; when the database does not include the target service identifier set, execute S703-S706.
可选的,当第一服务请求包括目标服务的服务状态参数,且服务状态参数包括多个参数时,服务器确定目标服务的目标服务标识集合的方法可以包括:Optionally, when the first service request includes a service status parameter of the target service, and the service status parameter includes multiple parameters, the method for the server to determine the target service identification set of the target service may include:
服务器将所述数据库中满足当前参数的多个服务标识确定为第一服务标识集合。然后,服务器将第一服务标识集合中满足当前参数的下一个参数的多个服务标识确定为第二服务标识集合,直至目标服务标识集合满足多个参数中的所有参数。The server determines multiple service identifiers satisfying the current parameters in the database as the first set of service identifiers. Then, the server determines a plurality of service identifiers satisfying the next parameter of the current parameter in the first service identifier set as the second service identifier set until the target service identifier set satisfies all parameters in the plurality of parameters.
S702、服务器从目标服务标识集合中,确定满足路由策略的节点设备对应的服务标识,并确定为第一节点设备的服务标识。S702. The server determines the service identifier corresponding to the node device satisfying the routing policy from the target service identifier set, and determines it as the service identifier of the first node device.
具体的,当数据库中包括目标服务标识集合时,服务器的服务路由计算模块根据服务信息数据库,计算满足路由策略的服务标识,并确定为第一节点设备的服务标识。Specifically, when the database includes a set of target service identifiers, the service routing calculation module of the server calculates the service identifier satisfying the routing policy according to the service information database, and determines it as the service identifier of the first node device.
S703、服务器根据第一服务请求,确定提供目标服务的待部署节点设备。S703. The server determines, according to the first service request, a node device to be deployed that provides the target service.
具体的,当数据库中不包括目标服务标识集合时,为了使得算力网络可以为终端提供目标服务,服务器的服务部署模块根据第一服务请求,查询算力资源数据库,确定提供目标服务的待部署节点设备。Specifically, when the target service identification set is not included in the database, in order to enable the computing power network to provide the target service for the terminal, the service deployment module of the server queries the computing power resource database according to the first service request, and determines the target service to be deployed. node device.
可选的,服务器的服务部署模块根据第一服务请求,查询算力资源数据库,确定提供目标服务的待部署节点设备的方法可以包括:服务器获取目标服务的服务状态参数,服务部署模块在算力资源数据库中查询满足服务状态参数的节点设备,并将满足路由策略的一个节点设备确定为待部署节点设备。Optionally, the service deployment module of the server queries the computing power resource database according to the first service request, and the method for determining the node device to be deployed that provides the target service may include: the server obtains the service status parameters of the target service, and the service deployment module is in the computing power The resource database is queried for node devices that meet the service state parameters, and a node device that meets the routing policy is determined as the node device to be deployed.
S704、服务器向待部署节点设备发送指示消息。S704. The server sends an indication message to the node device to be deployed.
其中,指示消息用于指示待部署节点设备部署目标服务。Wherein, the instruction message is used to instruct the node device to be deployed to deploy the target service.
具体的,在确定好待部署节点设备之后,服务器向待部署节点设备发送用于指示待部署节点设备部署目标服务的指示消息,以使得后续待部署节点设备可以为终端提供目标服务。Specifically, after the node device to be deployed is determined, the server sends an indication message to the node device to be deployed to instruct the node device to deploy the target service, so that the subsequent node device to be deployed can provide the target service for the terminal.
S705、服务器接收待部署节点设备发送的响应消息。S705. The server receives the response message sent by the node device to be deployed.
其中,响应消息用于表示待部署节点设备部署完成目标服务。Wherein, the response message is used to indicate that the node device to be deployed has completed the deployment of the target service.
具体的,当服务器向待部署节点设备发送指示消息之后,待部署节点设备可以调动并部署目标服务对应的服务资源。后续,待部署节点设备向服务器发送响应消息。Specifically, after the server sends an indication message to the node device to be deployed, the node device to be deployed can mobilize and deploy service resources corresponding to the target service. Subsequently, the node device to be deployed sends a response message to the server.
可选的,当待部署节点设备部署失败时,向服务器发送部署失败的消息。服务器响应于部署失败的消息,服务器的服务部署模块重新查询算力资源数据库,确定剩余节点设备中目标服务的待部署节点设备。Optionally, when the deployment of the node device to be deployed fails, a deployment failure message is sent to the server. In response to the deployment failure message, the server's service deployment module re-queries the computing power resource database to determine the node device to be deployed for the target service among the remaining node devices.
S706、服务器建立待部署节点设备的服务标识,并确定为第一节点设备的服务标识。S706. The server establishes the service identifier of the node device to be deployed, and determines it as the service identifier of the first node device.
具体的,在接收到部署成功的响应消息之后,服务器可以将待部署节点设备确定为第一节点设备,建立待部署节点设备的服务标识,并确定为第一节点设备的服务标识。Specifically, after receiving the deployment success response message, the server may determine the node device to be deployed as the first node device, establish a service identifier of the node device to be deployed, and determine it as the service identifier of the first node device.
可选的,在接收到部署成功的响应消息之后,服务器的服务标识分配模块还可以将第一节点设备的服务标识存储在服务标识数据库中。Optionally, after receiving a successful deployment response message, the service identifier allocation module of the server may also store the service identifier of the first node device in the service identifier database.
示例性的,预设服务器的数据库中包括:服务标识集合1(包括服务标识:SID11、SID12)、服务标识集合2(包括服务标识:SID21、SID22)和服务标识集合3(包括服务标识:SID31、SID32)。服务器获取到目标服务的目标服务标识集合为服务标识集合2。由于数据库中包括服务标识集合2,因此,服务器从服务标识集合2中确定满足路由策略的服务标识为SID22,并确定为第一节点设备的服务标识。Exemplarily, the database of the preset server includes: service identification set 1 (including service identification: SID11, SID12), service identification set 2 (including service identification: SID21, SID22) and service identification set 3 (including service identification: SID31 , SID32). The server obtains the target service identifier set of the target service as service identifier set 2 . Since the database includes the service identifier set 2, the server determines from the service identifier set 2 that the service identifier satisfying the routing policy is SID22, and determines it as the service identifier of the first node device.
又一示例性的,预设服务器的数据库中包括:服务标识集合1(包括服务标识:SID11、SID12)、服务标识集合2(包括服务标识:SID21、SID22)和服务标识集合3(包括服务标识:SID31、SID32)。In yet another example, the database of the preset server includes: service identification set 1 (including service identification: SID11, SID12), service identification set 2 (including service identification: SID21, SID22) and service identification set 3 (including service identification : SID31, SID32).
服务器已经确定目标服务的目标服务标识集合为服务标识集合4。由于数据库中不包括服务标识集合4,因此,服务器的服务部署模块查询算力资源数据库,确定提供目标服务的待部署节点设备为节点设备1。The server has determined that the target service identifier set of the target service is the service identifier set 4 . Since the service identification set 4 is not included in the database, the service deployment module of the server queries the computing power resource database, and determines that the node device to be deployed providing the target service is the
服务器向节点设备1发送用于指示节点设备1部署目标服务的指示消息。节点设备1响应于指示消息,调动并部署目标服务对应的服务资源,接着,向服务器发送部署成功的响应消息。The server sends to the
服务器响应于响应消息,建立节点设备1的服务标识为SID41,并确定为第一节点设备的服务标识。In response to the response message, the server establishes the service identifier of
在一种实施例中,结合图7,如图8所示,当第一服务请求包括目标服务的服务状态参数时,S703中服务器根据第一服务请求,确定提供目标服务的待部署节点设备的方法具体包括:S801-S802。In one embodiment, referring to FIG. 7, as shown in FIG. 8, when the first service request includes the service state parameter of the target service, in S703, the server determines the status of the node device to be deployed that provides the target service according to the first service request. The method specifically includes: S801-S802.
S801、服务器根据服务状态参数确定满足服务状态参数的服务配置参数。S801. The server determines service configuration parameters satisfying the service state parameters according to the service state parameters.
具体的,当数据库中不包括目标服务标识集合时,为了确定待部署节点设备的服务配置参数满足目标服务的服务状态参数,服务器根据服务状态参数确定满足服务状态参数的服务配置参数。Specifically, when the target service identifier set is not included in the database, in order to determine that the service configuration parameters of the node device to be deployed meet the service state parameters of the target service, the server determines the service configuration parameters satisfying the service state parameters according to the service state parameters.
S802、服务器从数据库中选择与服务配置参数对应的节点设备确定为待部署节点设备。S802. The server selects the node device corresponding to the service configuration parameter from the database and determines it as the node device to be deployed.
具体的,在确定好服务配置参数之后,服务器的服务部署模块查询算力资源数据库,选择与服务配置参数对应的节点设备确定为待部署节点设备。Specifically, after the service configuration parameters are determined, the service deployment module of the server queries the computing resource database, and selects the node device corresponding to the service configuration parameters as the node device to be deployed.
示例性的,预设服务器的算力资源数据库中,包括:节点设备1(时延小于30ms)、节点设备2(时延小于20ms)和节点设备3(时延小于5ms)。服务器获取到目标服务的服务状态参数包括时延小于10ms,服务器可以确定待部署节点设备的服务配置参数为时延小于T(T≤10ms)。接着,服务器的服务部署模块查询算力资源数据库,选择与时延小于T(T≤10ms)对应的节点设备3确定为待部署节点设备。Exemplarily, the computing resource database of the preset server includes: node device 1 (with a delay of less than 30 ms), node device 2 (with a delay of less than 20 ms) and node device 3 (with a delay of less than 5 ms). The server obtains the service status parameters of the target service including a delay less than 10 ms, and the server may determine that the service configuration parameters of the node device to be deployed are delay less than T (T≤10 ms). Next, the service deployment module of the server queries the computing power resource database, and selects the node device 3 corresponding to the delay less than T (T≤10ms) as the node device to be deployed.
在一种实施例中,结合图8,如图9所示,当服务状态参数包括多个参数时,S701中服务器确定目标服务的目标服务标识集合的方法具体包括:S901-S902。In one embodiment, referring to FIG. 8 , as shown in FIG. 9 , when the service status parameter includes multiple parameters, the method for the server to determine the target service identification set of the target service in S701 specifically includes: S901-S902.
S901、服务器将数据库中满足当前参数的多个服务标识确定为第一服务标识集合。S901. The server determines multiple service identifiers satisfying the current parameter in the database as a first service identifier set.
具体的,为了可以根据目标服务标识集合确定提供目标服务的第一节点设备,服务器将数据库中满足当前参数的多个服务标识确定为第一服务标识集合。Specifically, in order to determine the first node device providing the target service according to the set of target service identifiers, the server determines multiple service identifiers satisfying the current parameters in the database as the first set of service identifiers.
S902、服务器将第一服务标识集合中满足当前参数的下一个参数的多个服务标识确定为第二服务标识集合,直至目标服务标识集合满足多个参数中的所有参数。S902. The server determines a plurality of service identifiers satisfying the next parameter of the current parameter in the first set of service identifiers as the second set of service identifiers until the target service identifier set satisfies all parameters in the plurality of parameters.
具体的,为了进一步根据目标服务标识集合确定提供目标服务的第一节点设备,服务器将第一服务标识集合中满足当前参数的下一个参数的多个服务标识确定为第二服务标识集合,直至目标服务标识集合满足多个参数中的所有参数。Specifically, in order to further determine the first node device providing the target service according to the target service identifier set, the server determines multiple service identifiers in the first service identifier set that satisfy the next parameter of the current parameter as the second service identifier set until the target The set of service identities satisfies all of the parameters.
可选的,多个参数可以包括目标服务的多个服务请求位置。Optionally, the multiple parameters may include multiple service request locations of the target service.
示例性的,预设服务器获取到目标服务的服务状态参数包括:服务类型为防火墙、服务请求位置为A省、B市、C区。服务器可以根据第一个参数(服务类型)确定第一服务标识集合如表1所示。Exemplarily, the service state parameters of the target service acquired by the preset server include: the service type is firewall, and the service request location is A province, B city, and C district. The server may determine the first set of service identifiers as shown in Table 1 according to the first parameter (service type).
表1Table 1
服务器确定第一服务标识集合中满足第二个参数(服务请求位置A省)的第二服务标识集合如表2所示。The server determines that the second service identifier set satisfying the second parameter (service request location A province) in the first service identifier set is shown in Table 2.
表2Table 2
服务器确定第二服务标识集合中满足第三个参数(服务请求位置B市)的第三服务标识集合如表3所示。The server determines that the third service identifier set that satisfies the third parameter (service request location B city) in the second service identifier set is shown in Table 3.
表3table 3
服务器确定第三服务标识集合中满足第四个参数(服务请求位置C区)的第四服务标识集合如表4所示。The server determines that the fourth service identifier set satisfying the fourth parameter (service request location C area) in the third service identifier set is shown in Table 4.
表4Table 4
由表4可知,第四服务标识集合满足目标服务的所有服务状态参数,因此,确定第二服务标识集合为目标服务标识集合。在一种实施例中,结合图8,如图9所示,S706中服务器建立待部署节点设备的服务标识的方法具体包括:S903。It can be seen from Table 4 that the fourth set of service identifiers satisfies all service status parameters of the target service, therefore, the second set of service identifiers is determined as the set of target service identifiers. In one embodiment, referring to FIG. 8 , as shown in FIG. 9 , the method for the server to establish the service identifier of the node device to be deployed in S706 specifically includes: S903.
S903、当目标服务标识集合包括一个服务标识时,服务器将一个服务标识确定为待部署节点设备的服务标识。S903. When the target service identifier set includes one service identifier, the server determines one service identifier as the service identifier of the node device to be deployed.
具体的,在确定待部署节点设备之后,当目标服务标识集合包括一个服务标识时,服务器将一个服务标识确定为待部署节点设备的服务标识。Specifically, after the node device to be deployed is determined, when the set of target service identifiers includes a service identifier, the server determines a service identifier as the service identifier of the node device to be deployed.
示例性的,预设服务器根据目标服务的服务状态参数(包括:服务类型为防火墙、服务请求位置为A省、B市、C区)确定待部署节点设备,并建立满足服务状态参数中所有状态参数的目标服务标识集合如表5所示。由于目标服务标识集合仅包括一个服务标识1234,因此,将服务标识1234确定为待部署节点设备的服务标识。Exemplarily, the preset server determines the node device to be deployed according to the service state parameters of the target service (including: the service type is a firewall, and the service request location is A province, B city, and C district), and establishes a state that satisfies all the service state parameters. The target service identification set of parameters is shown in Table 5. Since the target service identifier set includes only one service identifier 1234, the service identifier 1234 is determined as the service identifier of the node device to be deployed.
表5table 5
在一种实施例中,结合图6,如图10所示,服务调度方法还包括:S1001-S1002。In one embodiment, referring to FIG. 6 , as shown in FIG. 10 , the service scheduling method further includes: S1001-S1002.
S1001、服务器确定目标服务的服务策略参数。S1001. The server determines service policy parameters of a target service.
具体的,在接收到第一服务请求后,为了使得提供目标服务的第一节点设备为终端提供与终端对应的目标服务,服务器的服务策略配置模块可以从服务策略数据库中获取终端对应的目标服务的服务策略参数。Specifically, after receiving the first service request, in order to enable the first node device providing the target service to provide the terminal with the target service corresponding to the terminal, the service policy configuration module of the server may acquire the target service corresponding to the terminal from the service policy database The service policy parameters.
可选的,服务策略参数可以包括速率等级、服务等级、对预设网络地址过滤等。Optionally, the service policy parameters may include rate level, service level, filtering of preset network addresses, and the like.
本申请实施例对于S602-S604和S1001的先后顺序不作限定。服务器可以先执行S602-S604,后执行S1001;也可以先执行S1001,后执行S602-S604;还可以同时执行S602-S604中任一步骤和S1001。The embodiment of the present application does not limit the sequence of S602-S604 and S1001. The server may execute S602-S604 first, and then execute S1001; it may also execute S1001 first, and then execute S602-S604; it may also execute any one of steps in S602-S604 and S1001 at the same time.
S1002、服务器向第一节点设备发送服务策略参数。S1002. The server sends a service policy parameter to the first node device.
具体的,在确定服务策略参数之后,服务器向第一节点设备发送服务策略参数,以使得第一节点设备根据服务策略参数为终端提供目标服务。Specifically, after determining the service policy parameter, the server sends the service policy parameter to the first node device, so that the first node device provides the terminal with the target service according to the service policy parameter.
示例性的,预设服务器的服务策略数据库包括:终端1(服务状态参数:服务类型为防火墙;服务策略参数:过滤网络地址“1.1.1.1”)。在接收到终端1发送的用于请求防火墙的服务请求之后,服务器向第一节点设备发送终端1对应的防火墙的服务策略参数,以使得第一节点设备为终端提供过滤网络地址“1.1.1.1”的防火墙的服务。Exemplarily, the service policy database of the preset server includes: Terminal 1 (service status parameter: service type is firewall; service policy parameter: filtering network address "1.1.1.1"). After receiving the service request for requesting the firewall sent by
在一种实施例中,结合图6,如图11所示,在S603之前,服务调度方法还包括:S1101。In one embodiment, referring to FIG. 6, as shown in FIG. 11, before S603, the service scheduling method further includes: S1101.
S1101、服务器将终端的唯一标识添加到服务标识的参数字段中,以得到更新后的服务标识。S1101. The server adds the unique identifier of the terminal to the parameter field of the service identifier to obtain an updated service identifier.
其中,服务标识包括参数字段。Wherein, the service identifier includes a parameter field.
具体的,在确定终端的唯一标识和第一节点设备的服务标识之后,服务器可以将终端的唯一标识添加到服务标识的参数字段中,以使得第二节点设备根据服务标识,向第一节点设备发送包括终端的唯一标识的第二服务请求。Specifically, after determining the unique identifier of the terminal and the service identifier of the first node device, the server may add the unique identifier of the terminal to the parameter field of the service identifier, so that the second node device sends the first node device an A second service request including the unique identifier of the terminal is sent.
可选的,当服务标识为SID时,服务器可以将终端的唯一标识添加到SID的参数字段。Optionally, when the service identifier is a SID, the server may add the unique identifier of the terminal to the parameter field of the SID.
示例性的,预设服务器确定终端的唯一标识为123,第一节点设备的服务标识为SID(包括标识字段Locator、指令字段Function和参数字段Arguments)。如表6所示,服务器可以将终端的唯一标识添加到SID得到Arguments字段。Exemplarily, the preset server determines that the unique identifier of the terminal is 123, and the service identifier of the first node device is SID (including an identifier field Locator, an instruction field Function and a parameter field Arguments). As shown in Table 6, the server may add the unique identifier of the terminal to the SID to obtain the Arguments field.
表6Table 6
综上,本申请实施例中的服务调度装置在服务调度的过程中,接收到终端发送的用于请求目标服务的第一服务请求之后,确定终端的唯一标识和提供目标服务的第一节点设备的服务标识。然后,向与终端连接的第二节点设备发送终端的唯一标识和服务标识。后续,第二节点设备根据服务标识,向第一节点设备发送用于指示第一节点设备向终端提供目标服务的第二服务请求。由于第二服务请求包括终端的唯一标识,因此,第一节点设备可以通过识别终端的唯一标识,确定请求目标服务的唯一终端。To sum up, in the process of service scheduling, the service scheduling apparatus in the embodiment of the present application determines the unique identifier of the terminal and the first node device providing the target service after receiving the first service request sent by the terminal for requesting the target service The service ID for . Then, send the unique identifier and service identifier of the terminal to the second node device connected to the terminal. Subsequently, the second node device sends to the first node device a second service request for instructing the first node device to provide the target service to the terminal according to the service identifier. Since the second service request includes the unique identifier of the terminal, the first node device can determine the unique terminal requesting the target service by identifying the unique identifier of the terminal.
S603中服务器向与终端连接的第二节点设备发送终端的唯一标识和第一节点设备的服务标识的方法具体包括:S1102。In S603, the method for the server to send the unique identifier of the terminal and the service identifier of the first node device to the second node device connected to the terminal specifically includes: S1102.
S1102、服务器向与终端连接的第二节点设备发送更新后的服务标识。S1102. The server sends the updated service identifier to the second node device connected to the terminal.
具体的,在得到更新后的服务标识之后,由于更新后的服务标识包括终端的唯一标识,因此,服务器可以向与终端连接的第二节点设备发送更新后的服务标识。Specifically, after obtaining the updated service identifier, since the updated service identifier includes the unique identifier of the terminal, the server may send the updated service identifier to the second node device connected to the terminal.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对支撑服务器进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the support server into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. Optionally, the division of modules in this embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
如图12所示,为本申请实施例提供的一种服务调度装置的结构示意图。该服务调度装置可以用于执行图6、图7、图8、图9、图10或者图11所示的服务调度的方法。图12所示服务调度装置包括:接收单元1201、确定单元1202和发送单元1203。As shown in FIG. 12 , it is a schematic structural diagram of a service scheduling device provided by an embodiment of the present application. The service scheduling apparatus may be used to execute the service scheduling method shown in FIG. 6 , FIG. 7 , FIG. 8 , FIG. 9 , FIG. 10 or FIG. 11 . The service scheduling apparatus shown in FIG. 12 includes: a receiving
接收单元1201,用于接收终端发送的用于请求目标服务的第一服务请求。例如,结合图6,接收单元1201用于执行S601。The receiving
确定单元1202,用于确定终端的唯一标识和提供目标服务的第一节点设备的服务标识。例如,结合图6,确定单元1202用于执行S602。The determining
发送单元1203,用于向与终端连接的第二节点设备发送终端的唯一标识和第一节点设备的服务标识。例如,结合图6,发送单元1203用于执行S603。A sending
可选的,确定单元1202,具体用于确定目标服务的目标服务标识集合。例如,结合图7,确定单元1202用于执行S701。Optionally, the determining
确定单元1202,具体用于当数据库中包括目标服务标识集合时,从目标服务标识集合中,确定满足路由策略的服务标识为第一节点设备的服务标识。例如,结合图7,确定单元1202用于执行S702。The determining
可选的,确定单元1202,还用于根据接收单元1201接收的第一服务请求,确定提供目标服务的待部署节点设备。例如,结合图7,确定单元1202用于执行S703。Optionally, the determining
确定单元1202,具体用于向待部署节点设备发送用于指示待部署节点设备部署目标服务的指示消息。例如,结合图7,确定单元1202用于执行S704。The determining
确定单元1202,具体用于接收待部署节点设备响应于指示消息发送的部署成功的响应消息。例如,结合图7,确定单元1202用于执行S705。The determining
确定单元1202,具体用于响应于响应消息,将待部署节点设备的标识确定为服务标识。例如,结合图7,确定单元1202用于执行S706。The determining
可选的,确定单元1202,具体用于根据服务状态参数确定满足服务状态参数的服务配置参数。例如,结合图8,确定单元1202用于执行S801。Optionally, the determining
确定单元1202,具体用于从数据库中选择与服务配置参数对应的节点设备确定为待部署节点设备。例如,结合图8,确定单元1202用于执行S802。The determining
可选的,确定单元1202,具体用于将数据库中满足当前参数的多个服务标识确定为第一服务标识集合。例如,结合图9,确定单元1202用于执行S901。Optionally, the determining
确定单元1202,具体用于将第一服务标识集合中满足当前参数的下一个参数的多个服务标识确定为第二服务标识集合,直至目标服务标识集合满足多个参数中的所有参数。例如,结合图9,确定单元1202用于执行S902。The determining
可选的,确定单元1202,具体用于当目标服务标识集合包括一个服务标识时,将一个服务标识确定为待部署节点设备的服务标识。例如,结合图9,确定单元1202用于执行S903。Optionally, the determining
可选的,确定单元1202,还用于确定目标服务的服务策略参数。例如,结合图10,确定单元1202用于执行S1001。Optionally, the determining
发送单元1203,还用于向第一节点设备发送确定单元1202确定的服务策略参数。例如,结合图10,发送单元1203用于执行S1002。The sending
可选的,还包括:处理单元1204。Optionally, further includes: a
处理单元1204,用于将确定单元1202确定的终端的唯一标识添加到确定单元1202确定的服务标识的参数字段中。例如,结合图11,处理单元1204用于执行S1101。The
发送单元1203,具体用于向与终端连接的第二节点设备发送更新后的服务标识。例如,结合图11,发送单元1203用于执行S1102。The sending
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的服务调度方法。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions run on the computer, the computer executes the service scheduling method provided in the above-mentioned embodiments.
本申请实施例还提供一种计算机程序,该计算机程序可直接加载到存储器中,并含有软件代码,该计算机程序经由计算机载入并执行后能够实现上述实施例提供的服务调度方法。The embodiment of the present application also provides a computer program, which can be directly loaded into the memory and contains software codes. After the computer program is loaded and executed by the computer, the service scheduling method provided by the above embodiments can be realized.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机可读存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the above one or more examples, the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. If an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111424467.5ACN114125038B (en) | 2021-11-26 | 2021-11-26 | A service scheduling method, device and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111424467.5ACN114125038B (en) | 2021-11-26 | 2021-11-26 | A service scheduling method, device and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN114125038A CN114125038A (en) | 2022-03-01 |
| CN114125038Btrue CN114125038B (en) | 2023-07-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111424467.5AActiveCN114125038B (en) | 2021-11-26 | 2021-11-26 | A service scheduling method, device and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN114125038B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6898633B1 (en)* | 2000-10-04 | 2005-05-24 | Microsoft Corporation | Selecting a server to service client requests |
| CN110300184A (en)* | 2019-07-10 | 2019-10-01 | 深圳市网心科技有限公司 | Fringe node distribution method, device, dispatch server and storage medium |
| CN110311983A (en)* | 2019-07-09 | 2019-10-08 | 北京字节跳动网络技术有限公司 | Processing method, device, system, electronic equipment and the storage medium of service request |
| CN110308983A (en)* | 2019-04-19 | 2019-10-08 | 中国工商银行股份有限公司 | Method for balancing resource load and system, service node and client |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8745266B2 (en)* | 2011-06-30 | 2014-06-03 | Citrix Systems, Inc. | Transparent layer 2 redirection of request to single sign in service based on applying policy to content of request |
| US20170295077A1 (en)* | 2016-04-12 | 2017-10-12 | Dell Software Inc. | Optimal service provider selection |
| CN107872486B (en)* | 2016-09-28 | 2020-06-02 | 华为技术有限公司 | Communication method and device |
| CN109962961A (en)* | 2017-12-26 | 2019-07-02 | 中国移动通信集团广西有限公司 | A method and system for redirecting a CDN service node of a content distribution network |
| CN108449282B (en)* | 2018-05-29 | 2021-12-21 | 华为技术有限公司 | A load balancing method and device thereof |
| CN109995859A (en)* | 2019-03-26 | 2019-07-09 | 网宿科技股份有限公司 | A kind of dispatching method, dispatch server and computer readable storage medium |
| CN110381162B (en)* | 2019-07-29 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Service processing method and related device |
| CN112491978B (en)* | 2020-11-12 | 2022-02-18 | 中国联合网络通信集团有限公司 | Scheduling method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6898633B1 (en)* | 2000-10-04 | 2005-05-24 | Microsoft Corporation | Selecting a server to service client requests |
| CN110308983A (en)* | 2019-04-19 | 2019-10-08 | 中国工商银行股份有限公司 | Method for balancing resource load and system, service node and client |
| CN110311983A (en)* | 2019-07-09 | 2019-10-08 | 北京字节跳动网络技术有限公司 | Processing method, device, system, electronic equipment and the storage medium of service request |
| CN110300184A (en)* | 2019-07-10 | 2019-10-01 | 深圳市网心科技有限公司 | Fringe node distribution method, device, dispatch server and storage medium |
| Publication number | Publication date |
|---|---|
| CN114125038A (en) | 2022-03-01 |
| Publication | Publication Date | Title |
|---|---|---|
| CN109428749B (en) | Network management method and related equipment | |
| JP6995189B2 (en) | Data transmission methods, devices, and systems | |
| CN111385746B (en) | Communication method and communication equipment | |
| CN103312605B (en) | A kind of gateway device identity setting method and management gateway equipment | |
| WO2022152238A1 (en) | Communication method and communication apparatus | |
| CN112437104B (en) | Method and device for quality of service management, and communication system | |
| CN113825251B (en) | Session establishment method, device, system and computer storage medium | |
| CN112399523B (en) | URSP checking method and device | |
| CN104184663B (en) | Communication means and device based on software defined network and integrated identification network | |
| CN116232985A (en) | A routing planning method, device and storage medium | |
| CN111757315B (en) | A service connection method and device | |
| EP3780885A1 (en) | Method, apparatus and system for establishing subflows of multipath connection | |
| CN111901132A (en) | Group management method, device and system | |
| US20120014283A1 (en) | System and method operable to enable shortest connection route | |
| CN105791073A (en) | Method and device for service deployment in virtualized network | |
| WO2022052875A1 (en) | Terminal cross-region communication method, network element device, and storage medium | |
| CN116671137A (en) | Method and device for determining MEC access point | |
| CN111757316A (en) | A service connection method and device | |
| US11929851B2 (en) | Gateway selection method, device, and system | |
| CN110621051A (en) | Routing method and device | |
| JP2023541662A (en) | Data steering method and device | |
| CN114363918B (en) | Network slicing contract method, user equipment, core network equipment and system | |
| CN114125038B (en) | A service scheduling method, device and storage medium | |
| CN118487936A (en) | A virtual-real interconnection method, device, equipment and storage medium | |
| CN104969598A (en) | A method and device for communication using white spectrum |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |