CN114301831B - A service transmission method, device and storage medium - Google Patents
A service transmission method, device and storage medium Download PDFInfo
- Publication number
- CN114301831B CN114301831B CN202111507284.XA CN202111507284A CN114301831B CN 114301831 B CN114301831 B CN 114301831B CN 202111507284 A CN202111507284 A CN 202111507284A CN 114301831 B CN114301831 B CN 114301831B
- Authority
- CN
- China
- Prior art keywords
- service
- target
- message
- driver
- mobile network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 76
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000012545 processing Methods 0.000 claims description 46
- 238000005538 encapsulation Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 7
- 238000004148 unit process Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 33
- 238000010276 construction Methods 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 30
- 239000010410 layer Substances 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 239000012792 core layer Substances 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 208000037550 Primary familial polycythemia Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 208000017693 primary familial polycythemia due to EPO receptor mutation Diseases 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种业务传输方法、装置及存储介质。The present application relates to the technical field of communications, and in particular to a service transmission method, device and storage medium.
背景技术Background technique
随着第五代移动通信技术(5th-generation,5G)移动通信和千兆光宽带业务的加速发展,电信运营商更倾向于在城域范围内采用一张综合承载网络来综合承载固定网络业务和移动网络业务,通过城域综合承载网络可将固网用户的业务报文通过光线路终端(optical line terminal,OLT)传输至固网用户网关(broadband remote access server,BRAS),以完成固网用户的认证、授权、计费并完成基于用户会话的业务策略控制。同时,通过城域综合承载网络接入5G基站的基带处理单元(building base band unite,BBU),将移网用户的业务报文传输至5G核心网用户面网关(user plane function,UPF),以完成移网用户业务数据的路由和转发、数据和业务识别、动作和策略执行等操作。With the accelerated development of the fifth-generation mobile communication technology (5th-generation, 5G) mobile communication and gigabit optical broadband services, telecom operators are more inclined to adopt a comprehensive bearer network in the metropolitan area to comprehensively carry fixed network services and mobile network services, the service packets of fixed network users can be transmitted to the fixed network user gateway (broadband remote access server, BRAS) through the optical line terminal (OLT) through the metropolitan integrated bearer network to complete the fixed network User authentication, authorization, billing, and user session-based service policy control. At the same time, the baseband processing unit (building base band unite, BBU) of the 5G base station is connected to the integrated bearer network of the metropolitan area, and the service packets of the mobile network users are transmitted to the user plane function (UPF) of the 5G core network, so as to Complete the routing and forwarding of mobile network user service data, data and service identification, action and policy execution and other operations.
然而,伴随着多接入边缘计算技术的发展(multi-access edge computing,MEC),BRAS和UPF均需向用户侧进一步下沉从而满足用户业务能够就近接入MEC的需求。在现有技术中,针对固网和移网不同的网络类型和业务场景,部署的用户面网关的设备形态和业务处理方法均不同。运营商要在城域综合承载网络的边缘位置分别部署固定网络中的多个用户面网关和移动网络中的多个用户面网关,增加了网络建设的复杂度。However, with the development of multi-access edge computing technology (multi-access edge computing, MEC), both BRAS and UPF need to be further lowered to the user side to meet the needs of user services that can access MEC nearby. In the prior art, for different network types and service scenarios of the fixed network and the mobile network, the equipment forms and service processing methods of the deployed user plane gateways are different. Operators need to deploy multiple user plane gateways in the fixed network and multiple user plane gateways in the mobile network at the edge of the metro integrated bearer network, which increases the complexity of network construction.
发明内容Contents of the invention
本申请提供一种业务传输方法、装置及存储介质,用于解决现有技术中网关网络建设的复杂度较高的问题。The present application provides a service transmission method, device and storage medium, which are used to solve the problem of high complexity of gateway network construction in the prior art.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above object, the application adopts the following technical solutions:
第一方面,提供一种业务传输方法,包括:接收用于请求传输目标业务、且包括目标业务的业务标识的第一业务消息,其中,目标业务为通过固定网络发送的固网业务或者通过移动网络发送的移网业务。然后,通过读取预先存储的业务路由信息,确定与业务标识对应的路由策略,接着,根据路由策略,发送用于传输目标业务的第二业务消息。In a first aspect, a service transmission method is provided, including: receiving a first service message for requesting the transmission of a target service and including a service identifier of the target service, wherein the target service is a fixed network service sent through a fixed network or a service transmitted through a mobile The mobile network service sent by the network. Then, by reading the pre-stored service routing information, the routing policy corresponding to the service identifier is determined, and then, according to the routing policy, the second service message for transmitting the target service is sent.
可选的,该方法还包括:调用目标驱动对第一业务消息进行数据报文的加解封装处理,以得到第二业务消息;当目标业务为固网业务时,目标驱动为用于对固网业务进行数据报文的加解封装处理的第一驱动;当目标业务为移网业务时,目标驱动为用于对移网业务进行数据报文的加解封装处理的第二驱动。Optionally, the method further includes: invoking the target driver to perform data packet decapsulation processing on the first service message to obtain the second service message; when the target service is a fixed network service, the target driver is used to The first driver for performing encapsulation and decapsulation of data packets for network services; when the target service is mobile network services, the target driver is the second driver for performing encapsulation and decapsulation of data packets for mobile network services.
可选的,调用目标驱动对第一业务消息进行数据报文的加解封装处理之前,该方法还包括:为目标驱动调用目标计算资源,以使得目标驱动对第一业务消息进行数据报文的加解封装处理。Optionally, before invoking the target driver to perform data packet processing on the first business message, the method further includes: calling the target computing resource for the target driver, so that the target driver performs data packet processing on the first business message Add and decapsulate processing.
可选的,该方法还包括:当目标业务为目标驱动无法处理的业务类型时,调用目标驱动以外的另一驱动对第一业务消息进行数据报文的加解封装处理,以得到第二业务消息,并发送第二业务消息。Optionally, the method further includes: when the target service is a service type that cannot be processed by the target driver, calling another driver other than the target driver to perform data packet decapsulation processing on the first service message to obtain the second service message, and send the second service message.
可选的,读取预先存储的业务路由信息,确定与业务标识对应的路由策略的方法具体包括:调用通过容器镜像运行的目标容器,从业务路由信息中确定与业务标识对应的路由策略;当目标业务为固网业务时,目标容器为用于确定固网业务对应的路由策略的第一容器;当目标业务为移网业务时,目标容器为用于确定移网业务对应的路由策略的第二容器。Optionally, the method of reading pre-stored service routing information and determining the routing strategy corresponding to the service identifier specifically includes: invoking the target container running through the container image, and determining the routing strategy corresponding to the service identifier from the service routing information; When the target service is a fixed network service, the target container is the first container used to determine the routing strategy corresponding to the fixed network service; when the target service is a mobile network service, the target container is the first container used to determine the routing strategy corresponding to the mobile network service. Two containers.
第二方面,提供一种业务传输装置,包括:接收单元、确定单元和发送单元;接收单元,用于接收用于请求传输目标业务的第一业务消息;目标业务为通过固定网络发送的固网业务或者通过移动网络发送的移网业务;第一业务消息包括目标业务的业务标识;确定单元,用于读取预先存储的业务路由信息,确定与接收单元接收的业务标识对应的路由策略;业务路由信息包括用于传输固网业务的路由信息和用于传输移网业务的路由信息;发送单元,用于根据确定单元确定的路由策略,发送用于传输目标业务的第二业务消息。In a second aspect, a service transmission device is provided, including: a receiving unit, a determining unit, and a sending unit; the receiving unit is used to receive a first service message for requesting transmission of a target service; the target service is a fixed network sent through a fixed network service or mobile network service sent through the mobile network; the first service message includes the service identification of the target service; the determination unit is used to read the pre-stored service routing information, and determine the routing strategy corresponding to the service identification received by the receiving unit; The routing information includes routing information for transmitting fixed network services and routing information for transmitting mobile network services; the sending unit is configured to send a second service message for transmitting target services according to the routing strategy determined by the determining unit.
可选的,业务传输装置还包括:处理单元;处理单元,用于调用目标驱动对接收单元接收的第一业务消息进行数据报文的加解封装处理,以得到第二业务消息;当目标业务为固网业务时,目标驱动为用于对固网业务进行数据报文的加解封装处理的第一驱动;当目标业务为移网业务时,目标驱动为用于对移网业务进行数据报文的加解封装处理的第二驱动。Optionally, the service transmission device further includes: a processing unit; the processing unit is used to call the target driver to perform data packet processing on the first service message received by the receiving unit to obtain the second service message; when the target service When it is a fixed network service, the target driver is the first driver used to process data packets for the fixed network service; when the target service is a mobile network service, the target driver is used to perform data packet processing for the mobile network service. The second driver for the processing of adding and decapsulating text.
可选的,该业务传输装置还包括:调度单元;调度单元,用于为目标驱动调用目标计算资源,以使得目标驱动对第一业务消息进行数据报文的加解封装处理。Optionally, the service transmission device further includes: a scheduling unit; the scheduling unit is configured to invoke target computing resources for the target driver, so that the target driver performs data packet decapsulation processing on the first service message.
可选的,处理单元,还用于:当目标业务为目标驱动无法处理的业务类型时,调用目标驱动以外的另一驱动对接收单元接收的第一业务消息进行数据报文的加解封装处理,以得到第二业务消息。Optionally, the processing unit is also used to: when the target service is a service type that cannot be processed by the target driver, call another driver other than the target driver to perform data packet decapsulation processing on the first service message received by the receiving unit , to get the second service message.
可选的,确定单元,具体用于:调用通过容器镜像运行的目标容器,从业务路由信息中确定与业务标识对应的路由策略;当目标业务为固网业务时,目标容器为用于确定固网业务对应的路由策略的第一容器;当目标业务为移网业务时,目标容器为用于确定移网业务对应的路由策略的第二容器。Optionally, the determination unit is specifically used to: call the target container running through the container image, and determine the routing policy corresponding to the service identifier from the service routing information; when the target service is a fixed network service, the target container is used to determine the fixed network The first container of the routing policy corresponding to the network service; when the target service is the mobile network service, the target container is the second container used to determine the routing policy corresponding to the mobile network service.
第三方面,提供一种业务传输装置,包括存储器和处理器;存储器用于存储计算机执行指令,处理器与存储器通过总线连接;当业务传输装置运行时,处理器执行存储器存储的计算机执行指令,以使业务传输装置执行第一方面所述的业务传输方法。In a third aspect, a service transmission 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 transmission device is running, the processor executes the computer-executable instructions stored in the memory, so that the service transmission device executes the service transmission method described in the first aspect.
该业务传输装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,获取、确定、发送上述业务传输方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The service transmission device may be a network device, or may be 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 transmission 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 transmission method described in the first aspect.
第五方面,还提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在业务传输装置上运行时,使得业务传输装置执行如上述第一方面所述的业务传输方法。According to a fifth aspect, a computer program product is also provided, the computer program product includes computer instructions, and when the computer instructions are run on the service transmission device, the service transmission device executes the service transmission 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 transmission device, or may be packaged separately with the processor of the service transmission 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 names of the above-mentioned service transmission apparatuses do not limit the equipment or functional modules themselves. In actual implementation, these equipment or functional 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, the present application proposes a service transmission method, after receiving the first service message requesting the transmission of the target service and including the service identifier of the target service, by reading the pre-stored service routing information, A routing policy corresponding to the service identifier is determined, and then a second service message for transmitting the target service is sent according to the routing policy. Since the target service is the fixed network service sent through the fixed network or the mobile network service sent through the mobile network, this application can realize the transmission of service messages of different network types on one device. In this way, there is no need to deploy gateway devices for services of different network types, which effectively reduces the number of gateway devices, thereby reducing the complexity of network construction.
附图说明Description of drawings
图1为本申请实施例提供的业务传输系统的结构示意图;FIG. 1 is a schematic structural diagram of a service transmission system provided by an embodiment of the present application;
图2为本申请实施例提供的网关设备的一种结构示意图;FIG. 2 is a schematic structural diagram of a gateway device provided in an embodiment of the present application;
图3为本申请实施例提供的网关设备的又一种结构示意图;FIG. 3 is another schematic structural diagram of a gateway device provided in an embodiment of the present application;
图4为本申请实施例提供的目标网络的一种结构示意图;FIG. 4 is a schematic structural diagram of a target network provided by an embodiment of the present application;
图5为本申请实施例提供的通信装置的一种硬件结构示意图;FIG. 5 is a schematic diagram of a hardware structure of a communication device provided by an embodiment of the present application;
图6为本申请实施例提供的通信装置的又一种硬件结构示意图;FIG. 6 is a schematic diagram of another hardware structure of a communication device provided by an embodiment of the present application;
图7为本申请实施例提供的一种业务传输方法的流程示意图;FIG. 7 is a schematic flowchart of a service transmission method provided by an embodiment of the present application;
图8为本申请实施例提供的又一种业务传输方法的流程示意图;FIG. 8 is a schematic flowchart of another service transmission method provided by the embodiment of the present application;
图9为本申请实施例提供的又一种业务传输方法的流程示意图;FIG. 9 is a schematic flowchart of another service transmission method provided by the embodiment of the present application;
图10为本申请实施例提供的又一种业务传输方法的流程示意图;FIG. 10 is a schematic flowchart of another service transmission method provided by the embodiment of the present application;
图11为本申请实施例提供的一种业务传输装置的结构示意图。FIG. 11 is a schematic structural diagram of a service transmission 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 art, the existing service transmission method requires a large number of gateway devices, which leads to high complexity of network construction.
针对上述问题,本申请实施例提供了一种业务传输方法,在接收到用于请求传输目标业务、且包括目标业务的业务标识的第一业务消息之后,可以通过读取预先存储的业务路由信息,确定与业务标识对应的路由策略,然后根据路由策略,发送用于传输目标业务的第二业务消息。由于目标业务为通过固定网络发送的固网业务或者通过移动网络发送的移网业务,因此,本申请可以在一个设备上实现对不同网络类型的业务消息的传输。这样,无需对不同网络类型的业务分别部署网关设备,有效减少了网关设备的数量,进而降低了网络建设的复杂度。In view of the above problems, the embodiment of the present application provides a service transmission method. After receiving the first service message requesting the transmission of the target service and including the service identifier of the target service, the service routing information stored in advance can be read , determine a routing policy corresponding to the service identifier, and then send a second service message for transmitting the target service according to the routing policy. Since the target service is the fixed network service sent through the fixed network or the mobile network service sent through the mobile network, this application can realize the transmission of service messages of different network types on one device. In this way, there is no need to deploy gateway devices for services of different network types, which effectively reduces the number of gateway devices, thereby reducing the complexity of network construction.
该业务传输方法适用于业务传输系统。图1示出了该业务传输系统的一种结构。如图1所示,该业务传输系统包括:网关设备101、发送端102和接收端103。The service transmission method is applicable to a service transmission system. Figure 1 shows a structure of the service transmission system. As shown in FIG. 1 , the service transmission system includes: a
其中,发送端102是网络中用于发送消息的网络设备,接收端103是网络中用于接收消息的网络设备。网关设备101分别与发送端102和接收端103之间通信连接。Wherein, the sending
应理解,网络中任意一个网络设备都可以是发送端(例如发送端102为用于发送消息的网络设备),也可以是接收端(例如发送端102也可以是用于接收消息的网络设备)。It should be understood that any network device in the network can be a sending end (for example, the sending
在实际应用中,网关设备101可以连接多个发送端,也可以连接多个接收端。为了便于理解,图1以网关设备101连接一个发送端102和一个接收端103为例进行说明。In practical applications, the
图1中的网关设备101为目标网络的网关设备,用于在业务传输过程中转发消息。The
如图2所示,网关设备101包括中央处理器(central processing unit,CPU)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程逻辑门阵列(field programmable gate array,FPGA)、网络端口和设备端口。其中,CPU通过高速串行计算机扩展总线标准(peripheral component interconnect express,PCIE)分别连接ASIC和FPGA,以实现将数据报文的转发功能卸载到ASIC和FPGA上。ASIC通过四级脉冲幅度调配(four-level pulse amplitude modulation,PAM4)串行器/解串器(serializer/deserializer,SERDES)分别连接FPGA和网络端口。FPGA通过PAM4 SERDES连接设备端口。As shown in FIG. 2, the
如图3所示,网关设备101的操作系统分为内核层和用户层。As shown in FIG. 3 , the operating system of the
其中,内核层包括目标驱动301,即ASIC用户面功能(user plane function,UPF)驱动(ASIC-UPF-driver)(用于对移网业务的业务消息进行数据报文的加解封装处理)或ASIC驱动(ASIC-driver)(用于对固网业务的业务消息进行数据报文的加解封装处理)中任一个驱动,以及目标驱动以外的另一驱动302,即FPGA驱动(FPGA-driver)(用于对目标驱动无法处理的业务进行消息转换处理)。Wherein, the kernel layer includes a
用户层包括通过容器镜像技术运行的目标容器303,即UPF容器或BRAS容器中任一个容器、资源调度模块304(用于调度网关设备101中的计算资源)。The user layer includes a
示例性的,UPF容器通过N4接口与第五代移动通信技术的核心网络(the5thgeneration core,5GC)的会话管理功能(session management function,SMF)网元经由报文转发控制协议协议进行通信(packet forwarding control protocol,PFCP),N4接口控制报文送往UPF控制面,进行N4消息处理交互,建立UPF用户、会话和规则,并通过原路回复应答消息。Exemplarily, the UPF container communicates with the session management function (session management function, SMF) network element of the core network (the5thgeneration core, 5GC) of the fifth generation mobile communication technology (the5thgeneration core, 5GC) through the N4 interface via the packet forwarding control protocol protocol (packet forwarding control protocol, PFCP), the N4 interface control message is sent to the UPF control plane, N4 message processing interaction is performed, UPF user, session and rule are established, and the response message is replied through the original channel.
可选的,用户层还包括配置下发模块(用于接收网元管理系统以及网络控制器下发的网络业务配置参数)、配置解析模块(用于解析配置参数,将业务配置数据转化为机器可读代码)和数据库(用于存储业务配置数据)。Optionally, the user layer also includes a configuration delivery module (for receiving network service configuration parameters issued by the network element management system and the network controller), a configuration analysis module (for parsing configuration parameters, and converting service configuration data into machine readable code) and a database (for storing business configuration data).
图1中的发送端102和接收端103可以是目标网络中的终端、基站或者核心网设备。The sending
其中,终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(radio access network,RAN)与一个或多个核心网进行通信。无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据,例如,手机、平板电脑、笔记本电脑、上网本、个人数字助理(personal digital assistant,PDA)。Wherein, the terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (radio access network, RAN). Wireless terminals can be mobile terminals, such as mobile phones (or "cellular" phones) and computers with mobile terminals, and can also be portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which are connected to wireless terminals. Access to the network to exchange language and/or data, for example, cell phones, tablets, laptops, netbooks, personal digital assistants (PDAs).
基站可以是全球移动通信系统(global system for mobile communication,GSM),码分多址(code division multiple access,CDMA)中的基站(base transceiverstation,BTS),宽带码分多址(wideband code division multiple access,WCDMA)中的基站(node B),物联网(internet of things,IoT)或者窄带物联网(narrow band-internetof things,NB-IoT)中的基站(eNB),未来5G移动通信网络或者未来演进的公共陆地移动网络(public land mobile network,PLMN)中的基站,本申请实施例对此不作任何限制。The base station may be a global system for mobile communication (GSM), a base transceiver station (BTS) in a code division multiple access (CDMA), or a wideband code division multiple access (WCDMA) , WCDMA) base station (node B), Internet of things (Internet of things, IoT) or narrowband Internet of things (narrow band-internet of things, NB-IoT) base station (eNB), future 5G mobile communication network or future evolution A base station in a public land mobile network (public land mobile network, PLMN), which is not limited in this embodiment of the present application.
可选的,如图4所示,目标网络的结构可以包括:多个终端、多个基站、多个网关设备(包括网关设备401)、多个汇聚单元(包括汇聚单元402)、多个核心层设备(包括核心层设备403)和核心网设备404。其中,多个网关设备、多个汇聚单元和多个核心层设备分别形成环状网络拓扑,终端和基站与网关设备之间通信连接。Optionally, as shown in FIG. 4, the structure of the target network may include: multiple terminals, multiple base stations, multiple gateway devices (including gateway device 401), multiple convergence units (including convergence unit 402), multiple core layer devices (including core layer device 403 ) and
其中,核心网设备404为部署在通信云中的设备,包含5GC和BRAS-CP。Wherein, the
可选的,核心网设备404可以是服务器集群(由多个服务器组成)中的一个服务器,也可以是该服务器中的芯片,还可以是该服务器中的片上系统,还可以通过部署在物理机上的虚拟机(virtual machine,VM)实现,本申请实施例对此不作限定。Optionally, the
通信系统中的网关设备101、发送端102和接收端103的基本硬件结构类似,都包括图5或图6所示通信装置所包括的元件。下面以图5和图6所示的通信装置为例,介绍网关设备101、发送端102和接收端103的硬件结构。The basic hardware structures of the
如图5所示,为本申请实施例提供的通信装置的一种硬件结构示意图。该通信装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。As shown in FIG. 5 , 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,例如图5中所示的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而言,存储器22中存储的软件程序不同,所以网关设备101、发送端102和接收端103实现的功能不同。关于各设备所执行的功能将结合下面的流程图进行描述。In the embodiment of the present application, for 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)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。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. 5 , but it does not mean that there is only one bus or one type of bus.
图6示出了本发明实施例中通信装置的另一种硬件结构。如图6所示,通信装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。Fig. 6 shows another hardware structure of the communication device in the embodiment of the present invention. As shown in FIG. 6 , the communication device may include a
处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以起上述存储器22的功能。For functions of the
通信接口32用于为处理器31提供数据。该通信接口32可以是通信装置的内部接口,也可以是通信装置对外的接口(相当于通信接口23)。The
需要指出的是,图5(或图6)中示出的结构并不构成对通信装置的限定,除图5(或图6)所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in Figure 5 (or Figure 6) does not constitute a limitation on the communication device, except for the components shown in Figure 5 (or Figure 6), the communication device may include more or fewer components, or combining certain components, or a different arrangement of components.
下面结合附图对本申请实施例提供的业务传输方法进行详细介绍。The service transmission method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
如图7所示,本申请实施例提供的业务传输方法应用于网关设备,包括:S701-S703。As shown in FIG. 7 , the service transmission method provided by the embodiment of the present application is applied to a gateway device, including: S701-S703.
S701、网关设备接收用于请求传输目标业务的第一业务消息。S701. The gateway device receives a first service message for requesting transmission of a target service.
其中,目标业务为通过固定网络发送的固网业务或者通过移动网络发送的移网业务。Wherein, the target service is a fixed network service sent through a fixed network or a mobile network service sent through a mobile network.
具体的,在业务传输过程中,网关设备可以通过ASIC接收发送端通过固定网络发送的固网业务或者通过移动网络发送的移网业务,以使得网关设备可以对固网业务或者移网业务进行消息转发处理。Specifically, during the service transmission process, the gateway device can receive the fixed network service sent by the sender through the fixed network or the mobile network service sent through the mobile network through the ASIC, so that the gateway device can send messages to the fixed network service or the mobile network service Forward processing.
其中,第一业务消息包括目标业务的业务标识。Wherein, the first service message includes the service identifier of the target service.
可选的,固网业务可以为家庭宽带业务,网络协议电视(internet protocoltelevision,IPTV)业务、企业专线业务。Optionally, the fixed network service may be a home broadband service, an Internet protocol television (internet protocol television, IPTV) service, or an enterprise private line service.
可选的,移网业务可以为第三代移动通信技术(3th-generation,3G)、第四代移动通信技术(4th-generation,4G)、5G移动宽带业务。Optionally, the mobile network service may be a third-generation mobile communication technology (3th-generation, 3G), a fourth-generation mobile communication technology (4th-generation, 4G), or a 5G mobile broadband service.
可选的,业务标识可以为业务编号、业务名称等。Optionally, the service identifier may be a service number, a service name, and the like.
S702、网关设备读取预先存储的业务路由信息,确定与业务标识对应的路由策略。S702. The gateway device reads pre-stored service routing information, and determines a routing policy corresponding to the service identifier.
其中,业务路由信息包括用于传输固网业务的路由信息和用于传输移网业务的路由信息。Wherein, the service routing information includes routing information for transmitting fixed network services and routing information for transmitting mobile network services.
具体的,接收到第一业务消息之后,为了使得根据路由策略向接收端传输业务消息的第二业务消息,网关设备可以从数据库预先存储的业务路由信息中,根据目标业务的业务标识确定对应的路由策略。Specifically, after receiving the first service message, in order to transmit the second service message of the service message to the receiving end according to the routing strategy, the gateway device can determine the corresponding routing strategy.
可选的,路由策略可以为指目标网段、掩码、下一跳设备、度量值等。Optionally, the routing policy may refer to the target network segment, mask, next-hop device, metric value, and so on.
可选的,预先存储的业务路由信息可以是网关设备提前获取到的。Optionally, the pre-stored service routing information may be obtained by the gateway device in advance.
具体的,结合图3,网关设备获取业务路由信息的方法可以包括:配置下发模块接收网元管理系统以及网络控制器下发的网络业务配置参数。然后,配置解析模块解析网络业务配置参数,将网络业务配置参数转化为机器可读代码的业务路由信息。后续,将业务路由信息存储在数据库中。Specifically, referring to FIG. 3 , the method for the gateway device to obtain service routing information may include: the configuration delivery module receives network service configuration parameters delivered by the network element management system and the network controller. Then, the configuration parsing module parses the network service configuration parameters, and converts the network service configuration parameters into service routing information of machine-readable codes. Subsequently, the service routing information is stored in the database.
S703、网关设备根据路由策略,发送用于传输目标业务的第二业务消息。S703. The gateway device sends the second service message for transmitting the target service according to the routing policy.
具体的,在业务传输过程中,网关设备可以根据路由策略,向接收端发送第二业务消息。Specifically, during the service transmission process, the gateway device may send the second service message to the receiving end according to the routing policy.
可选的,在接收到第一业务消息之后,网关设备可以将第一业务消息进行数据报文的加解封装处理,进而得到第二业务消息。Optionally, after receiving the first service message, the gateway device may perform encapsulation and decapsulation processing on the data packet of the first service message, so as to obtain the second service message.
示例性的,预设网关设备接收到终端发送的用于传输业务A的第一业务消息(包括业务标识a)。网关设备读取数据库预先存储的业务路由信息中,确定与业务标识a对应的路由策略(包括目的地址为核心网设备)。接着,网关设备可以将第一业务消息进行数据报文的加解封装处理,生成用于传输业务A的目的地址为核心网设备的第二业务消息。然后,网关设备根据路由策略,向核心网设备发送第二业务消息。Exemplarily, the preset gateway device receives the first service message (including the service identifier a) sent by the terminal and used to transmit the service A. The gateway device reads the service routing information pre-stored in the database, and determines the routing strategy corresponding to the service identifier a (including that the destination address is a core network device). Next, the gateway device may perform encapsulation and decapsulation of the data message on the first service message, and generate a second service message whose destination address is the core network device for transmitting service A. Then, the gateway device sends the second service message to the core network device according to the routing policy.
在一种实施例中,结合图7,如图8所示,在S703之前,该方法还包括:S801。In one embodiment, referring to FIG. 7, as shown in FIG. 8, before S703, the method further includes: S801.
S801、网关设备调用目标驱动对第一业务消息进行数据报文的加解封装处理,以得到第二业务消息。S801. The gateway device invokes the target driver to perform encapsulation and decapsulation of the data packet on the first service message, so as to obtain the second service message.
其中,当目标业务为所述固网业务时,目标驱动为用于对固网业务进行数据报文的加解封装处理的第一驱动,当目标业务为移网业务时,目标驱动为用于对移网业务进行数据报文的加解封装处理的第二驱动。Wherein, when the target service is the fixed network service, the target drive is the first drive for performing data packet processing on the fixed network service, and when the target service is the mobile network service, the target drive is the first drive for A second driver for performing encapsulation and decapsulation of data packets for mobile network services.
具体的,由于第一业务消息为发送端与网关设备之间通信的业务消息,而第二业务消息为网关设备与接收端之间通信的业务消息,用于传输第一业务消息的数据报文与用于传输第二业务消息的数据报文不同。因此,网关设备可以根据目标业务对应的网络类型,调用与上述网络类型对应的目标驱动对第一业务消息进行数据报文的加解封装处理,以使得网关设备可以将第一业务消息更新为第二业务消息。Specifically, since the first service message is a service message communicated between the sending end and the gateway device, and the second service message is a service message communicated between the gateway device and the receiving end, it is used to transmit the data message of the first service message It is different from the data packet used to transmit the second service message. Therefore, according to the network type corresponding to the target service, the gateway device can call the target driver corresponding to the above network type to perform data packet decapsulation processing on the first service message, so that the gateway device can update the first service message to the second service message. 2. Business news.
可选的,结合图3,第一驱动可以为网关设备的内核层中的ASIC-driver,第二驱动可以为网关设备的内核层中的ASIC-UPF-driver。Optionally, referring to FIG. 3 , the first driver may be the ASIC-driver in the kernel layer of the gateway device, and the second driver may be the ASIC-UPF-driver in the kernel layer of the gateway device.
可选的,网关设备确定目标业务的网络类型的方法包括:网关设备将接收第一业务消息的端口的网络类型确定为目标业务的网络类型。或者网关设备根据接收到的第一业务消息的报文中携带的地址字段,确定地址字段对应的网络类型为目标业务的网络类型。Optionally, the method for the gateway device to determine the network type of the target service includes: the gateway device determines the network type of the port receiving the first service message as the network type of the target service. Alternatively, the gateway device determines, according to the address field carried in the received first service message, that the network type corresponding to the address field is the network type of the target service.
示例性的,预设网关设备接收到的用于传输业务A第一业务消息的报文头包括以太网上的点对点协议(point-to-point protocol over ethernet,PPPoE)地址字段。由于PPPoE地址字段对应固定网络,因此,网关设备确定业务A为固网业务。网关设备确定业务A的路由策略包括接收端之后,调用ASIC-driver对第一业务消息进行数据报文的加解封装处理,得到第二业务消息。然后,网关设备通过ASIC-driver向接收端发送第二业务消息。Exemplarily, the packet header received by the default gateway device for transmitting the first service message of service A includes a point-to-point protocol over ethernet (PPPoE) address field. Since the PPPoE address field corresponds to a fixed network, the gateway device determines that service A is a fixed network service. After the gateway device determines that the routing policy of service A includes the receiving end, it invokes the ASIC-driver to process the data packets of the first service message, and then obtains the second service message. Then, the gateway device sends the second service message to the receiving end through the ASIC-driver.
在一种实施例中,如图8所示,在S801之前,还包括:S802。In one embodiment, as shown in FIG. 8, before S801, further includes: S802.
S802、网关设备为目标驱动调用目标计算资源,以使得目标驱动对第一业务消息进行数据报文的加解封装处理。S802. The gateway device invokes the target computing resource for the target driver, so that the target driver performs encapsulation and decapsulation of the data packet on the first service message.
具体的,在调用目标驱动对第一业务消息进行数据报文的加解封装处理之前,网关设备可以根据目标业务的业务标识,确定与业务标识对应的硬件模块或软件模块。然后,网关设备调用对应的硬件模块或软件模块为目标驱动提供目标计算资源,以使得目标驱动对第一业务消息进行数据报文的加解封装处理。Specifically, before invoking the target driver to perform encapsulation and decapsulation processing on the data message of the first service message, the gateway device may determine a hardware module or a software module corresponding to the service identifier according to the service identifier of the target service. Then, the gateway device invokes a corresponding hardware module or software module to provide the target driver with target computing resources, so that the target driver performs encapsulation and decapsulation of the data packet on the first service message.
结合图3,网关设备的资源调度模块可以根据目标业务的业务标识,确定与业务标识对应的硬件模块或软件模块。然后,资源调度模块向对应的硬件模块或软件模块发送请求调用的请求消息。对应的硬件模块或软件模块响应于请求消息为目标驱动提供目标计算资源。Referring to FIG. 3 , the resource scheduling module of the gateway device can determine the hardware module or software module corresponding to the service identifier according to the service identifier of the target service. Then, the resource scheduling module sends a request message requesting invocation to the corresponding hardware module or software module. The corresponding hardware module or software module provides the target computing resource for the target driver in response to the request message.
可选的,计算资源为网关设备运行时所需的CPU资源、内存资源、硬盘资源和网络资源等。在一种实施例中,结合图8,如图9所示,S703之前,该方法还包括:S901。Optionally, the computing resources are CPU resources, memory resources, hard disk resources, and network resources required by the gateway device during operation. In one embodiment, referring to FIG. 8, as shown in FIG. 9, before S703, the method further includes: S901.
S901、当目标业务为目标驱动无法处理的业务类型时,网关设备调用目标驱动以外的另一驱动对第一业务消息进行数据报文的加解封装处理,以得到第二业务消息。S901. When the target service is a service type that cannot be processed by the target driver, the gateway device invokes another driver other than the target driver to perform encapsulation and decapsulation of data packets on the first service message to obtain a second service message.
具体的,在接收到第一业务消息时,网关设备可以根据业务标识确定目标业务是否为目标驱动无法处理的业务类型。当目标业务为目标驱动无法处理的业务类型时,网关设备可以调用目标驱动以外的另一驱动对第一业务消息进行数据报文的加解封装处理,以得到第二业务消息,使得网关设备可以灵活处理多种类型的业务。Specifically, when receiving the first service message, the gateway device may determine according to the service identifier whether the target service is a service type that cannot be processed by the target driver. When the target service is a service type that cannot be processed by the target driver, the gateway device can call another driver other than the target driver to perform data packet processing on the first service message to obtain the second service message, so that the gateway device can Flexible handling of various types of business.
可选的,结合图3,另一驱动可以为网关设备的内核层中的FPGA-driver。Optionally, referring to FIG. 3 , another driver may be the FPGA-driver in the kernel layer of the gateway device.
示例性的,预设网关设备接收到的用于传输业务A的第一业务消息(包括业务标识a)。当根据业务标识a确定目标业务为目标驱动无法处理的业务类型时,网关设备确定业务A的路由策略包括接收端之后,可以调用FPGA-driver对第一业务消息进行数据报文的加解封装处理,得到第二业务消息。然后,网关设备通过FPGA-driver向接收端发送第二业务消息。Exemplarily, the first service message (including the service identifier a) received by the gateway device and used to transmit the service A is preset. When the target service is determined to be a service type that cannot be processed by the target driver according to the service identifier a, after the gateway device determines that the routing policy of service A includes the receiving end, it can call the FPGA-driver to perform data packet decapsulation processing on the first service message , get the second service message. Then, the gateway device sends the second service message to the receiving end through the FPGA-driver.
在一种实施例中,结合图7,如图10所示,S702中网关设备读取预先存储的业务路由信息,确定与业务标识对应的路由策略的方法具体包括:S1001。In one embodiment, referring to FIG. 7 , as shown in FIG. 10 , the method for the gateway device to read pre-stored service routing information in S702 and determine the routing policy corresponding to the service identifier specifically includes: S1001 .
S1001、网关设备调用通过容器镜像运行的目标容器,从业务路由信息中确定与业务标识对应的路由策略。S1001. The gateway device invokes the target container running through the container image, and determines the routing policy corresponding to the service identifier from the service routing information.
当目标业务为固网业务时,目标容器为用于确定固网业务对应的路由策略的第一容器,当目标业务为移网业务时,目标容器为用于确定移网业务对应的路由策略的第二容器。When the target service is a fixed network service, the target container is the first container used to determine the routing policy corresponding to the fixed network service; when the target service is a mobile network service, the target container is the first container used to determine the routing policy corresponding to the mobile network service second container.
具体的,网关设备接收到第一业务消息时,可以确定目标业务对应的网络类型。然后,网关设备的目标驱动根据网络类型,向对应的目标容器发送目标业务的业务类型。然后,目标容器根据数据库的业务路由信息,确定与业务标识对应的路由策略,并发送给目标驱动,以使得网关设备根据路由策略向接收端发送用于传输业务消息的第二业务消息。Specifically, when the gateway device receives the first service message, it may determine the network type corresponding to the target service. Then, the target driver of the gateway device sends the service type of the target service to the corresponding target container according to the network type. Then, the target container determines a routing policy corresponding to the service identifier according to the service routing information in the database, and sends it to the target driver, so that the gateway device sends the second service message for transmitting the service message to the receiving end according to the routing policy.
可选的,结合图3,第一容器可以为网关设备的用户层中的BRAS容器,第二容器可以为网关设备的用户层中的UPF容器。Optionally, referring to FIG. 3 , the first container may be a BRAS container in the user layer of the gateway device, and the second container may be a UPF container in the user layer of the gateway device.
示例性的,预设第一业务消息的业务标识为以5元组流为粒度的首包报文。网关设备确定目标业务为移网业务后,通过ASIC-UPF-driver向UPF容器发送报文,UPF容器生成5元组流粒度的路由策略(包括转发或丢弃)。ASIC-UPF-driver对报文进行转发处理。Exemplarily, the preset service identifier of the first service message is the first packet with a granularity of 5-tuple flow. After the gateway device determines that the target service is a mobile network service, it sends a message to the UPF container through the ASIC-UPF-driver, and the UPF container generates a routing policy (including forwarding or discarding) with a 5-tuple flow granularity. ASIC-UPF-driver forwards the message.
可选的,当获取到目标业务的路由策略时,目标驱动可以根据路由策略,发送用于传输目标业务的第二业务消息。Optionally, when the routing policy of the target service is acquired, the target driver may send a second service message for transmitting the target service according to the routing policy.
示例性的,预设第一业务消息为以5元组流为粒度的移网数据流后续报文。网关设备确定目标业务为移网业务后,通过ASIC-UPF-driver对数据报文转发处理(即进行二层和三层报文头解封装),并获取路由策略,直接处理转发。Exemplarily, the preset first service message is a follow-up packet of the mobile network data flow with a granularity of 5-tuple flow. After the gateway device determines that the target service is a mobile network service, it forwards and processes the data message through the ASIC-UPF-driver (that is, decapsulates the layer 2 and layer 3 message headers), obtains the routing policy, and directly processes the forwarding.
综上,本申请实施例中的业务传输装置在业务传输的过程中,在接收到用于请求传输目标业务、且包括目标业务的业务标识的第一业务消息之后,可以通过读取预先存储的业务路由信息,确定与业务标识对应的路由策略,然后根据路由策略,发送用于传输目标业务的第二业务消息。由于目标业务为通过固定网络发送的固网业务或者通过移动网络发送的移网业务,因此,本申请可以在一个设备上实现对不同网络类型的业务消息的传输。这样,无需对不同网络类型的业务分别部署网关设备,有效减少了网关设备的数量,进而降低了网络建设的复杂度。To sum up, during the process of service transmission, the service transmission device in the embodiment of the present application can read the pre-stored The service routing information determines the routing strategy corresponding to the service identifier, and then sends the second service message for transmitting the target service according to the routing strategy. Since the target service is the fixed network service sent through the fixed network or the mobile network service sent through the mobile network, this application can realize the transmission of service messages of different network types on one device. In this way, there is no need to deploy gateway devices for services of different network types, which effectively reduces the number of gateway devices, thereby reducing the complexity of network construction.
具体的,在得到更新后的服务标识之后,由于更新后的服务标识包括终端的唯一标识,因此,服务器可以向与终端连接的第二节点设备发送更新后的服务标识。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.
如图11所示,为本申请实施例提供的一种业务传输装置的结构示意图。该业务传输装置可以用于执行图7、图8、图9或者图10所示的业务传输的方法。图11所示业务传输装置包括:接收单元1101、确定单元1102和发送单元1103。As shown in FIG. 11 , it is a schematic structural diagram of a service transmission device provided in the embodiment of the present application. The service transmission apparatus may be used to execute the service transmission method shown in FIG. 7 , FIG. 8 , FIG. 9 or FIG. 10 . The service transmission device shown in FIG. 11 includes: a receiving
接收单元1101,用于接收用于请求传输目标业务的第一业务消息。结合图7,接收单元1101用于执行S701。The receiving
确定单元1102,用于读取预先存储的业务路由信息,确定与接收单元1101接收的业务标识对应的路由策略。例如,结合图7,确定单元1102用于执行S702。The determining
发送单元1103,用于根据确定单元1102确定的路由策略,发送用于传输目标业务的第二业务消息。例如,结合图7,发送单元1103用于执行S703。The sending
可选的,业务传输装置还包括:处理单元1104。Optionally, the service transmission apparatus further includes: a
处理单元1104,用于调用目标驱动对接收单元1101接收的第一业务消息进行数据报文的加解封装处理,以得到第二业务消息。例如,结合图8,处理单元1104用于执行S801。The
可选的,该业务传输装置还包括:调度单元1105。Optionally, the service transmission apparatus further includes: a
调度单元1105,用于为目标驱动调用目标计算资源,以使得目标驱动对第一业务消息进行数据报文的加解封装处理。例如,结合图8,调度单元1105用于执行S802。The
可选的,处理单元1104,还用于当目标业务为目标驱动无法处理的业务类型时,调用目标驱动以外的另一驱动对接收单元1101接收的第一业务消息进行数据报文的加解封装处理,以得到第二业务消息。例如,结合图9,处理单元1104用于执行S901。Optionally, the
可选的,确定单元1102,具体用于调用通过容器镜像运行的目标容器,从业务路由信息中确定与业务标识对应的路由策略。例如,结合图10,确定单元1102用于执行S1001。Optionally, the determining
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的业务传输方法。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 are run on the computer, the computer is made to execute the service transmission method provided in the foregoing embodiments.
本申请实施例还提供一种计算机程序,该计算机程序可直接加载到存储器中,并含有软件代码,该计算机程序经由计算机载入并执行后能够实现上述实施例提供的业务传输方法。An embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software codes. After the computer program is loaded and executed by a computer, the service transmission 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.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111507284.XA CN114301831B (en) | 2021-12-10 | 2021-12-10 | A service transmission method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111507284.XA CN114301831B (en) | 2021-12-10 | 2021-12-10 | A service transmission method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114301831A CN114301831A (en) | 2022-04-08 |
CN114301831B true CN114301831B (en) | 2023-07-07 |
Family
ID=80967748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111507284.XA Active CN114301831B (en) | 2021-12-10 | 2021-12-10 | A service transmission method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114301831B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115277467B (en) * | 2022-07-29 | 2023-10-24 | 联想(北京)有限公司 | Communication method and device based on home gateway, gateway and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108471629A (en) * | 2017-02-23 | 2018-08-31 | 华为技术有限公司 | The control method of business service quality, equipment and system in transmission network |
CN110383762A (en) * | 2017-04-14 | 2019-10-25 | 华为技术有限公司 | A method, device and system for implementing policy control |
CN111431803A (en) * | 2020-03-27 | 2020-07-17 | 中国联合网络通信集团有限公司 | A routing method and device |
WO2020187052A1 (en) * | 2019-03-19 | 2020-09-24 | 华为技术有限公司 | Network slice selection method and apparatus |
WO2020199896A1 (en) * | 2019-04-02 | 2020-10-08 | 华为技术有限公司 | Service flow routing control method, apparatus and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114390596B (en) * | 2018-08-13 | 2025-05-06 | 华为技术有限公司 | A method for processing business flow, a communication method and a device |
-
2021
- 2021-12-10 CN CN202111507284.XA patent/CN114301831B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108471629A (en) * | 2017-02-23 | 2018-08-31 | 华为技术有限公司 | The control method of business service quality, equipment and system in transmission network |
CN110383762A (en) * | 2017-04-14 | 2019-10-25 | 华为技术有限公司 | A method, device and system for implementing policy control |
WO2020187052A1 (en) * | 2019-03-19 | 2020-09-24 | 华为技术有限公司 | Network slice selection method and apparatus |
WO2020199896A1 (en) * | 2019-04-02 | 2020-10-08 | 华为技术有限公司 | Service flow routing control method, apparatus and system |
CN111770545A (en) * | 2019-04-02 | 2020-10-13 | 华为技术有限公司 | A service flow routing control method, device and system |
CN111431803A (en) * | 2020-03-27 | 2020-07-17 | 中国联合网络通信集团有限公司 | A routing method and device |
Non-Patent Citations (4)
Title |
---|
3Gpp. "SA3-LI Living Document -- Mobile Cloud Services Lawful Interception Impact Evaluation v0.1.3._clean".3GPP tsg_sa\WG3_Security.2013,全文. * |
On the Scalability of Routing With Policies;Andras Gulyas;IEEE/ACM Transactions on Networking;第23卷(第5期);全文 * |
基于业务属性的SDN路由策略研究;李江舟;中国优秀硕士学位论文数据库;全文 * |
基于深度学习的路由调度机制研究;买天乐;中国优秀硕士学位论文数据库;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114301831A (en) | 2022-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11510131B2 (en) | Configuration method, data transmission method, and apparatus | |
US11765686B2 (en) | Packet transmission method and apparatus for communicating between terminals of a same 5G LAN group | |
US10779195B2 (en) | Information transmission method and apparatus | |
CN111586860B (en) | Communication method and device | |
CN112165725B (en) | Message processing methods and equipment | |
WO2020199896A1 (en) | Service flow routing control method, apparatus and system | |
CN111586803B (en) | Communication method and related equipment | |
EP4106480A1 (en) | Communication method and apparatus | |
EP3499922B1 (en) | Method, device and computer-readable storage medium for applying qos based on user plane data mapping | |
WO2018126692A1 (en) | Method and apparatus for controlling data transmission | |
WO2020233249A1 (en) | Packet transmission method and related apparatus | |
WO2021243837A1 (en) | Application data routing method based on ursp rule, and user equipment | |
CN110505714A (en) | Multi-link communication method, device and terminal | |
CN110662308A (en) | Communication method and device | |
US11382022B2 (en) | Method, apparatus, and computer program product for packet forwarding control protocol messages bundling | |
CN117279037A (en) | Communication methods and devices | |
CN106254265A (en) | Process the methods, devices and systems of message | |
CN102014039B (en) | Data transmission method and access point | |
CN108702798A (en) | Method and device for data transmission | |
CN110830928A (en) | Communication method and device | |
US8744457B2 (en) | Unique radio bearer (RB) procedure | |
CN115915196A (en) | Link state detection method, communication device and communication system | |
WO2022021435A1 (en) | Data transmission method, device, and storage medium | |
US12238154B2 (en) | Multicast session establishment method and network device | |
CN114301831B (en) | A service transmission method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |