WO2023005124A1 - Network slice resource sharing method and apparatus, and device and medium - Google Patents

Network slice resource sharing method and apparatus, and device and medium Download PDF

Info

Publication number
WO2023005124A1
WO2023005124A1 PCT/CN2021/140739 CN2021140739W WO2023005124A1 WO 2023005124 A1 WO2023005124 A1 WO 2023005124A1 CN 2021140739 W CN2021140739 W CN 2021140739W WO 2023005124 A1 WO2023005124 A1 WO 2023005124A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
service
network slice
sent
target network
Prior art date
Application number
PCT/CN2021/140739
Other languages
French (fr)
Chinese (zh)
Inventor
刘小猛
Original Assignee
深圳市广和通无线股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市广和通无线股份有限公司 filed Critical 深圳市广和通无线股份有限公司
Publication of WO2023005124A1 publication Critical patent/WO2023005124A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]

Definitions

  • the present application relates to the technical field of network resource sharing, and in particular to a method, device, device and medium for sharing network slice resources.
  • the terminal when initially applying for network slicing resources for different services, the terminal indicates the supported slicing services to the network, and through negotiation the network allocates corresponding slicing network resources according to the terminal’s subscription status, and the network resources obtained after the service runs This limit will not be exceeded and throughout the lifetime of the service.
  • Different services obtain different network resources according to their contracts with operators, including but not limited to bandwidth, delay, wireless resource scheduling, QoS (Quality of Service), business functions and other characteristics, capabilities and services. combination.
  • the service provider may need to re-contract with the slice operator to change or add slice resources; or a service has signed multiple network slices, and the device needs to submit a new slice resource application for the service to obtain a new one. network slice resources.
  • the inventor found in the process of implementing this application that there are at least the following problems in the traditional technology: once the slice resource of the service application is determined, if there is a new resource demand, it cannot be adjusted in time; if a slice temporarily needs to add some resources, It needs to be added to the original slice resources. As the demand increases, slice resources are allocated too much, which is easy to cause waste of resources; even if the same service can share multiple slices, switching to a new network slice requires an application to the network. delay.
  • the purpose of this application is to provide a method, device, device and medium for sharing network slice resources, which can share network slice resources obtained by low-priority services with high-priority services without initiating an application to the network. Time delay and resource waste are avoided, and resource utilization is improved.
  • the specific plan is as follows:
  • the present application discloses a method for sharing network slicing resources, including:
  • the data to be sent of the first service is sent by using the target network slice resource and the original network slice resource of the first service.
  • the sending the data to be sent of the first service by using the target network slice resource and the original network slice resource of the first service includes:
  • the temporary data channel to send the data to be sent through the first IP address, or using the original data channel to send the data to be sent through the second IP address; wherein, the The second IP address is an IP address corresponding to the original network slice resource.
  • the resource application includes resource names of required resources
  • the searching for the network slice resource corresponding to the resource application includes:
  • the continuing to use the target network slice resource to send the data to be sent of the first service includes:
  • a resource application obtaining module configured to obtain the resource application sent by the first service
  • a network slicing resource search module configured to search for a network slicing resource corresponding to the resource application to obtain a target network slicing resource
  • a data sending control module configured to use the target network slice resource and the original network slice resource of the first service to send the information of the first service when the slice running state query module determines that the running state is idle. Data to be sent.
  • a processor configured to execute the computer program, so as to implement the aforementioned method for sharing network slice resources.
  • FIG. 3 is a schematic structural diagram of a device for sharing network slicing resources disclosed in the present application.
  • FIG. 4 is a flow chart of sharing network slicing resources disclosed in the present application.
  • FIG. 5 is a structural diagram of an electronic device disclosed in the present application.
  • the terminal when initially applying for network slicing resources for different services, the terminal indicates the supported slicing services to the network, and through negotiation the network allocates corresponding slicing network resources according to the terminal’s subscription status, and the network resources obtained after the service runs This limit will not be exceeded and throughout the lifetime of the service.
  • the traditional technology has at least the following problems: once the slice resource for service application is determined, if there is a new resource demand, it cannot be adjusted in time; if a slice temporarily needs to add some resources, it needs to be added to the original slice resource. Excessive allocation of slice resources can easily lead to waste of resources; even if the same service can share multiple slices, switching to a new network slice requires an application to the network, and there is a delay. For this reason, this application provides a network slicing resource sharing scheme, which can share sliced network resources obtained by low-priority services with high-priority services without initiating an application to the network, avoiding time delay and waste of resources, and improving resource utilization.
  • the embodiment of the present application discloses a method for sharing network slicing resources, including:
  • the available network slicing resources are the network slicing resources that the corresponding service has applied for from the network.
  • Step S13 Compare the priorities of the second service corresponding to the target network slice resource with the first service.
  • the priority information of the second service may be searched, and the priorities of the second service and the first service may be compared based on the priority information obtained from the search.
  • the priority can be customized by the user, specifically, the priority can be determined according to the importance of the service, the frequency of resource usage, and the degree of resource occupation when using the resource.
  • Step S15 When the running state is idle, send the data to be sent of the first service by using the target network slice resource and the original network slice resource of the first service.
  • this embodiment of the present application may establish a temporary data channel between the first service and the first IP address; wherein, the first IP address is the IP address corresponding to the target network slice resource; determine the Describe the resource type required for the data to be sent; based on the resource type, use the temporary data channel to send the data to be sent through the first IP address, or use the original data channel to send the data to be sent through the The second IP address is sent; wherein, the second IP address is an IP address corresponding to the original network slice resource.
  • an IP address data channel corresponding to the service and network slice resources is established, and session processing is performed through the IP address to send data to the outside of the device.
  • the resource application sent by the first service is obtained first, and the network slice resource corresponding to the resource application is searched to obtain the target network slice resource, and then the second service corresponding to the target network slice resource is compared with The priority of the first service.
  • the priority of the first service is higher than that of the second service, query the running status of the target network slice resource.
  • the running status is idle, use the The target network slice resource and the original network slice resource of the first service send the data to be sent of the first service.
  • Step S21 Obtain the resource application sent by the first service.
  • the resource application includes the required usage time of the required resources.
  • Step S22 Find the network slice resource corresponding to the resource application to obtain the target network slice resource.
  • Step S23 comparing the priorities of the second service corresponding to the target network slice resource with the first service.
  • Step S25 When the running state is idle, send the data to be sent of the first service by using the target network slice resource and the original network slice resource of the first service.
  • the duration of the first timer is the required usage duration.
  • Step S26 Start a first timer based on the required usage duration, so as to control the duration of sending the to-be-sent data of the first service by using the target network slice resource.
  • step S26 there is no sequence between step S26 and the step of using the target network slice resource and the original network slice resource of the first service to send the data to be sent of the first service.
  • the target network slice resource When the running state is connected, the target network slice resource is not used, or a first timer is started, and the running state of the target network slice resource is monitored in real time, and when the running state is detected to be idle, a second timer is started, If the first timer does not expire, then use the target network slice resource and the original network slice resource of the first service to send the data to be sent of the first service, when the first timer or the second timer expires , the target network slice resources are released.
  • Step S27 When obtaining the use request of the target network slice resource by the second service, suspend using the target network slice resource to send the data to be sent of the first service.
  • Step S28 When the second service enters the idle state again and the first timer has not timed out, continue to use the target network slice resource to send the data to be sent of the first service.
  • the first timer may be set, so as to release the temporary data channel after the first timer expires, release the binding with the IP address of the target network slice resource, and release the target network slice resource. Moreover, when the second service enters the idle state again, does not use the target network slice resource temporarily, and the first timer does not expire, the first service may continue to use the target network slice resource.
  • the second service after the second service enters the idle state again, it further includes: starting a second timer;
  • the continuing to use the target network slice resource to send the data to be sent of the first service includes: continuing to use the target network slice before the second timer or the first timer expires The resource sends the to-be-sent data of the first service.
  • the resource of the target entire network slice is released.
  • the occupation time of the target network slice resource by the first service can be limited.
  • the second service can be monitored, and the duration of the second timer can be determined based on the monitoring result. For example, based on the monitoring result, the first The second service needs to use the target network slice resource after 20 minutes, and the duration of the second timer can be set to a value less than 20 minutes. To avoid impact on the second service.
  • network slice resources are shared on demand and time-sharing.
  • the car is driving on a wide road, and the autonomous driving service obtains low-latency and high-reliability network slicing resources.
  • the automatic driving service applies for wide connection slice resources, obtains the ultrasonic positioning device deployed in the basement, and the car communicates with each positioning device to simulate the basement form, for automatic driving.
  • the terrain becomes wider again, and there is no need to communicate with each ultrasonic device, releasing wide-connection slice resources.
  • a resource application obtaining module 11 configured to obtain a resource application sent by the first service
  • a network slicing resource search module 12 configured to search for a network slicing resource corresponding to the resource application, so as to obtain a target network slicing resource;
  • a priority comparison module 13 configured to compare the priorities of the second service corresponding to the target network slice resource with the first service
  • a slice running state query module 14 configured to query the running state of the target network slice resource when the priority comparison module determines that the priority of the first service is higher than that of the second service;
  • a data sending control module 15 configured to use the target network slice resource and the original network slice resource of the first service to send the first service when the slice running state query module determines that the running state is idle. data to be sent.
  • a temporary data channel establishment submodule configured to establish a temporary data channel between the first service and a first IP address; wherein the first IP address is an IP address corresponding to the target network slice resource;
  • a resource type determining submodule configured to determine the resource type required by the data to be sent
  • the data sending control submodule is configured to use the temporary data channel to send the data to be sent through the first IP address based on the resource type, or use the original data channel to send the data to be sent through the second IP address.
  • the resource application includes the resource name of the required resource
  • the network slice resource search module 12 is specifically configured to search for the network slice resource to which the required resource belongs based on the resource name.
  • the resource application includes the required usage time of the required resource
  • the device further includes a timer management module, configured to start a first timer based on the required usage duration, so as to control the duration of sending the data to be sent of the first service by using the target network slice resource.
  • a timer management module configured to start a first timer based on the required usage duration, so as to control the duration of sending the data to be sent of the first service by using the target network slice resource.
  • the data sending control module 15 also includes:
  • the suspending submodule is configured to suspend sending the data to be sent of the first service by using the target network slice resource when obtaining the use request of the target network slice resource by the second service.
  • the data sending control module 15 is also used for:
  • timer management module is further configured to start a second timer after the second service enters an idle state again;
  • the data sending control module 15 is specifically configured to continue to use the target network slice resource to send the data to be sent of the first service before the second timer or the first timer times out.
  • the resource integration module is specifically used to manage the distribution between the IP address (IP1) of the slice to which the application resource belongs and the original IP address (IP2) of the slice corresponding to service A, bind IP1 to service A, and establish an For the temporary data call between service A and IP1, the resource types required for subsequent service A to send data are classified by the module. For the original resource requirements, IP2 will continue to be used for session processing, and the new resource requirements will be based on IP1 in timer T1. Session processing before timeout.
  • the timer management module has the creation and stop of timer T1 for the duration of resource application, and the creation and stop of idle state timer T2 of service B.
  • the memory 22, as a resource storage carrier may be a read-only memory, random access memory, magnetic disk or optical disk, etc., and the storage method may be temporary storage or permanent storage.
  • each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other.
  • the description is relatively simple, and for the related part, please refer to the description of the method part.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

Abstract

A network slice resource sharing method and apparatus, and a device and a medium. The method comprises: acquiring a resource application, which is sent by a first service; performing a search on network slice resources, which correspond to the resource application, so as to obtain a target network slice resource; comparing the priority of a second service, which corresponds to the target network slice resource, with the priority of the first service; when the priority of the first service is higher than the priority of the second service, querying a running state of the target network slice resource; and when the running state is idle, sending data to be sent of the first service by using the target network slice resource and an original network slice resource of the first service.

Description

一种网络切片资源的共享方法、装置、设备及介质A network slicing resource sharing method, device, equipment and medium
本申请要求于2021年07月27日提交中国专利局、申请号为202110850107.5、发明名称为“一种网络切片资源的共享方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on July 27, 2021, with the application number 202110850107.5, and the title of the invention is "a method, device, equipment and medium for sharing network slicing resources", the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请涉及网络资源共享技术领域,特别涉及一种网络切片资源的共享方法、装置、设备及介质。The present application relates to the technical field of network resource sharing, and in particular to a method, device, device and medium for sharing network slice resources.
背景技术Background technique
当前,针对不同服务的网络切片资源在初始发起申请的时候,由终端向网络指示支持的切片服务,通过协商网络根据终端签约情况分配对应的切片网络资源,且服务在运行之后所获得的网络资源不会超过这个限制并贯穿整个服务的生命周期。不同的服务根据与运营商签约情况获取的网络资源都有差异,包括但不限于带宽、时延、无线资源调度、QoS(即Quality of Service,服务质量)、业务功能等特征、能力和服务的组合。如果需要为服务更改这些资源的限制,可能需要服务提供商与切片运营商重新签约更改或者新增切片资源;或者一个服务已签署多个网络切片,需要设备重新为服务提交切片资源申请后获得新的网络切片资源。综上,发明人在实现本申请的过程中发现,传统技术至少存在以下问题:服务申请的切片资源一旦确定后,如果有新的资源需求,无法及时调整;如果一个切片临时需要增加一些资源,需要在原有切片资源上增加,随着需求的增多,切片资源分配过多,容易造成资源浪费;即使同一个服务可以共享多个切片,重新切换一个新的网络切片需要向网络发起申请,存在时延。Currently, when initially applying for network slicing resources for different services, the terminal indicates the supported slicing services to the network, and through negotiation the network allocates corresponding slicing network resources according to the terminal’s subscription status, and the network resources obtained after the service runs This limit will not be exceeded and throughout the lifetime of the service. Different services obtain different network resources according to their contracts with operators, including but not limited to bandwidth, delay, wireless resource scheduling, QoS (Quality of Service), business functions and other characteristics, capabilities and services. combination. If it is necessary to change the limits of these resources for the service, the service provider may need to re-contract with the slice operator to change or add slice resources; or a service has signed multiple network slices, and the device needs to submit a new slice resource application for the service to obtain a new one. network slice resources. To sum up, the inventor found in the process of implementing this application that there are at least the following problems in the traditional technology: once the slice resource of the service application is determined, if there is a new resource demand, it cannot be adjusted in time; if a slice temporarily needs to add some resources, It needs to be added to the original slice resources. As the demand increases, slice resources are allocated too much, which is easy to cause waste of resources; even if the same service can share multiple slices, switching to a new network slice requires an application to the network. delay.
发明内容Contents of the invention
有鉴于此,本申请的目的在于提供一种网络切片资源的共享方法、装置、设备及介质,能够将低优先级服务已获取的切片网络资源共享给高优先级服务,无需向网络发起申请,避免了时延和资源浪费,提高了资源利 用率。其具体方案如下:In view of this, the purpose of this application is to provide a method, device, device and medium for sharing network slice resources, which can share network slice resources obtained by low-priority services with high-priority services without initiating an application to the network. Time delay and resource waste are avoided, and resource utilization is improved. The specific plan is as follows:
第一方面,本申请公开了一种网络切片资源的共享方法,包括:In the first aspect, the present application discloses a method for sharing network slicing resources, including:
获取第一服务发送的资源申请;Obtain the resource application sent by the first service;
查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源;Finding a network slice resource corresponding to the resource application to obtain a target network slice resource;
对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级;comparing the priorities of the second service corresponding to the target network slice resource with the first service;
当所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态;When the priority of the first service is higher than that of the second service, query the running status of the target network slice resource;
当所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。When the running state is idle, the data to be sent of the first service is sent by using the target network slice resource and the original network slice resource of the first service.
可选的,所述利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据,包括:Optionally, the sending the data to be sent of the first service by using the target network slice resource and the original network slice resource of the first service includes:
建立所述第一服务与第一IP地址的临时数据通道;其中,所述第一IP地址为所述目标网络切片资源对应的IP地址;Establishing a temporary data channel between the first service and a first IP address; wherein the first IP address is an IP address corresponding to the target network slice resource;
确定所述待发送数据所需的资源类型;determining the resource type required by the data to be sent;
基于所述资源类型,利用所述临时数据通道将所述待发送数据通过所述第一IP地址发送,或利用原有数据通道将所述待发送数据通过第二IP地址发送;其中,所述第二IP地址为与所述原有网络切片资源对应的IP地址。Based on the resource type, using the temporary data channel to send the data to be sent through the first IP address, or using the original data channel to send the data to be sent through the second IP address; wherein, the The second IP address is an IP address corresponding to the original network slice resource.
可选的,所述资源申请包括所需资源的资源名称;Optionally, the resource application includes resource names of required resources;
相应的,所述查找与所述资源申请对应的网络切片资源,包括:Correspondingly, the searching for the network slice resource corresponding to the resource application includes:
基于所述资源名称查找所需资源所属的网络切片资源。Find the network slice resource to which the required resource belongs based on the resource name.
可选的,所述资源申请包括所需资源的需求使用时长;Optionally, the resource application includes the required usage time of the required resources;
相应的,所述方法还包括:Correspondingly, the method also includes:
基于所述需求使用时长启动第一定时器,以控制利用所述目标网络切片资源发送所述第一服务的待发送数据的时长。A first timer is started based on the required usage duration, so as to control the duration for sending the data to be sent of the first service by using the target network slice resource.
可选的,还包括:Optionally, also include:
当获取到所述第二服务对所述目标网络切片资源的使用请求,则暂停利用所述目标网络切片资源发送所述第一服务的待发送数据。When obtaining the use request of the target network slice resource by the second service, suspend using the target network slice resource to send the data to be sent of the first service.
可选的,还包括:Optionally, also include:
当所述第二服务再次进入空闲状态,且所述第一定时器没有超时,则继续利用所述目标网络切片资源发送所述第一服务的待发送数据。When the second service enters the idle state again and the first timer has not expired, continue to use the target network slice resource to send the data to be sent of the first service.
可选的,所述当所述第二服务再次进入空闲状态之后,还包括:Optionally, after the second service enters the idle state again, it further includes:
启动第二定时器;start the second timer;
相应的,所述继续利用所述目标网络切片资源发送所述第一服务的待发送数据,包括:Correspondingly, the continuing to use the target network slice resource to send the data to be sent of the first service includes:
在所述第二定时器或所述第一定时器超时前,继续利用所述目标网络切片资源发送所述第一服务的待发送数据。Before the second timer or the first timer expires, continue to use the target network slice resource to send the data to be sent of the first service.
第二方面,本申请公开了一种网络切片资源的共享装置,包括:In a second aspect, the present application discloses a device for sharing network slicing resources, including:
资源申请获取模块,用于获取第一服务发送的资源申请;A resource application obtaining module, configured to obtain the resource application sent by the first service;
网络切片资源查找模块,用于查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源;A network slicing resource search module, configured to search for a network slicing resource corresponding to the resource application to obtain a target network slicing resource;
优先级比对模块,用于对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级;a priority comparison module, configured to compare the priorities of the second service corresponding to the target network slice resource with the first service;
切片运行状态查询模块,用于当所述优先权比对模块判定所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态;A slice running state query module, configured to query the running state of the target network slice resource when the priority comparison module determines that the priority of the first service is higher than that of the second service;
数据发送控制模块,用于当所述切片运行状态查询模块判定所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。A data sending control module, configured to use the target network slice resource and the original network slice resource of the first service to send the information of the first service when the slice running state query module determines that the running state is idle. Data to be sent.
第三方面,本申请公开了一种电子设备,包括:In a third aspect, the present application discloses an electronic device, comprising:
存储器,用于保存计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序,以实现前述的网络切片资源的共享方法。A processor, configured to execute the computer program, so as to implement the aforementioned method for sharing network slice resources.
第四方面,本申请公开了一种计算机可读存储介质,用于保存计算机程序,所述计算机程序被处理器执行时实现前述的网络切片资源的共享方法。In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, and when the computer program is executed by a processor, the aforementioned method for sharing network slice resources is implemented.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects and advantages of the present application will be apparent from the description, drawings and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For the embodiments of the present application, those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请公开的一种网络切片资源的共享方法流程图;FIG. 1 is a flowchart of a method for sharing network slice resources disclosed in the present application;
图2为本申请公开的一种具体的网络切片资源的共享方法流程图;FIG. 2 is a flow chart of a specific method for sharing network slice resources disclosed in the present application;
图3为本申请公开的一种网络切片资源的共享装置结构示意图;FIG. 3 is a schematic structural diagram of a device for sharing network slicing resources disclosed in the present application;
图4为本申请公开的一种网络切片资源的共享流程图;FIG. 4 is a flow chart of sharing network slicing resources disclosed in the present application;
图5为本申请公开的一种电子设备结构图。FIG. 5 is a structural diagram of an electronic device disclosed in 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 drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
当前,针对不同服务的网络切片资源在初始发起申请的时候,由终端向网络指示支持的切片服务,通过协商网络根据终端签约情况分配对应的切片网络资源,且服务在运行之后所获得的网络资源不会超过这个限制并贯穿整个服务的生命周期。传统技术至少存在以下问题:服务申请的切片资源一旦确定后,如果有新的资源需求,无法及时调整;如果一个切片临时需要增加一些资源,需要在原有切片资源上增加,随着需求的增多,切片资源分配过多,容易造成资源浪费;即使同一个服务可以共享多个切片,重新切换一个新的网络切片需要向网络发起申请,存在时延。为此,本申请提供了一种网络切片资源的共享方案,能够将低优先级服务已获取的切片网络资源共享给高优先级服务,无需向网络发起申请,避免了时延和资源浪费,提高了资源利用率。Currently, when initially applying for network slicing resources for different services, the terminal indicates the supported slicing services to the network, and through negotiation the network allocates corresponding slicing network resources according to the terminal’s subscription status, and the network resources obtained after the service runs This limit will not be exceeded and throughout the lifetime of the service. The traditional technology has at least the following problems: once the slice resource for service application is determined, if there is a new resource demand, it cannot be adjusted in time; if a slice temporarily needs to add some resources, it needs to be added to the original slice resource. Excessive allocation of slice resources can easily lead to waste of resources; even if the same service can share multiple slices, switching to a new network slice requires an application to the network, and there is a delay. For this reason, this application provides a network slicing resource sharing scheme, which can share sliced network resources obtained by low-priority services with high-priority services without initiating an application to the network, avoiding time delay and waste of resources, and improving resource utilization.
参见图1所示,本申请实施例公开了一种网络切片资源的共享方法,包 括:Referring to Fig. 1, the embodiment of the present application discloses a method for sharing network slicing resources, including:
步骤S11:获取第一服务发送的资源申请。Step S11: Obtain the resource application sent by the first service.
步骤S12:查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源。Step S12: Find the network slice resource corresponding to the resource application to obtain the target network slice resource.
在具体的实施方式中,所述资源申请包括所需资源的资源名称;相应的,所述查找与所述资源申请对应的网络切片资源,包括:基于所述资源名称查找所需资源所属的网络切片资源。In a specific implementation manner, the resource application includes the resource name of the required resource; correspondingly, the searching for the network slice resource corresponding to the resource application includes: searching for the network to which the required resource belongs based on the resource name Slice resources.
可以理解的是,本申请实施例可以查询所有的可用网络切片资源以及对应的服务名称。可用网络切片资源即为相应服务已向网络申请而获得的网络切片资源。It can be understood that, in this embodiment of the present application, all available network slice resources and corresponding service names can be queried. The available network slicing resources are the network slicing resources that the corresponding service has applied for from the network.
步骤S13:对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级。Step S13: Compare the priorities of the second service corresponding to the target network slice resource with the first service.
在具体的实施方式中,可以查找第二服务的优先级信息,基于查找得到优先级信息比对第二服务与所述第一服务的优先级。In a specific implementation manner, the priority information of the second service may be searched, and the priorities of the second service and the first service may be compared based on the priority information obtained from the search.
其中,优先级可以为用户自定义,具体的,可以根据服务的重要程度、资源使用频率、使用资源时对资源的占用程度等确定优先级。Wherein, the priority can be customized by the user, specifically, the priority can be determined according to the importance of the service, the frequency of resource usage, and the degree of resource occupation when using the resource.
步骤S14:当所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态。Step S14: When the priority of the first service is higher than that of the second service, query the running status of the target network slice resource.
步骤S15:当所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。Step S15: When the running state is idle, send the data to be sent of the first service by using the target network slice resource and the original network slice resource of the first service.
也即,当目标网络切片资源的运行状态为空闲时,可以共享给第一服务。That is, when the running state of the target network slice resource is idle, it can be shared with the first service.
在具体的实施方式中,本申请实施例可以建立所述第一服务与第一IP地址的临时数据通道;其中,所述第一IP地址为所述目标网络切片资源对应的IP地址;确定所述待发送数据所需的资源类型;基于所述资源类型,利用所述临时数据通道将所述待发送数据通过所述第一IP地址发送,或利用原有数据通道将所述待发送数据通过第二IP地址发送;其中,所述第二IP地址为与所述原有网络切片资源对应的IP地址。In a specific implementation manner, this embodiment of the present application may establish a temporary data channel between the first service and the first IP address; wherein, the first IP address is the IP address corresponding to the target network slice resource; determine the Describe the resource type required for the data to be sent; based on the resource type, use the temporary data channel to send the data to be sent through the first IP address, or use the original data channel to send the data to be sent through the The second IP address is sent; wherein, the second IP address is an IP address corresponding to the original network slice resource.
需要指出的是,在设备内部,在应用侧即服务侧,建立服务与网络切 片资源对应的IP地址数据通道,并通过IP地址进行会话处理,以将数据发送至设备外部。It should be pointed out that within the device, on the application side, that is, the service side, an IP address data channel corresponding to the service and network slice resources is established, and session processing is performed through the IP address to send data to the outside of the device.
也即,本申请实施例中,不同的网络切片资源依赖于不同的IP地址来获取,建立临时数据通道即实现了与相应网络切片资源的绑定,所以可以通过双IP地址映射建立临时数据通道对服务相应的数据进行分流处理,不用切换或重新申请,可以及时获取对应的网络切片资源,达到快速共享网络切片资源的效果。That is to say, in the embodiment of this application, different network slice resources are obtained depending on different IP addresses, and the establishment of a temporary data channel realizes the binding with the corresponding network slice resource, so the temporary data channel can be established through dual IP address mapping By offloading the data corresponding to the service, without switching or re-applying, the corresponding network slicing resources can be obtained in time, achieving the effect of quickly sharing network slicing resources.
可见,本申请实施例先获取第一服务发送的资源申请,并查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源,之后对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级,当所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态,当所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。这样,获取第一服务发送的资源申请,找到对应的目标网络切片资源,比对第二服务和第一服务的优先级,当第一服务优先级大于第二服务,且目标网络切片资源空闲,则将利用目标网络切片资源和第一服务原有网络切片资源发送第一服务的数据,能够将低优先级服务已获取的切片网络资源共享给高优先级服务,无需向网络发起申请,避免了时延和资源浪费,提高了资源利用率。It can be seen that in the embodiment of the present application, the resource application sent by the first service is obtained first, and the network slice resource corresponding to the resource application is searched to obtain the target network slice resource, and then the second service corresponding to the target network slice resource is compared with The priority of the first service. When the priority of the first service is higher than that of the second service, query the running status of the target network slice resource. When the running status is idle, use the The target network slice resource and the original network slice resource of the first service send the data to be sent of the first service. In this way, obtain the resource application sent by the first service, find the corresponding target network slice resource, compare the priority of the second service and the first service, when the priority of the first service is higher than that of the second service, and the target network slice resource is idle, Then, the target network slice resource and the original network slice resource of the first service will be used to send the data of the first service, and the slice network resources obtained by the low-priority service can be shared with the high-priority service without initiating an application to the network, avoiding the Time delay and resource waste improve resource utilization.
参见图2所示,本申请实施例公开了一种具体的网络切片资源的共享方法,包括:Referring to Figure 2, the embodiment of the present application discloses a specific method for sharing network slicing resources, including:
步骤S21:获取第一服务发送的资源申请。Step S21: Obtain the resource application sent by the first service.
其中,所述资源申请包括所需资源的需求使用时长。Wherein, the resource application includes the required usage time of the required resources.
步骤S22:查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源。Step S22: Find the network slice resource corresponding to the resource application to obtain the target network slice resource.
步骤S23:对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级。Step S23: comparing the priorities of the second service corresponding to the target network slice resource with the first service.
步骤S24:当所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态;Step S24: When the priority of the first service is higher than that of the second service, query the operation status of the target network slice resource;
步骤S25:当所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。Step S25: When the running state is idle, send the data to be sent of the first service by using the target network slice resource and the original network slice resource of the first service.
可以理解的是,第一定时器的时长即为需求使用时长。It can be understood that the duration of the first timer is the required usage duration.
步骤S26:基于所述需求使用时长启动第一定时器,以控制利用所述目标网络切片资源发送所述第一服务的待发送数据的时长。Step S26: Start a first timer based on the required usage duration, so as to control the duration of sending the to-be-sent data of the first service by using the target network slice resource.
需要指出的是,步骤S26与利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据的步骤没有先后顺序。It should be pointed out that there is no sequence between step S26 and the step of using the target network slice resource and the original network slice resource of the first service to send the data to be sent of the first service.
当所述运行状态为连接,则不使用目标网络切片资源,或者启动第一定时器,并实时监测目标网络切片资源的运行状态,当监测到所述运行状态为空闲,启动第二定时器,若第一定时器没有超时,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据,当第一定时器或者第二定时器超时,则释放目标网络切片资源。When the running state is connected, the target network slice resource is not used, or a first timer is started, and the running state of the target network slice resource is monitored in real time, and when the running state is detected to be idle, a second timer is started, If the first timer does not expire, then use the target network slice resource and the original network slice resource of the first service to send the data to be sent of the first service, when the first timer or the second timer expires , the target network slice resources are released.
步骤S27:当获取到所述第二服务对所述目标网络切片资源的使用请求,则暂停利用所述目标网络切片资源发送所述第一服务的待发送数据。Step S27: When obtaining the use request of the target network slice resource by the second service, suspend using the target network slice resource to send the data to be sent of the first service.
步骤S28:当所述第二服务再次进入空闲状态,且所述第一定时器没有超时,则继续利用所述目标网络切片资源发送所述第一服务的待发送数据。Step S28: When the second service enters the idle state again and the first timer has not timed out, continue to use the target network slice resource to send the data to be sent of the first service.
也即,本申请实施例可以设置第一定时器,以便在第一定时器超时后释放临时数据通道,解除与目标网络切片资源的IP地址的绑定,释放目标网络切片资源。并且,当所述第二服务再次进入空闲状态,暂时不使用目标网络切片资源,且第一定时器没有超时,第一服务可以继续使用目标网络切片资源。That is, in this embodiment of the present application, the first timer may be set, so as to release the temporary data channel after the first timer expires, release the binding with the IP address of the target network slice resource, and release the target network slice resource. Moreover, when the second service enters the idle state again, does not use the target network slice resource temporarily, and the first timer does not expire, the first service may continue to use the target network slice resource.
在具体的实施方式中,所述当所述第二服务再次进入空闲状态之后,还包括:启动第二定时器;In a specific implementation manner, after the second service enters the idle state again, it further includes: starting a second timer;
相应的,所述继续利用所述目标网络切片资源发送所述第一服务的待发送数据,包括:在所述第二定时器或所述第一定时器超时前,继续利用所述目标网络切片资源发送所述第一服务的待发送数据。Correspondingly, the continuing to use the target network slice resource to send the data to be sent of the first service includes: continuing to use the target network slice before the second timer or the first timer expires The resource sends the to-be-sent data of the first service.
在具体的实施方式中,当第二定时器或第一定时器超时,则释放目标全网络切片资源。In a specific implementation manner, when the second timer or the first timer expires, the resource of the target entire network slice is released.
这样,可以限制第一服务对目标网络切片资源的占用时长,在具体的实施方式中,可以对第二服务进行监测,基于监测结果确定第二定时器的时长,比如,基于监测结果预测到第二服务在20分钟后需要使用目标网络切片资源,第二定时器的时长可以设置为小于20分钟的一个值。以避免对第二服务的影响。In this way, the occupation time of the target network slice resource by the first service can be limited. In a specific implementation manner, the second service can be monitored, and the duration of the second timer can be determined based on the monitoring result. For example, based on the monitoring result, the first The second service needs to use the target network slice resource after 20 minutes, and the duration of the second timer can be set to a value less than 20 minutes. To avoid impact on the second service.
可见,本申请实施例,根据设备所获取的所有网络切片资源,依靠不同服务之间的优先级,在高优先级服务不额外新增切片新资源需求的前提下,在原有已获取的网络切片资源中,按需分时对网络切片资源进行共享。It can be seen that in the embodiment of this application, according to all the network slicing resources obtained by the device, relying on the priorities between different services, on the premise that high-priority services do not add new resource requirements for slicing, the original obtained network slicing In resources, network slice resources are shared on demand and time-sharing.
下面以全场景自动驾驶的应用场景为例,对本申请的网络切片资源的共享方案进一步描述:Taking the application scenario of full-scenario automatic driving as an example, the network slicing resource sharing solution of this application is further described:
第一步,汽车在广阔的道路上行驶,自动驾驶服务获取低延时高可靠性的网络切片资源。In the first step, the car is driving on a wide road, and the autonomous driving service obtains low-latency and high-reliability network slicing resources.
第二步,当汽车进入地库后,由于地形更为复杂,且网络信号差,自动驾驶服务申请广连接切片资源,获取地库部署的超声定位装置,汽车与各定位装置联系,模拟地库形态,进行自动驾驶。In the second step, when the car enters the basement, due to the more complex terrain and poor network signal, the automatic driving service applies for wide connection slice resources, obtains the ultrasonic positioning device deployed in the basement, and the car communicates with each positioning device to simulate the basement form, for automatic driving.
第三步,汽车出地库后,地形重新变得宽阔,且与各超声装置不再需要联系,释放广连接切片资源。In the third step, after the car leaves the basement, the terrain becomes wider again, and there is no need to communicate with each ultrasonic device, releasing wide-connection slice resources.
参见图3所示,本申请实施例公开了一种网络切片资源的共享装置,包括:Referring to Figure 3, the embodiment of the present application discloses a device for sharing network slice resources, including:
资源申请获取模块11,用于获取第一服务发送的资源申请;A resource application obtaining module 11, configured to obtain a resource application sent by the first service;
网络切片资源查找模块12,用于查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源;A network slicing resource search module 12, configured to search for a network slicing resource corresponding to the resource application, so as to obtain a target network slicing resource;
优先级比对模块13,用于对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级;A priority comparison module 13, configured to compare the priorities of the second service corresponding to the target network slice resource with the first service;
切片运行状态查询模块14,用于当所述优先权比对模块判定所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态;A slice running state query module 14, configured to query the running state of the target network slice resource when the priority comparison module determines that the priority of the first service is higher than that of the second service;
数据发送控制模块15,用于当所述切片运行状态查询模块判定所述运 行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。A data sending control module 15, configured to use the target network slice resource and the original network slice resource of the first service to send the first service when the slice running state query module determines that the running state is idle. data to be sent.
可见,本申请实施例先获取第一服务发送的资源申请,并查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源,之后对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级,当所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态,当所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。这样,获取第一服务发送的资源申请,找到对应的目标网络切片资源,比对第二服务和第一服务的优先级,当第一服务优先级大于第二服务,且目标网络切片资源空闲,则将利用目标网络切片资源和第一服务原有网络切片资源发送第一服务的数据,能够将低优先级服务已获取的切片网络资源共享给高优先级服务,无需向网络发起申请,避免了时延和资源浪费,提高了资源利用率。It can be seen that in the embodiment of the present application, the resource application sent by the first service is obtained first, and the network slice resource corresponding to the resource application is searched to obtain the target network slice resource, and then the second service corresponding to the target network slice resource is compared with The priority of the first service. When the priority of the first service is higher than that of the second service, query the running status of the target network slice resource. When the running status is idle, use the The target network slice resource and the original network slice resource of the first service send the data to be sent of the first service. In this way, obtain the resource application sent by the first service, find the corresponding target network slice resource, compare the priority of the second service and the first service, when the priority of the first service is higher than that of the second service, and the target network slice resource is idle, Then, the target network slice resource and the original network slice resource of the first service will be used to send the data of the first service, and the slice network resources obtained by the low-priority service can be shared with the high-priority service without initiating an application to the network, avoiding the Time delay and resource waste improve resource utilization.
其中,数据发送控制模块15,具体包括:Wherein, the data transmission control module 15 specifically includes:
临时数据通道建立子模块,用于建立所述第一服务与第一IP地址的临时数据通道;其中,所述第一IP地址为所述目标网络切片资源对应的IP地址;A temporary data channel establishment submodule, configured to establish a temporary data channel between the first service and a first IP address; wherein the first IP address is an IP address corresponding to the target network slice resource;
资源类型确定子模块,用于确定所述待发送数据所需的资源类型;A resource type determining submodule, configured to determine the resource type required by the data to be sent;
数据发送控制子模块,用于基于所述资源类型,利用所述临时数据通道将所述待发送数据通过所述第一IP地址发送,或利用原有数据通道将所述待发送数据通过第二IP地址发送;其中,所述第二IP地址为与所述原有网络切片资源对应的IP地址。The data sending control submodule is configured to use the temporary data channel to send the data to be sent through the first IP address based on the resource type, or use the original data channel to send the data to be sent through the second IP address. IP address sending; wherein, the second IP address is an IP address corresponding to the original network slice resource.
其中,所述资源申请包括所需资源的资源名称;Wherein, the resource application includes the resource name of the required resource;
相应的,所述网络切片资源查找模块12,具体用于基于所述资源名称查找所需资源所属的网络切片资源。Correspondingly, the network slice resource search module 12 is specifically configured to search for the network slice resource to which the required resource belongs based on the resource name.
并且,所述资源申请包括所需资源的需求使用时长;In addition, the resource application includes the required usage time of the required resource;
相应的,所述装置还包括定时器管理模块,用于基于所述需求使用时长启动第一定时器,以控制利用所述目标网络切片资源发送所述第一服务的待发送数据的时长。Correspondingly, the device further includes a timer management module, configured to start a first timer based on the required usage duration, so as to control the duration of sending the data to be sent of the first service by using the target network slice resource.
进一步的,所述数据发送控制模块15,还包括:Further, the data sending control module 15 also includes:
暂停子模块,用于当获取到所述第二服务对所述目标网络切片资源的使用请求,则暂停利用所述目标网络切片资源发送所述第一服务的待发送数据。The suspending submodule is configured to suspend sending the data to be sent of the first service by using the target network slice resource when obtaining the use request of the target network slice resource by the second service.
相应的,所述数据发送控制模块15,还用于:Correspondingly, the data sending control module 15 is also used for:
当所述第二服务再次进入空闲状态,且所述第一定时器没有超时,则继续利用所述目标网络切片资源发送所述第一服务的待发送数据。When the second service enters the idle state again and the first timer has not expired, continue to use the target network slice resource to send the data to be sent of the first service.
并且,所述定时器管理模块,还用于在所述第二服务再次进入空闲状态之后,启动第二定时器;Moreover, the timer management module is further configured to start a second timer after the second service enters an idle state again;
相应的,所述数据发送控制模块15,具体用于在所述第二定时器或所述第一定时器超时前,继续利用所述目标网络切片资源发送所述第一服务的待发送数据。Correspondingly, the data sending control module 15 is specifically configured to continue to use the target network slice resource to send the data to be sent of the first service before the second timer or the first timer times out.
需要指出的是,在具体的实施方式中,可以对前述网络切片资源的共享装置的各模块进行整合,分为切片查询模块、资源切换模块、资源整合模块以及定时器管理模块。其中,切片查询模块可以包括优先级查找模块以及上述网络切片资源查找模块、切片运行状态查询模块,用于查询所有可用的切片及申请的服务名称、每个切片的使用状态(空闲/连接)以及每个服务的优先级。资源切换模块可以包括上述资源申请获取模块、优先级比对模块。资源整合模块包括上述数据发送控制模块。It should be pointed out that, in a specific implementation manner, the modules of the foregoing network slicing resource sharing device can be integrated and divided into a slice query module, a resource switching module, a resource integration module, and a timer management module. Wherein, the slice query module may include a priority search module, the above-mentioned network slice resource search module, and a slice operation status query module, which are used to query all available slices and applied service names, the usage status (idle/connected) of each slice, and The priority of each service. The resource switching module may include the above-mentioned resource application acquisition module and priority comparison module. The resource integration module includes the above-mentioned data sending control module.
例如,参见图4所示,图4为本申请实施例公开的一种具体的网络切片资源的共享流程图。1)服务A发送携带需要的资源名称和所需时长D的资源申请到资源切换模块;2)资源切换模块收到申请后,通过切片查询模块检查需要申请的资源所属的切片是否存在;3)当存在,则继续检查切片对应的服务B优先级,转4),当不存在,转到11);4)对比服务A与查找到的切片对应的服务B优先级,当优先级A≥B,则转5),否则转11);5)通过切片查询模块查询当前申请的切片的运行状态,当空闲,则返回对应的IP地址,否则转11);6)将返回的IP地址传送给资源整合模块,并通过定期器管理模块启动指定的定时器T1,时长为D;7)资源整合模块根据服务A发送数据所需资源类型分流使用原IP地址与新IP地址进行通信;8)定时器 T1超时后,释放临时数据通道,解除申请资源所属切片的IP地址绑定;9)当收到服务B发起的资源请求信息,立即暂停资源整合模块的分流;10)待服务B进入空闲态启动定时器T2,并通知资源整合模块,当定时器T1未超时且服务A正在运行,则继续分流,否则等定时器T1或T2超时后释放申请的切片资源;11)流程结束。For example, referring to FIG. 4 , FIG. 4 is a specific flow chart of sharing network slice resources disclosed in the embodiment of the present application. 1) Service A sends a resource application carrying the required resource name and required duration D to the resource switching module; 2) After the resource switching module receives the application, it checks whether the slice to which the resource to apply for belongs to exists through the slice query module; 3) If it exists, continue to check the priority of service B corresponding to the slice, go to 4), if it does not exist, go to 11); 4) Compare the priority of service B corresponding to service A and the found slice, when priority A≥B , then turn to 5), otherwise turn to 11); 5) query the running status of the currently applied slice through the slice query module, and return the corresponding IP address when it is idle, otherwise turn to 11); 6) send the returned IP address to The resource integration module starts the specified timer T1 through the regular timer management module, and the duration is D; 7) The resource integration module sends data according to the resource type required by service A to distribute and use the original IP address to communicate with the new IP address; 8) Timing After T1 times out, the temporary data channel is released, and the IP address binding of the slice to which the applied resource belongs is released; 9) When the resource request information initiated by service B is received, the distribution of the resource integration module is immediately suspended; 10) Waiting for service B to enter the idle state Start the timer T2, and notify the resource integration module, when the timer T1 is not overtime and the service A is running, then continue to divide, otherwise release the applied slice resource after the timer T1 or T2 expires; 11) The process ends.
其中,资源整合模块,具体用于管理申请资源所属切片的IP地址(IP1)与服务A对应切片的原IP地址(IP2)之间的分流,将IP1与服务A绑定,在应用侧建立起服务A与IP1的临时数据通话,后续服务A发送数据所需的资源类型,由模块进行类别区分,针对原有的资源需求继续使用IP2进行会话处理,新的资源需求则根据IP1在定时器T1超时前进行会话处理。Among them, the resource integration module is specifically used to manage the distribution between the IP address (IP1) of the slice to which the application resource belongs and the original IP address (IP2) of the slice corresponding to service A, bind IP1 to service A, and establish an For the temporary data call between service A and IP1, the resource types required for subsequent service A to send data are classified by the module. For the original resource requirements, IP2 will continue to be used for session processing, and the new resource requirements will be based on IP1 in timer T1. Session processing before timeout.
定时器管理模块,具有用于资源申请时长的定时器T1创建及停止,以及服务B的空闲态定时器T2创建及停止。The timer management module has the creation and stop of timer T1 for the duration of resource application, and the creation and stop of idle state timer T2 of service B.
参见图5所示,本申请实施例公开了一种电子设备20,包括处理器21和存储器22;其中,所述存储器22,用于保存计算机程序;所述处理器21,用于执行所述计算机程序,前述实施例公开的网络切片资源的共享方法。As shown in FIG. 5 , the embodiment of the present application discloses an electronic device 20, including a processor 21 and a memory 22; wherein, the memory 22 is used to store computer programs; the processor 21 is used to execute the A computer program, the method for sharing network slicing resources disclosed in the foregoing embodiments.
关于上述网络切片资源的共享方法的具体过程可以参考前述实施例中公开的相应内容,在此不再进行赘述。Regarding the specific process of the method for sharing network slicing resources above, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
并且,所述存储器22作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,存储方式可以是短暂存储或者永久存储。Moreover, the memory 22, as a resource storage carrier, may be a read-only memory, random access memory, magnetic disk or optical disk, etc., and the storage method may be temporary storage or permanent storage.
另外,所述电子设备20还包括电源23、通信接口24、输入输出接口25和通信总线26;其中,所述电源23用于为所述电子设备20上的各硬件设备提供工作电压;所述通信接口24能够为所述电子设备20创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;所述输入输出接口25,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In addition, the electronic device 20 also includes a power supply 23, a communication interface 24, an input and output interface 25, and a communication bus 26; wherein the power supply 23 is used to provide operating voltages for each hardware device on the electronic device 20; the The communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of the present application, which is not specifically limited here; The input and output interface 25 is used to obtain external input data or output data to the external, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
电子设备20,具体可以为能够实现通信功能的模组或包含该模组的终端设备,终端设备具体可以为移动终端和/或智能设备等,移动终端具体可 以为手机、平板电脑、笔记本电脑等中的至少一种,智能设备具体可以为智能手表、智能冰箱、智能音箱、智能洗衣机、智能电视机、智能汽车等中的至少一种,模组具体可以为2G通信模组、3G通信模组、4G通信模组、5G通信模组、NB-IOT通信模组等中的任意一种。The electronic device 20 may specifically be a module capable of realizing a communication function or a terminal device including the module, the terminal device may specifically be a mobile terminal and/or a smart device, etc., and the mobile terminal may specifically be a mobile phone, a tablet computer, a notebook computer, etc. Specifically, the smart device can be at least one of smart watches, smart refrigerators, smart speakers, smart washing machines, smart TVs, smart cars, etc., and the modules can specifically be 2G communication modules and 3G communication modules. , 4G communication module, 5G communication module, NB-IOT communication module, etc.
进一步的,本申请实施例还公开了一种计算机可读存储介质,用于保存计算机程序,其中,所述计算机程序被处理器执行时实现前述实施例公开的网络切片资源的共享方法。Further, the embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, wherein when the computer program is executed by a processor, the method for sharing network slice resources disclosed in the foregoing embodiments is implemented.
关于上述网络切片资源的共享方法的具体过程可以参考前述实施例中公开的相应内容,在此不再进行赘述。Regarding the specific process of the method for sharing network slicing resources above, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related part, please refer to the description of the method part.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
以上对本申请所提供的一种网络切片资源的共享方法、装置、设备及介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The method, device, equipment and medium for sharing network slicing resources provided by this application have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used To help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as a limitation of the application.

Claims (10)

  1. 一种网络切片资源的共享方法,其特征在于,包括:A method for sharing network slicing resources, comprising:
    获取第一服务发送的资源申请;Obtain the resource application sent by the first service;
    查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源;Finding a network slice resource corresponding to the resource application to obtain a target network slice resource;
    对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级;comparing the priorities of the second service corresponding to the target network slice resource with the first service;
    当所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态;When the priority of the first service is higher than that of the second service, query the running status of the target network slice resource;
    当所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。When the running state is idle, the data to be sent of the first service is sent by using the target network slice resource and the original network slice resource of the first service.
  2. 根据权利要求1所述的网络切片资源的共享方法,其特征在于,所述利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据,包括:The method for sharing network slicing resources according to claim 1, characterized in that, using the target network slicing resource and the original network slicing resource of the first service to send the data to be sent of the first service, include:
    建立所述第一服务与第一IP地址的临时数据通道;其中,所述第一IP地址为所述目标网络切片资源对应的IP地址;Establishing a temporary data channel between the first service and a first IP address; wherein the first IP address is an IP address corresponding to the target network slice resource;
    确定所述待发送数据所需的资源类型;determining the resource type required by the data to be sent;
    基于所述资源类型,利用所述临时数据通道将所述待发送数据通过所述第一IP地址发送,或利用原有数据通道将所述待发送数据通过第二IP地址发送;其中,所述第二IP地址为与所述原有网络切片资源对应的IP地址。Based on the resource type, using the temporary data channel to send the data to be sent through the first IP address, or using the original data channel to send the data to be sent through the second IP address; wherein, the The second IP address is an IP address corresponding to the original network slice resource.
  3. 根据权利要求1所述的网络切片资源的共享方法,其特征在于,所述资源申请包括所需资源的资源名称;The method for sharing network slicing resources according to claim 1, wherein the resource application includes resource names of required resources;
    相应的,所述查找与所述资源申请对应的网络切片资源,包括:Correspondingly, the searching for the network slice resource corresponding to the resource application includes:
    基于所述资源名称查找所需资源所属的网络切片资源。Find the network slice resource to which the required resource belongs based on the resource name.
  4. 根据权利要求1所述的网络切片资源的共享方法,其特征在于,所述资源申请包括所需资源的需求使用时长;The method for sharing network slicing resources according to claim 1, wherein the resource application includes the required usage time of required resources;
    相应的,所述方法还包括:Correspondingly, the method also includes:
    基于所述需求使用时长启动第一定时器,以控制利用所述目标网络切片资源发送所述第一服务的待发送数据的时长。A first timer is started based on the required usage duration, so as to control the duration for sending the data to be sent of the first service by using the target network slice resource.
  5. 根据权利要求4所述的网络切片资源的共享方法,其特征在于,还包括:The method for sharing network slicing resources according to claim 4, further comprising:
    当获取到所述第二服务对所述目标网络切片资源的使用请求,则暂停利用所述目标网络切片资源发送所述第一服务的待发送数据。When obtaining the use request of the target network slice resource by the second service, suspend using the target network slice resource to send the data to be sent of the first service.
  6. 根据权利要求5所述的网络切片资源的共享方法,其特征在于,还包括:The method for sharing network slicing resources according to claim 5, further comprising:
    当所述第二服务再次进入空闲状态,且所述第一定时器没有超时,则继续利用所述目标网络切片资源发送所述第一服务的待发送数据。When the second service enters the idle state again and the first timer has not expired, continue to use the target network slice resource to send the data to be sent of the first service.
  7. 根据权利要求6所述的网络切片资源的共享方法,其特征在于,所述当所述第二服务再次进入空闲状态之后,还包括:The method for sharing network slicing resources according to claim 6, wherein after the second service enters the idle state again, further comprising:
    启动第二定时器;start the second timer;
    相应的,所述继续利用所述目标网络切片资源发送所述第一服务的待发送数据,包括:Correspondingly, the continuing to use the target network slice resource to send the data to be sent of the first service includes:
    在所述第二定时器或所述第一定时器超时前,继续利用所述目标网络切片资源发送所述第一服务的待发送数据。Before the second timer or the first timer expires, continue to use the target network slice resource to send the data to be sent of the first service.
  8. 一种网络切片资源的共享装置,其特征在于,包括:A device for sharing network slicing resources, comprising:
    资源申请获取模块,用于获取第一服务发送的资源申请;A resource application obtaining module, configured to obtain the resource application sent by the first service;
    网络切片资源查找模块,用于查找与所述资源申请对应的网络切片资源,以得到目标网络切片资源;A network slicing resource search module, configured to search for a network slicing resource corresponding to the resource application to obtain a target network slicing resource;
    优先级比对模块,用于对比所述目标网络切片资源对应的第二服务与所述第一服务的优先级;a priority comparison module, configured to compare the priorities of the second service corresponding to the target network slice resource with the first service;
    切片运行状态查询模块,用于当所述优先权比对模块判定所述第一服务的优先级高于所述第二服务,则查询所述目标网络切片资源的运行状态;A slice running state query module, configured to query the running state of the target network slice resource when the priority comparison module determines that the priority of the first service is higher than that of the second service;
    数据发送控制模块,用于当所述切片运行状态查询模块判定所述运行状态为空闲,则利用所述目标网络切片资源与所述第一服务的原有网络切片资源发送所述第一服务的待发送数据。A data sending control module, configured to use the target network slice resource and the original network slice resource of the first service to send the information of the first service when the slice running state query module determines that the running state is idle. Data to be sent.
  9. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于保存计算机程序;memory for storing computer programs;
    处理器,用于执行所述计算机程序,以实现如权利要求1至7任一项所述的网络切片资源的共享方法。A processor, configured to execute the computer program, so as to implement the method for sharing network slicing resources according to any one of claims 1 to 7.
  10. 一种计算机可读存储介质,其特征在于,用于保存计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的网络切片资源的共享方法。A computer-readable storage medium, characterized in that it is used to store a computer program, and when the computer program is executed by a processor, the method for sharing network slice resources according to any one of claims 1 to 7 is implemented.
PCT/CN2021/140739 2021-07-27 2021-12-23 Network slice resource sharing method and apparatus, and device and medium WO2023005124A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110850107.5A CN113473543B (en) 2021-07-27 2021-07-27 Network slice resource sharing method, device, equipment and medium
CN202110850107.5 2021-07-27

Publications (1)

Publication Number Publication Date
WO2023005124A1 true WO2023005124A1 (en) 2023-02-02

Family

ID=77882762

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140739 WO2023005124A1 (en) 2021-07-27 2021-12-23 Network slice resource sharing method and apparatus, and device and medium

Country Status (2)

Country Link
CN (1) CN113473543B (en)
WO (1) WO2023005124A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473543B (en) * 2021-07-27 2024-03-15 深圳市广和通无线股份有限公司 Network slice resource sharing method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180316779A1 (en) * 2017-04-27 2018-11-01 At&T Intellectual Property I, L.P. Method and apparatus for enhancing services in a software defined network
CN112600695A (en) * 2021-01-15 2021-04-02 北京邮电大学 RAN side network slice resource allocation method and device and electronic equipment
CN112994908A (en) * 2019-12-12 2021-06-18 中兴通讯股份有限公司 Network slice message transmission method, electronic equipment and storage medium
CN113473543A (en) * 2021-07-27 2021-10-01 深圳市广和通无线股份有限公司 Method, device, equipment and medium for sharing network slice resources

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110214459B (en) * 2017-03-01 2021-02-12 华为技术有限公司 Service processing method and device
CN107317712A (en) * 2017-06-30 2017-11-03 广东工业大学 A kind of creation method and device of network section
CN111628887B (en) * 2020-04-29 2022-08-26 北京邮电大学 Internet of things slice resource distribution system and method, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180316779A1 (en) * 2017-04-27 2018-11-01 At&T Intellectual Property I, L.P. Method and apparatus for enhancing services in a software defined network
CN112994908A (en) * 2019-12-12 2021-06-18 中兴通讯股份有限公司 Network slice message transmission method, electronic equipment and storage medium
CN112600695A (en) * 2021-01-15 2021-04-02 北京邮电大学 RAN side network slice resource allocation method and device and electronic equipment
CN113473543A (en) * 2021-07-27 2021-10-01 深圳市广和通无线股份有限公司 Method, device, equipment and medium for sharing network slice resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "RAN configuration of network slices", 3GPP DRAFT; R3-161135, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG3, no. Nanjing, China; 20160523 - 20160527, 14 May 2016 (2016-05-14), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051094666 *

Also Published As

Publication number Publication date
CN113473543A (en) 2021-10-01
CN113473543B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN109429295B (en) Method for selecting AMF, system and storage medium
EP3629624A1 (en) Quality of service control method and related device
CN110958281B (en) Data transmission method and communication device based on Internet of things
WO2015157949A1 (en) Wireless local area network (wlan) access method, terminal and server
CN101453404A (en) Method and apparatus for implementing load balance
US11316916B2 (en) Packet processing method, related device, and computer storage medium
JP2022507816A (en) V2X message transmission method, device, and system
WO2023005124A1 (en) Network slice resource sharing method and apparatus, and device and medium
CN113347673A (en) Method and equipment for PDU session management, node association and UPF discovery
JP2020500451A (en) Communication method and device
CN113518354B (en) Method, device and system for determining strategy
WO2021174536A1 (en) Communication method and related apparatus
US9014099B2 (en) Packet switched domain service processing method and device
WO2022143464A1 (en) Method and apparatus for determining transmission delay, and device and storage medium
JP6728387B2 (en) Resource allocation method
WO2020124930A1 (en) Method and apparatus for scheduling and processing resource
US8855693B2 (en) Method and apparatus for controlling wireless devices
CN114691352A (en) Information processing method, device, equipment and storage medium
JP7266559B2 (en) Resource allocation method, device and system
CN107404504B (en) Communication method, device and system
WO2020164207A1 (en) Method and device for processing channels, and electronic device
WO2019127334A1 (en) Method and device for establishing default data radio bearer
US20180262944A1 (en) Communications system and networking method of application driven network, and controller
EP3177067B1 (en) Network controller, system, and method for resource allocation
CN115243394B (en) Communication method, device, equipment and medium based on network slice

Legal Events

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

Ref document number: 21951696

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE