CN118590447A - A method, device and storage medium for multi-type traffic management - Google Patents
A method, device and storage medium for multi-type traffic management Download PDFInfo
- Publication number
- CN118590447A CN118590447A CN202410811879.1A CN202410811879A CN118590447A CN 118590447 A CN118590447 A CN 118590447A CN 202410811879 A CN202410811879 A CN 202410811879A CN 118590447 A CN118590447 A CN 118590447A
- Authority
- CN
- China
- Prior art keywords
- traffic
- type
- apn
- network path
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000005540 biological transmission Effects 0.000 claims abstract description 59
- 238000004590 computer program Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000000926 separation method Methods 0.000 abstract description 4
- 230000006855 networking Effects 0.000 abstract description 2
- 238000007726 management method Methods 0.000 description 38
- 238000010586 diagram Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 6
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 4
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2441—Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2408—Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开了一种多类型流量管理的方法、装置和存储介质,涉及车联网技术领域。包括:根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN,其中,第一类型的流量是车企流量;第二类型的流量是非车企流量;将第一类型的流量分配到第一APN支持的网络路径中传输,并将第二类型的流量分配到第二APN支持的网络路径中传输。这样,通过为不同类型的流量配置不同的APN,将不同类型的流量分配到对应APN支持的网络路径中传输,实现了不同类型流量的数据分离和独立传输,可以提高用户的服务体验。
The present application discloses a method, device and storage medium for multi-type traffic management, which relates to the field of vehicle networking technology. It includes: according to a preset configuration information table, determining a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic, wherein the first type of traffic is vehicle enterprise traffic; the second type of traffic is non-vehicle enterprise traffic; the first type of traffic is allocated to a network path supported by the first APN for transmission, and the second type of traffic is allocated to a network path supported by the second APN for transmission. In this way, by configuring different APNs for different types of traffic and allocating different types of traffic to network paths supported by the corresponding APNs for transmission, data separation and independent transmission of different types of traffic are achieved, which can improve the user's service experience.
Description
技术领域Technical Field
本申请涉及车联网技术领域,特别是涉及一种多类型流量管理的方法、装置和存储介质。The present application relates to the field of vehicle networking technology, and in particular to a method, device and storage medium for multi-type traffic management.
背景技术Background Art
随着车联网技术的快速发展,车载系统逐渐发展成为一个融合了各种智能化功能的信息平台;该信息平台需要对车载系统中涉及的车企流量和非车企流量,如用户娱乐流量进行管理。With the rapid development of Internet of Vehicles technology, the in-vehicle system has gradually developed into an information platform that integrates various intelligent functions; this information platform needs to manage the vehicle enterprise traffic and non-vehicle enterprise traffic involved in the in-vehicle system, such as user entertainment traffic.
车企流量是指车载系统为用户提供导航服务、远程控制和车况监控等车辆相关服务所需的流量;非车企流量,如用户娱乐流量是指车载系统为用户提供音乐、视频和游戏等的相关服务所需的流量。Automaker traffic refers to the traffic required by the in-vehicle system to provide users with vehicle-related services such as navigation services, remote control and vehicle condition monitoring; non-automaker traffic, such as user entertainment traffic, refers to the traffic required by the in-vehicle system to provide users with related services such as music, videos and games.
如何高效地对车企流量和非车企流量进行有效管理,成为车联网技术领域亟待解决的技术问题。How to efficiently manage the traffic of automobile companies and non-automotive companies has become a technical problem that needs to be urgently solved in the field of Internet of Vehicles technology.
发明内容Summary of the invention
基于上述问题,本申请提供了一种多类型流量管理的方法,用以高效地对车载系统中的车企流量和非车企流量进行管理,提高用户的使用体验。Based on the above problems, the present application provides a method for multi-type traffic management to efficiently manage the vehicle enterprise traffic and non-vehicle enterprise traffic in the vehicle system and improve the user experience.
本申请实施例公开了如下技术方案:The embodiments of the present application disclose the following technical solutions:
第一方面,本申请公开了一种多类型流量管理的方法,包括:In a first aspect, the present application discloses a method for multi-type traffic management, including:
根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN;所述预设的配置信息表指示不同类型的流量与不同APN之间的对应关系;所述第一类型的流量是车企流量;所述第二类型的流量是非车企流量;According to a preset configuration information table, determining a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic; the preset configuration information table indicates a correspondence between different types of traffic and different APNs; the first type of traffic is vehicle enterprise traffic; the second type of traffic is non-vehicle enterprise traffic;
将所述第一类型的流量分配到所述第一APN支持的网络路径中传输,并将所述第二类型的流量分配到所述第二APN支持的网络路径中传输。The first type of traffic is allocated to a network path supported by the first APN for transmission, and the second type of traffic is allocated to a network path supported by the second APN for transmission.
在一种可选的实现方式中,所述第二类型的流量包括多种类型的子流量,所述第二APN支持的网络路径包括多个子网络路径;所述预设的配置信息表还指示所述多种类型的子流量与所述多个子网络路径间的对应关系;所述将所述第二类型的流量分配到所述第二APN支持的网络路径中传输,包括:In an optional implementation, the second type of traffic includes multiple types of sub-traffic, and the network path supported by the second APN includes multiple sub-network paths; the preset configuration information table further indicates a correspondence between the multiple types of sub-traffic and the multiple sub-network paths; and the allocating the second type of traffic to the network path supported by the second APN for transmission includes:
对于每种类型的所述子流量,根据所述预设的配置信息表,确定与该种类型的子流量匹配的子网络路径,作为目标子网络路径;For each type of the sub-flow, according to the preset configuration information table, determine a sub-network path matching the sub-flow of the type as the target sub-network path;
对于每种类型的所述子流量,将该种类型的子流量分配到对应的目标子网络路径中传输。For each type of the sub-flow, the sub-flow of this type is allocated to the corresponding target sub-network path for transmission.
在一种可选的实现方式中,每个所述APN支持的网络路径上部署有网关控制节点,所述方法还包括:In an optional implementation manner, a gateway control node is deployed on a network path supported by each APN, and the method further includes:
对于每个所述APN,通过该ANP支持的网络路径上的网关控制节点,控制该APN的服务的启用或禁用。For each of the APNs, enabling or disabling of services of the APN is controlled through a gateway control node on a network path supported by the ANP.
在一种可选的实现方式中,每个所述APN支持的网络路径上部署有流量管理方案,所述方法还包括:In an optional implementation manner, a traffic management solution is deployed on a network path supported by each APN, and the method further includes:
对于每个所述APN,通过该APN支持的网络路径上的流量管理方案,对该APN所承载的流量进行管理。For each of the APNs, the traffic carried by the APN is managed through a traffic management solution on a network path supported by the APN.
在一种可选的实现方式中,所述预设的配置信息表的生成步骤,包括:In an optional implementation, the step of generating the preset configuration information table includes:
根据每种类型流量的特征,确定该种类型的流量对应的APN参数;所述APN参数包括APN标识和APN支持的网络路径;Determine the APN parameters corresponding to each type of traffic according to the characteristics of the type of traffic; the APN parameters include the APN identifier and the network path supported by the APN;
获取配置信息表模板;所述配置信息表模板包括流量类型字段和APN参数字段;Obtain a configuration information table template; the configuration information table template includes a traffic type field and an APN parameter field;
基于所述每种类型的流量、所述每种类型的流量对应的APN参数和所述配置信息表模板,生成所述预设的配置信息表。The preset configuration information table is generated based on each type of traffic, the APN parameters corresponding to each type of traffic, and the configuration information table template.
在一种可选的实现方式中,所述方法还包括:In an optional implementation, the method further includes:
为所述第一类型的流量分配第一优先级,且为所述第二类型的流量分配第二优先级;所述第一优先级相对于所述第二优先级具有更高的流量处理或流量传输的优先权。A first priority is assigned to the first type of traffic, and a second priority is assigned to the second type of traffic; the first priority has a higher priority for traffic processing or traffic transmission than the second priority.
在一种可选的实现方式中,所述第二优先级包括多种子优先级,所述方法还包括:In an optional implementation, the second priority level includes multiple sub-priorities, and the method further includes:
为每种类型的所述子流量配置不同的子优先级;每种所述子优先级的流量处理和流量传输的优先权不同。Different sub-priorities are configured for each type of the sub-traffic; and the priorities of traffic processing and traffic transmission of each sub-priority are different.
在一种可选的实现方式中,所述对于每个所述APN,通过该APN支持的网络路径上的流量管理方案,对该APN所承载的流量进行管理,包括:In an optional implementation manner, for each of the APNs, managing the traffic carried by the APN through a traffic management solution on a network path supported by the APN includes:
对于每个所述APN,若确定该APN支持的网络路径在预设的时间段内已经传输的流量大于或等于预设的流量阈值,则在所述流量管理方案对应的显示界面上显示流量超额使用的提示信息。For each of the APNs, if it is determined that the traffic transmitted by the network path supported by the APN within a preset time period is greater than or equal to a preset traffic threshold, a prompt message of excessive traffic usage is displayed on the display interface corresponding to the traffic management solution.
第二方面,本申请公开了一种多类型流量管理的装置,所述装置包括:In a second aspect, the present application discloses a device for multi-type traffic management, the device comprising:
APN确定模块,用于根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN;所述预设的配置信息表指示不同类型的流量与不同APN之间的对应关系;所述第一类型的流量是车企流量;所述第二类型的流量是非车企流量;An APN determination module, configured to determine, according to a preset configuration information table, a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic; the preset configuration information table indicates a correspondence between different types of traffic and different APNs; the first type of traffic is vehicle enterprise traffic; the second type of traffic is non-vehicle enterprise traffic;
流量管理模块,用于将所述第一类型的流量分配到所述第一APN支持的网络路径中传输,并将所述第二类型的流量分配到所述第二APN支持的网络路径中传输。The traffic management module is used to allocate the first type of traffic to the network path supported by the first APN for transmission, and allocate the second type of traffic to the network path supported by the second APN for transmission.
第三方面,本申请提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面任一实现方式介绍的方法的步骤。In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method introduced in any implementation manner of the first aspect.
第四方面,本申请提供了一种电子设备,包括:In a fourth aspect, the present application provides an electronic device, including:
存储器,其上存储有计算机程序;a memory having a computer program stored thereon;
处理器,用于执行所述存储器中的所述计算机程序,以实现第一方面任一实现方式介绍的方法的步骤。A processor is used to execute the computer program in the memory to implement the steps of the method introduced in any implementation manner of the first aspect.
相较于现有技术,本申请具有以下有益效果:Compared with the prior art, this application has the following beneficial effects:
本申请公开一种多类型流量管理的方法,包括:根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN,其中,第一类型的流量是车企流量;第二类型的流量是非车企流量;将第一类型的流量分配到第一APN支持的网络路径中传输,并将第二类型的流量分配到第二APN支持的网络路径中传输。The present application discloses a method for multi-type traffic management, including: determining a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic according to a preset configuration information table, wherein the first type of traffic is vehicle enterprise traffic; the second type of traffic is non-vehicle enterprise traffic; the first type of traffic is allocated to a network path supported by the first APN for transmission, and the second type of traffic is allocated to a network path supported by the second APN for transmission.
这样,通过为不同类型的流量配置不同的APN,将不同类型的流量分配到对应APN支持的网络路径中传输,实现了不同类型流量的数据分离和独立传输,可以提高用户的服务体验。In this way, by configuring different APNs for different types of traffic and allocating different types of traffic to the network paths supported by the corresponding APNs for transmission, data separation and independent transmission of different types of traffic are achieved, which can improve the user's service experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1为本申请实施例提供的一种多类型流量管理的方法的流程图;FIG1 is a flow chart of a method for multi-type traffic management provided by an embodiment of the present application;
图2为本申请实施例提供的一种配置信息表模板的示意图;FIG2 is a schematic diagram of a configuration information table template provided in an embodiment of the present application;
图3为本申请实施例提供的一种配置信息表的示意图;FIG3 is a schematic diagram of a configuration information table provided in an embodiment of the present application;
图4为本申请实施例提供的另一种配置信息表的示意图;FIG4 is a schematic diagram of another configuration information table provided in an embodiment of the present application;
图5为本申请实施例提供的一种多类型管理流量的装置的结构示意图。FIG5 is a schematic diagram of the structure of a device for managing multiple types of traffic provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
正如前文描述,随着车联网技术的快速发展,车载系统逐渐发展成为一个融合了各种智能化功能的信息平台;该信息平台需要对车载系统中涉及的车企流量和非车企流量,如用户娱乐流量进行管理。其中,车企流量是指车载系统为用户提供导航服务、远程控制和车况监控等车辆相关服务所需的流量;非车企流量,如用户娱乐流量是指车载系统为用户提供音乐、视频和游戏等的相关服务所需的流量。As described above, with the rapid development of Internet of Vehicles technology, the in-vehicle system has gradually developed into an information platform that integrates various intelligent functions; this information platform needs to manage the car company traffic and non-car company traffic involved in the in-vehicle system, such as user entertainment traffic. Among them, car company traffic refers to the traffic required by the in-vehicle system to provide users with vehicle-related services such as navigation services, remote control and vehicle condition monitoring; non-car company traffic, such as user entertainment traffic, refers to the traffic required by the in-vehicle system to provide users with related services such as music, videos and games.
当前,大多数车辆并未实现车企流量和非车企流量的有效管理。示例性地,车企流量和非车企流量在同一网络通道上传输,二者相互干扰,导致数据传输效率较低;车企流量和非车企流量的优先级不明确,导致车载系统无法根据流量的重要性和紧急性来分配网络资源,导致重要的车企流量可能因为娱乐流量占用较大的网络资源而延迟或丢失。Currently, most vehicles do not manage the traffic of car companies and non-car companies effectively. For example, car company traffic and non-car company traffic are transmitted on the same network channel, which interferes with each other, resulting in low data transmission efficiency; the priority of car company traffic and non-car company traffic is unclear, resulting in the inability of the vehicle system to allocate network resources according to the importance and urgency of traffic, resulting in important car company traffic being delayed or lost because entertainment traffic occupies a large amount of network resources.
可以理解的是,如果车企流量和非车企流量没有实现有效管理,重要的车辆服务,如紧急救援和远程控制等服务的响应速度较慢,会影响用户的服务体验。当车企流量和非车企流量没有实现有效管理,可能会导致用户在不知情的情况下产生额外的网络费用,进一步影响了用户的体验。It is understandable that if the traffic of car companies and non-car companies is not effectively managed, the response speed of important vehicle services, such as emergency rescue and remote control, will be slow, which will affect the user's service experience. When the traffic of car companies and non-car companies is not effectively managed, it may cause users to incur additional network fees without knowing it, further affecting the user experience.
本申请公开一种多类型流量管理的方法,包括:根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN,其中,第一类型的流量是车企流量;第二类型的流量是非车企流量;将第一类型的流量分配到第一APN支持的网络路径中传输,并将第二类型的流量分配到第二APN支持的网络路径中传输。这样,通过为不同类型的流量配置不同的APN,将不同类型的流量分配到对应APN支持的网络路径中传输,实现了不同类型流量的数据分离和独立传输,提高用户的服务体验。The present application discloses a method for multi-type traffic management, including: determining a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic according to a preset configuration information table, wherein the first type of traffic is vehicle enterprise traffic; the second type of traffic is non-vehicle enterprise traffic; the first type of traffic is allocated to a network path supported by the first APN for transmission, and the second type of traffic is allocated to a network path supported by the second APN for transmission. In this way, by configuring different APNs for different types of traffic and allocating different types of traffic to network paths supported by the corresponding APNs for transmission, data separation and independent transmission of different types of traffic are achieved, thereby improving the user's service experience.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
图1为本申请实施例提供的一种多类型流量管理的方法的流程图。结合图1所示,本申请中公开的多类型流量管理的方法,包括:FIG1 is a flow chart of a method for managing multiple types of traffic provided by an embodiment of the present application. In conjunction with FIG1 , the method for managing multiple types of traffic disclosed in the present application includes:
S101,根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN。S101, determining a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic according to a preset configuration information table.
APN(Access Point Name)是接入点名称,是在通用分组无线服务(GeneralPacket Radio Service,GPRS)网络或增强型通用分组无线服务(Enhanced Data Rate forGSM Evolution,E-GPRS)网络中用于标识一个业务接入点的名称。APN (Access Point Name) is an access point name, which is used to identify a service access point in a General Packet Radio Service (GPRS) network or an Enhanced Data Rate for GSM Evolution (E-GPRS) network.
通过APN可以区分用户设备要访问的网络类型,如Internet、WAP网站、集团企业内部网络、行业内部专用网络;可以建立私有网络,与公共互联网隔离,减少潜在的网络攻击风险;可以通过加密技术来保护数据传输的安全性,如使用虚拟专用网络或其他加密协议对数据进行加密处理;可以提供访问控制和权限管理功能,保证具有合法权限的设备和用户才能接入到APN网络;即通过APN可以实现数据通信和互联网访问等多种功能,并在安全方面具有较大优势。APN can be used to distinguish the types of networks that user devices want to access, such as the Internet, WAP websites, group enterprise internal networks, and industry-specific networks; private networks can be established to isolate them from the public Internet and reduce potential network attack risks; encryption technology can be used to protect the security of data transmission, such as using virtual private networks or other encryption protocols to encrypt data; access control and permission management functions can be provided to ensure that only devices and users with legitimate permissions can access the APN network; that is, APN can realize multiple functions such as data communication and Internet access, and has great advantages in security.
本申请中预设的配置信息表指示不同类型的流量与不同APN之间的对应关系。本申请中第一类型的流量是车企流量;第二类型的流量是非车企流量,如用户娱乐流量。在获取预设的配置信息表后,可以从预设的配置信息表中确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN。The preset configuration information table in this application indicates the correspondence between different types of traffic and different APNs. The first type of traffic in this application is car company traffic; the second type of traffic is non-car company traffic, such as user entertainment traffic. After obtaining the preset configuration information table, the first APN corresponding to the first type of traffic and the second APN corresponding to the second type of traffic can be determined from the preset configuration information table.
在一种可选的实现方式中,可以通过以下步骤生成预设的配置信息表,具体包括:In an optional implementation, the preset configuration information table may be generated by the following steps, specifically including:
第一步:根据每种类型流量的特征,确定该种类型的流量对应的APN参数。Step 1: Determine the APN parameters corresponding to each type of traffic based on the characteristics of that type of traffic.
每种类型流量的特征不同,其需要的网络路径环境也不相同。例如,车企流量具有实时性、大数据量和安全性要求较高等特征,一般需要在专用的网络路径中传输;车企流量对应的APN参数是描述专用网络路径的相关参数。Each type of traffic has different characteristics and requires different network path environments. For example, traffic from car companies has real-time, large data volumes, and high security requirements, and generally needs to be transmitted in a dedicated network path. The APN parameters corresponding to traffic from car companies are related parameters that describe dedicated network paths.
又例如,非车企流量,如用户娱乐流量具有多样化和个性化强等特征,但是对安全性要求不高,可以在公开的网络路径中传输;非车企流量对应的APN参数是描述公开网络路径的相关参数。For example, non-auto enterprise traffic, such as user entertainment traffic, has characteristics such as diversity and strong personalization, but does not have high security requirements and can be transmitted in public network paths; the APN parameters corresponding to non-auto enterprise traffic are relevant parameters that describe public network paths.
具体而言,APN参数包括APN标识和APN支持的网络路径;还可以包括APN对应的IP类型和端口号等信息。Specifically, the APN parameters include the APN identifier and the network path supported by the APN; they may also include information such as the IP type and port number corresponding to the APN.
第二步,获取配置信息表模板。The second step is to obtain the configuration information table template.
图2为本申请实施例提供的一种配置信息表模板的示意图。结合图2所示,配置信息表模板包括流量类型字段和APN参数字段。Fig. 2 is a schematic diagram of a configuration information table template provided in an embodiment of the present application. As shown in Fig. 2, the configuration information table template includes a traffic type field and an APN parameter field.
流量类型字段在通信或网络管理中用于明确流量的具体类别或属性,以便对流量进行有效的管理和优化。在不同的使用场景中,可以将流量分成多种不同的类型。例如,在车联网领域中,可以将流量分为车企流量和非车企流量;在移动通信领域中,可以将流量分为通用流量、定向流量或区域流量等等。The traffic type field is used in communications or network management to identify the specific category or attribute of traffic so as to effectively manage and optimize traffic. In different usage scenarios, traffic can be divided into many different types. For example, in the field of Internet of Vehicles, traffic can be divided into car company traffic and non-car company traffic; in the field of mobile communications, traffic can be divided into general traffic, directional traffic or regional traffic, etc.
需要说明的是,本申请中示意性地给出一种配置信息表模板中流量类型的可能分类方式,实际工作中,配置信息表中流量类型除了图2中所示的第一类型和第二类型外,还可以包括更多其他类型。It should be noted that the present application schematically provides a possible classification method for traffic types in a configuration information table template. In actual work, the traffic types in the configuration information table may include more types in addition to the first type and the second type shown in FIG. 2 .
APN参数字段用于表征终端设备,如车辆,连接到移动网络时所需的网络参数和标识符,包括:APN名称、APN支持的网络路径、用户名和密码、IP类型和端口类型等信息;这些参数共同确保设备能够安全、有效地与移动网络进行通信。The APN parameter field is used to characterize the network parameters and identifiers required for terminal devices, such as vehicles, to connect to mobile networks, including: APN name, network paths supported by the APN, user name and password, IP type, port type and other information; these parameters together ensure that the device can communicate with the mobile network securely and effectively.
APN名称是接入点名称的主要标识,用于识别和区分不同的APN设置。示例性地,中国联通的2G业务WAP浏览器中使用的APN名称为“UNIWAP”,3G业务WAP浏览器使用的APN名称为“3GWAP”。中国移动上内网的APN名称为“CMWAP”,上网卡及上公网使用的APN名称为“CMNET”。APN支持的网络路径决定了GPRS网关支持节点(Gateway GPRS Support Node,简称GGSN)具体连接哪个网络。示例性地,APN支持的网络路径可能是公共网络,也可能是连接公司内部的私密网络。The APN name is the main identifier of the access point name, which is used to identify and distinguish different APN settings. For example, the APN name used in China Unicom's 2G service WAP browser is "UNIWAP", and the APN name used in the 3G service WAP browser is "3GWAP". The APN name for China Mobile's intranet is "CMWAP", and the APN name used for the Internet card and the public network is "CMNET". The network path supported by the APN determines which network the GPRS Gateway Support Node (Gateway GPRS Support Node, GGSN for short) is specifically connected to. For example, the network path supported by the APN may be a public network or a private network connected to the company.
用户名和密码在APN配置中作为身份验证的一部分,用于用户身份的认证。具体而言,为保证数据的隐私和安全,有些APN可能需要提供用户名和密码进行身份验证,才能保证设备合法地访问到该APN支持的网络路径中。Username and password are used as part of the authentication in APN configuration to authenticate the user. Specifically, to ensure data privacy and security, some APNs may require user name and password for authentication to ensure that the device can legally access the network path supported by the APN.
在APN设置中,常用的IP地址的类型包括IPv4、IPv6或双栈(同时支持IPv4和IPv6)。明确APN支持的IP地址的类型,有助于设备在连接到移动网络时可以使用正确的IP协议。In APN settings, commonly used IP address types include IPv4, IPv6, or dual stack (supporting both IPv4 and IPv6). Clarifying the types of IP addresses supported by APN helps devices use the correct IP protocol when connecting to the mobile network.
在APN设置中,端口号是指代理服务的端口号。明确APN对应的端口号有诸多重要意义。例如,有些端口号用于标识特定的服务或进程,当设备通过APN连接到移动网络时,明确端口号可以帮助移动网络正确地将数据流量路由到指定的代理服务。又如,有些端口号可能被专门用于加密通信,以提高数据传输的安全性;明确端口号可以确保数据使用适当的加密和安全协议被传输。进一步地,如果设备无法连接到网络或者是数据传输出现问题,明确的端口号可以帮助网络管理员或技术支持人员更快地识别和解决问题。In the APN settings, the port number refers to the port number of the proxy service. There are many important meanings to clarifying the port number corresponding to the APN. For example, some port numbers are used to identify specific services or processes. When a device connects to a mobile network through APN, clarifying the port number can help the mobile network correctly route data traffic to the specified proxy service. For another example, some port numbers may be specifically used for encrypted communications to improve the security of data transmission; clarifying the port number can ensure that data is transmitted using appropriate encryption and security protocols. Furthermore, if the device cannot connect to the network or there is a problem with data transmission, clarifying the port number can help network administrators or technical support personnel identify and resolve the problem more quickly.
可以理解的是,本领域技术人员可以通过在线搜索、访问专业网站或论坛、访问开源社区、联系服务提供商或自定义模板等方式,获取配置信息表模板。It is understandable that those skilled in the art can obtain the configuration information table template by searching online, visiting professional websites or forums, visiting open source communities, contacting service providers, or customizing templates.
第三步:基于每种类型的流量、每种类型的流量对应的APN参数和配置信息表模板,生成预设的配置信息表。Step 3: Generate a preset configuration information table based on each type of traffic, the APN parameters corresponding to each type of traffic, and the configuration information table template.
具体而言,在确定多种类型的流量,确定每种类型的流量对应的APN参数后,可以将上述信息按照对应关系填写到配置信息表模板中,生成预设的配置信息表。Specifically, after determining multiple types of traffic and determining the APN parameters corresponding to each type of traffic, the above information can be filled into the configuration information table template according to the corresponding relationship to generate a preset configuration information table.
由于配置信息表模板具有确定的格式、良好的可读性和可维护性,所以即基于配置信息表模板生成预设的配置信息表的实现方式,可以降低用户在配置过程中可能出现的错误风险,可以帮助用户快速、高效地完成配置工作;同时,还有助于后续工作中对配置信息的修改和扩展。Since the configuration information table template has a certain format, good readability and maintainability, the implementation method of generating a preset configuration information table based on the configuration information table template can reduce the risk of errors that may occur during the configuration process of the user, and can help the user complete the configuration work quickly and efficiently; at the same time, it also helps to modify and expand the configuration information in subsequent work.
图3为本申请实施例提供的一种配置信息表的示意图。结合图3所示,该配置信息表包括两种类型的流量,分别是车企流量和非车企流量。Fig. 3 is a schematic diagram of a configuration information table provided in an embodiment of the present application. As shown in Fig. 3, the configuration information table includes two types of traffic, namely, vehicle enterprise traffic and non-vehicle enterprise traffic.
对于车企流量而言,其对应的APN类型为第一APN、对应的APN名称为“3gnet”、对应的APN支持的网络路径是第一网络路径、对应的APN的IP类型IPv4,以及对应ANP的端口号8*。For car company traffic, the corresponding APN type is the first APN, the corresponding APN name is "3gnet", the corresponding APN supported network path is the first network path, the corresponding APN IP type is IPv4, and the corresponding ANP port number is 8*.
对于非车企流量而言,其对应的APN类型为第二APN、对应的APN名称为“CMWAP”、对应的APN支持的网络路径是第二网络路径、对应的APN的IP类型IPv6,以及对应ANP的端口号4*3。For non-automaker traffic, the corresponding APN type is the second APN, the corresponding APN name is "CMWAP", the corresponding APN supported network path is the second network path, the corresponding APN IP type is IPv6, and the corresponding ANP port number is 4*3.
需要说明的是,图3总给出的配置信息表中的APN参数字段中不包括用户名和密码。如有需要,本领域技术人员可以为每个APN设置对应的用户名和密码。由于为每个APN设置对应的用户名和密码,是本领域人员熟知的内容,本申请中不对此内容做更多赘述。It should be noted that the APN parameter field in the configuration information table shown in FIG3 does not include a user name and a password. If necessary, a person skilled in the art can set a corresponding user name and a password for each APN. Since setting a corresponding user name and a password for each APN is a well-known content for a person skilled in the art, this application will not elaborate on this content.
在生成预设的配置信息表后,可以将预设的配置信息表存储在云端服务器或车辆的本地系统中,如T-BOX(远程控制模块的简称)或其他车载设备中。After the preset configuration information table is generated, the preset configuration information table may be stored in a cloud server or a local system of the vehicle, such as a T-BOX (short for remote control module) or other vehicle-mounted devices.
云存储的优点包括随时随地的访问数据、强大的数据存储和管理能力、良好的拓展性和数据安全性。The advantages of cloud storage include access to data anytime and anywhere, powerful data storage and management capabilities, good scalability and data security.
本地存储的优点是可以确保在没有网络连接的情况下,车辆仍然可以访问和使用配置信息。The advantage of local storage is that it ensures that the vehicle can still access and use the configuration information when there is no network connection.
本领域技术人员可以根据实际需要,将预设的配置信息表存储在云端或车辆的本地系统中,本申请中不限定预设的配置信息表的存储地点。Those skilled in the art may store the preset configuration information table in the cloud or in the local system of the vehicle according to actual needs. The storage location of the preset configuration information table is not limited in this application.
S102,将所述第一类型的流量分配到所述第一APN支持的网络路径中传输,并将所述第二类型的流量分配到所述第二APN支持的网络路径中传输。S102: Allocate the first type of traffic to a network path supported by the first APN for transmission, and allocate the second type of traffic to a network path supported by the second APN for transmission.
确定第一类型的流量与第一APN对应后,通过路由器、交换机和防火墙等网络设备,将第一类型的流量分配到第一APN支持的网络路径中传输。After determining that the first type of traffic corresponds to the first APN, the first type of traffic is distributed to a network path supported by the first APN for transmission through network devices such as routers, switches, and firewalls.
同理,在确定第二类型的流量与第二APN对应后,通过路由器、交换机和防火墙等网络设备,将第二类型的流量分配到第二APN支持的网络路径中传输。Similarly, after determining that the second type of traffic corresponds to the second APN, the second type of traffic is distributed to a network path supported by the second APN for transmission through network devices such as routers, switches, and firewalls.
需要说明的是,由于通过路由器、交换机和防火墙等网络设备,对流量进行转发,将其分配到对应的网络路径中传输是本领域技术人员熟知的技术,所以,本申请中不对此内容进行赘述。It should be noted that forwarding traffic through network devices such as routers, switches and firewalls and allocating it to corresponding network paths for transmission is a technology well known to those skilled in the art, so this content will not be elaborated in this application.
综上所述,本申请中充分利用APN具有的唯一性和可配置性的特点,通过为每种不同类型的流量分配不同的ANP,实现了不同类型流量的数据分离和独立传输;每种类型的流量可以被路由到各自的网络通道中,避免资源冲突和浪费;且由于APN的安全性和访问权限是基于SIM(Subscriber Identity Module)或USIM(Universal Subscriber IdentityModule)卡的唯一性来实现的,因此本申请中的方案可以保障数据安全。In summary, the present application makes full use of the uniqueness and configurability of APN, and realizes data separation and independent transmission of different types of traffic by assigning different ANPs to each different type of traffic; each type of traffic can be routed to its own network channel to avoid resource conflicts and waste; and because the security and access rights of APN are based on the uniqueness of the SIM (Subscriber Identity Module) or USIM (Universal Subscriber Identity Module) card, the solution in the present application can ensure data security.
在一种可选的实现方式中,对于第二类型的流量,即非车企流量而言,可以将非车企流量分为视频流量、网页流量、音乐流量和社交应用流量等等多种类型的子流量。然后,将第二APN支持的网络路径分为多个子网络路径。In an optional implementation, for the second type of traffic, i.e., non-auto enterprise traffic, the non-auto enterprise traffic can be divided into multiple types of sub-traffic, such as video traffic, web traffic, music traffic, and social application traffic. Then, the network path supported by the second APN is divided into multiple sub-network paths.
例如,图3中第二类型的流量对应的APN支持的网络路径是第二网络路径,可以将第二网络路径分为多个独立的子网络路径。在预设的配置信息表中记录子流量和子网络路径间的对应关系。For example, the network path supported by the APN corresponding to the second type of traffic in Figure 3 is the second network path, and the second network path can be divided into multiple independent sub-network paths. The correspondence between the sub-flows and the sub-network paths is recorded in the preset configuration information table.
对于每种类型的子流量,根据预设的配置信息表,确定与该种类型的子流量对应的子网络路径,作为目标子网络路径;对于每种类型的子流量,将该种类型的子流量分配到对应的目标子网络路径中传输。For each type of sub-flow, determine the sub-network path corresponding to the type of sub-flow according to the preset configuration information table as the target sub-network path; for each type of sub-flow, allocate the type of sub-flow to the corresponding target sub-network path for transmission.
图4为本申请实施例提供的另一种配置信息表的示意图。结合图4所示,该配置信息表中的流量类型为两大类,分别是车企流量和非车企流量。其中,非车企流量又分为视频流量和网页流量。FIG4 is a schematic diagram of another configuration information table provided in an embodiment of the present application. As shown in FIG4, the traffic types in the configuration information table are divided into two categories, namely, vehicle enterprise traffic and non-vehicle enterprise traffic. Among them, non-vehicle enterprise traffic is further divided into video traffic and web page traffic.
对于车企流量而言,其对应的APN类型为第一APN、对应的APN名称为“3gnet”、对应的APN支持的网络路径是第一网络路径、对应的APN的IP类型IPv4,以及对应ANP的端口号8*。For car company traffic, the corresponding APN type is the first APN, the corresponding APN name is "3gnet", the corresponding APN supported network path is the first network path, the corresponding APN IP type is IPv4, and the corresponding ANP port number is 8*.
对于非车企流量中的视频流量而言,其对应的APN类型为第二APN、对应的APN名称为“CMWAP”、对应的APN支持的网络路径是第二网络路径中的2.1网络路径、对应的APN的IP类型IPv6,以及对应ANP的端口号4*3。For video traffic in non-auto enterprise traffic, the corresponding APN type is the second APN, the corresponding APN name is "CMWAP", the corresponding APN supported network path is the 2.1 network path in the second network path, the corresponding APN IP type is IPv6, and the corresponding ANP port number is 4*3.
对于非车企流量中的网页流量而言,其对应的APN类型为第二APN、对应的APN名称为“CMWAP”、对应的APN支持的网络路径是第二网络路径中的2.1网络路径、对应的APN的IP类型IPv6,以及对应ANP的端口号4*3。For web traffic in non-auto enterprise traffic, the corresponding APN type is the second APN, the corresponding APN name is "CMWAP", the corresponding APN supported network path is the 2.1 network path in the second network path, the corresponding APN IP type is IPv6, and the corresponding ANP port number is 4*3.
在确定图4中的配置信息后,可以通过路由器、交换机和防火墙等网络设备将车企流量分配的第一网络路径中传输、将视频流量分配到2.1网络路径中传输,以及将网页流量分配到2.2网络路径中传输。After determining the configuration information in FIG4 , the automobile enterprise traffic can be distributed to the first network path for transmission, the video traffic can be distributed to the 2.1 network path for transmission, and the web page traffic can be distributed to the 2.2 network path for transmission through network devices such as routers, switches, and firewalls.
可以理解的是,将第二类型的流量按照其特征和需求细分为不同的子流量,可以对每个子流量进行更加精确和有效的管理。It can be understood that by subdividing the second type of traffic into different sub-traffics according to its characteristics and requirements, each sub-traffic can be managed more accurately and effectively.
每个子网络路径的带宽、延迟和稳定性等特征不同,将子流量分配到匹配的子网络路径上传输,能够确保子流量得到快速、稳定的传输,减少网络拥堵和传输错误的可能性;可以确保每个子网络路径上的带宽得到充分利用,提高整体网络资源的利用率。Each sub-network path has different characteristics such as bandwidth, latency, and stability. Allocating sub-traffic to matching sub-network paths for transmission can ensure that sub-traffic is transmitted quickly and stably, reducing the possibility of network congestion and transmission errors; it can ensure that the bandwidth on each sub-network path is fully utilized, thereby improving the utilization rate of overall network resources.
在一种可选的实现方式中,可以在每个APN支持的网络路径上部署网关控制节点;对于每个APN,通过该ANP支持的网络路径上的网关控制节点,控制该APN的服务的启用或禁用。In an optional implementation, a gateway control node may be deployed on a network path supported by each APN; for each APN, enabling or disabling of a service of the APN is controlled through the gateway control node on the network path supported by the APN.
示例性地,可以在第一类型流量,即车企流量对应的第一APN支持的网络路径上部署第一网管节点,通过控制第一网管节点,控制第一APN服务的启用或禁用。在第二类型流量,即非车企流量对应的第二APN支持的网络路径上部署第二网管节点,通过控制第二网管节点,控制第二APN服务的启用或禁用。For example, a first network management node may be deployed on a network path supported by a first APN corresponding to a first type of traffic, that is, traffic of an automobile enterprise, and the first APN service may be enabled or disabled by controlling the first network management node. A second network management node may be deployed on a network path supported by a second APN corresponding to a second type of traffic, that is, traffic of non-auto enterprise, and the second APN service may be enabled or disabled by controlling the second network management node.
需要说明的是,有在每个APN支持的网络部署网管控制节点是本领域技术人员熟知的内容,本申请中不对此内容做更多赘述。It should be noted that the deployment of a network management control node in each network supported by an APN is well known to those skilled in the art, and this application will not go into further detail on this matter.
该方案的优势是可以实现对不同类型流量的精确管理、控制、隔离和保护,提高网络的安全性、可靠性和灵活性。这对于车企等需要处理大量敏感数据和实时信息的行业来说尤为重要。对于用户而言,这种灵活性可以帮助用户更好地管理流量,避免不必要的流量浪费,提高流量的使用效率。The advantage of this solution is that it can achieve accurate management, control, isolation and protection of different types of traffic, and improve the security, reliability and flexibility of the network. This is especially important for industries such as automobile companies that need to process large amounts of sensitive data and real-time information. For users, this flexibility can help users better manage traffic, avoid unnecessary traffic waste, and improve traffic usage efficiency.
在一种可选的实现方式中,可以在每个APN支持的网络路径上部署流量管理方案。对于每个APN,通过该APN支持的网络路径上的流量管理方案,对该APN所承载的流量进行管理。In an optional implementation, a traffic management solution may be deployed on a network path supported by each APN. For each APN, the traffic carried by the APN is managed through the traffic management solution on the network path supported by the APN.
示例性地,可以在第一类型的流量,即车企流量对应的第一APN支持的网络路径上部署第一流量管理方案。第一流量管理方案中可以包括流量查询、套餐选择、在线支付等内容。同理,可以在第二类型的流量,即非车企流量对应的第二APN支持的网络路径上部署第二管理方案。For example, the first traffic management solution can be deployed on the network path supported by the first APN corresponding to the first type of traffic, that is, the traffic of the automobile enterprise. The first traffic management solution can include traffic query, package selection, online payment, etc. Similarly, the second management solution can be deployed on the network path supported by the second APN corresponding to the second type of traffic, that is, the traffic of non-auto enterprises.
需要说明的是,流量管理方案可以包括流量分配方案和流量优化方案等等,本领域技术人员可以根据实现需要设定流量管理方案具体的内容,本申请中不对此内容进行限定。It should be noted that the traffic management solution may include a traffic allocation solution and a traffic optimization solution, etc. Those skilled in the art may set the specific content of the traffic management solution according to implementation needs, and this application does not limit this content.
可以理解的是,通过在不同的流量类型对应的APN支持的网络路径上分别部署流量管理方案,可以为每个APN提供独立的续费管理能力,实现车企流量和非车企流量的独立管控;方便运营商进行精细化的运营和用户管理。It is understandable that by deploying traffic management solutions separately on the network paths supported by APNs corresponding to different traffic types, independent renewal management capabilities can be provided for each APN, enabling independent control of vehicle enterprise traffic and non-vehicle enterprise traffic, making it easier for operators to conduct refined operations and user management.
在一种可选的实现方式中,可以通过车载终端或手机应用程序实现对流量管理方案的查看和操作;即用户可以便捷地通过车载终端或手机应用程序,查询流量使用情况、选择套餐并进行线上支付,享受便捷的续费服务。In an optional implementation, the traffic management plan can be viewed and operated through a vehicle terminal or a mobile phone application; that is, users can conveniently check traffic usage, select packages and make online payments through a vehicle terminal or a mobile phone application, and enjoy convenient renewal services.
在一种可选的实现方式中,对于每个APN,可以记录该APN支持的网络路径在预设的时间段内已经传输的流量的大小。其中,预设的时间段可以是一天、一周或一个月。In an optional implementation, for each APN, the size of the traffic transmitted by the network path supported by the APN within a preset time period may be recorded, wherein the preset time period may be one day, one week or one month.
若确定该APN支持的网络路径在预设的时间段内已经传输的流量大于或等于预设的流量阈值,则可以在流量管理方案对应的显示界面,如手机应用程序的界面或车载终端的界面上显示流量超额使用的提示信息。这样的好处是:能够帮助用户及时发现流量异常或差额使用情况,防止潜在的网络资源耗费问题的出现。If it is determined that the traffic volume transmitted by the network path supported by the APN within the preset time period is greater than or equal to the preset traffic threshold, a reminder message of traffic overage can be displayed on the display interface corresponding to the traffic management solution, such as the interface of the mobile application or the interface of the vehicle terminal. The advantage of this is that it can help users to discover traffic anomalies or difference usage in time and prevent the occurrence of potential network resource consumption problems.
在一种可选的实现方式中,可以为本申请为第一类型的流量,即车企流量分配第一优先级;为第二类型的流量,即非车企流量分配第二优先级;其中,第一优先级相对于第二优先级具有更高的流量传输的优先权。In an optional implementation, a first priority may be assigned to the first type of traffic, i.e., automobile enterprise traffic, for this application; and a second priority may be assigned to the second type of traffic, i.e., non-auto enterprise traffic; wherein the first priority has a higher priority for traffic transmission than the second priority.
该方案的具体实现过程是:The specific implementation process of this solution is:
首先,在数据传输的源头或网络设备中,对每种类型的流量进行特殊标记,以便在后续的传输和处理过程中能够识别每种类型的流量的优先级;示例性地,可以将第一类型的流量标记为1,第二类型的流量标记为2。First, at the source of data transmission or in the network device, each type of traffic is specially marked so that the priority of each type of traffic can be identified during subsequent transmission and processing; for example, the first type of traffic can be marked as 1 and the second type of traffic can be marked as 2.
其次,在网络设备,比如路由器和交换机中设置多个队列,每个队列对应不同的优先级。将优先级较高的类型的流量分配到优先级较高的队列中。Secondly, multiple queues are set up in network devices, such as routers and switches, each corresponding to a different priority, and higher priority types of traffic are assigned to higher priority queues.
示例性地,将第一类型的车企流量分配到优先级最高的队列中,而第二类型的非车企流量分配到较低优先级的队列中。Exemplarily, the first type of vehicle manufacturer traffic is allocated to a queue with the highest priority, while the second type of non-vehicle manufacturer traffic is allocated to a queue with a lower priority.
最后,网络设备使用调度算法,如加权轮询、严格优先级等算法,决定从哪个队列中取出数据包进行传输。Finally, the network device uses a scheduling algorithm, such as weighted round-robin, strict priority, etc., to decide from which queue to take the packet for transmission.
示例性地,由于第一类型的车企流量所在的队列的优先级最高,因此,第一类型的流量,即车企流量将优先被分配到第一APN支持的网络路径中传输。在第一类型的车企流量传输完成后,再传输第二类型的非车企流量。For example, since the queue where the first type of car enterprise traffic is located has the highest priority, the first type of traffic, i.e., car enterprise traffic, will be preferentially allocated to the network path supported by the first APN for transmission. After the first type of car enterprise traffic is transmitted, the second type of non-car enterprise traffic will be transmitted.
由于第一类型的车企流量包含了对车辆控制、状态监控等关键信息,通过优先传输车企流量,可以确保这些关键业务的数据传输不受影响,提高车辆运行的安全性和稳定性。Since the first type of automobile enterprise traffic contains key information such as vehicle control and status monitoring, by prioritizing the transmission of automobile enterprise traffic, it can ensure that the data transmission of these key businesses is not affected, thereby improving the safety and stability of vehicle operation.
在网络资源有限的情况下,通过优先级分配,确保优先级较高的业务(如车企流量)获得足够的网络资源;允许低优先级业务(如非车企流量)在资源空闲时进行传输,从而优化网络资源的利用效率。这样,对于使用车企相关服务的用户来说,要通过优先传输车企流量,可以确保其获得更加流畅、稳定的服务,可以提高用户满意度。In the case of limited network resources, priority allocation is used to ensure that higher priority services (such as car company traffic) obtain sufficient network resources; low priority services (such as non-car company traffic) are allowed to be transmitted when resources are idle, thereby optimizing the utilization efficiency of network resources. In this way, for users of car company-related services, by giving priority to the transmission of car company traffic, they can ensure smoother and more stable services, which can improve user satisfaction.
在一种可选的实现方式中,第二优先级包括多个子优先级,每个子优先级的流量传输的优先权不同。In an optional implementation, the second priority includes multiple sub-priorities, and the traffic transmission priority of each sub-priority is different.
基于前述实施例中介绍的为第一类型的流量分配第一优先级,以及为第二类型的流量分配第二优先级的方法,可以进一步地为第二类型流量中包括多种类型的子流量,如视频流量、网页流量和语音通话流量等设置不通过的子优先级。Based on the method of assigning a first priority to the first type of traffic and assigning a second priority to the second type of traffic introduced in the aforementioned embodiment, it is possible to further set sub-priorities that are not passed for multiple types of sub-traffic in the second type of traffic, such as video traffic, web page traffic, and voice call traffic.
示例性地,语音通话流量重要性高于视频流量的重要性,视频流量的重要性高于网页流量的重要性,则可以为语音通话流量分配2.1优先级、为视频流量分为2.2优先级,以及为网页流量分为2.3优先级。其中,2.1优先级、2.2优先级和2.3优先级均是第二优先级中的子优先级。第二优先级中子优先级按照流量传输的优先权从高到低排序,分别是2.1优先级、2.2优先级和2.3优先级。For example, if the importance of voice call traffic is higher than that of video traffic, and the importance of video traffic is higher than that of web traffic, then the voice call traffic can be assigned a priority of 2.1, the video traffic can be assigned a priority of 2.2, and the web traffic can be assigned a priority of 2.3. Among them, the priority of 2.1, the priority of 2.2, and the priority of 2.3 are all sub-priorities in the second priority. The sub-priorities in the second priority are sorted from high to low according to the priority of traffic transmission, namely, priority of 2.1, priority of 2.2, and priority of 2.3.
为第二类型的流量包括的多种类型的子流量分配子优先级的优势在于,在网络资源优先的有限的条件下,通过优先级分配,确保第二类型的流量中优先级较高的业务(如视频通话)获得足够的网络资源,同时,允许低优先级业务(如网页流量)在资源空闲时进行传输,从而优化网络资源的利用效率,提高用户的服务体验。The advantage of assigning sub-priorities to the multiple types of sub-traffic included in the second type of traffic is that, under the limited condition of network resource priority, priority allocation can ensure that higher priority services in the second type of traffic (such as video calls) obtain sufficient network resources. At the same time, low priority services (such as web traffic) are allowed to be transmitted when resources are idle, thereby optimizing the utilization efficiency of network resources and improving the user's service experience.
基于前述实施例公开的多类型流量管理的方法,本申请还公开了一种多类型流量管理的装置。图5为本申请实施例提供的一种多类型管理流量的装置的结构示意图。结合图5所示,本申请公开的多类型流量管理的装置500,包括:Based on the method for managing multiple types of traffic disclosed in the above-mentioned embodiment, the present application also discloses a device for managing multiple types of traffic. FIG5 is a schematic diagram of the structure of a device for managing multiple types of traffic provided in an embodiment of the present application. In conjunction with FIG5, the device 500 for managing multiple types of traffic disclosed in the present application includes:
APN确定模块501,用于根据预设的配置信息表,确定第一类型的流量对应的第一APN和第二类型的流量对应的第二APN;所述预设的配置信息表指示不同类型的流量与不同APN之间的对应关系;所述第一类型的流量是车企流量;所述第二类型的流量是非车企流量;An APN determination module 501 is used to determine a first APN corresponding to a first type of traffic and a second APN corresponding to a second type of traffic according to a preset configuration information table; the preset configuration information table indicates a correspondence between different types of traffic and different APNs; the first type of traffic is vehicle enterprise traffic; the second type of traffic is non-vehicle enterprise traffic;
流量管理模块502,用于将所述第一类型的流量分配到所述第一APN支持的网络路径中传输,并将所述第二类型的流量分配到所述第二APN支持的网络路径中传输。The traffic management module 502 is used to allocate the first type of traffic to the network path supported by the first APN for transmission, and allocate the second type of traffic to the network path supported by the second APN for transmission.
在一种可选的实现方式中,当所述第二类型的流量包括多种类型的子流量,所述第二APN支持的网络路径包括多个子网络路径;所述预设的配置信息表还指示所述多种类型的子流量与所述多个子网络路径间的对应关系,流量管理模块502,包括:In an optional implementation, when the second type of traffic includes multiple types of sub-traffic, the network path supported by the second APN includes multiple sub-network paths; the preset configuration information table further indicates the correspondence between the multiple types of sub-traffic and the multiple sub-network paths, the traffic management module 502 includes:
目标子路径确定模块,用于对于每种类型的所述子流量,根据所述预设的配置信息表,确定与该种类型的子流量对应的子网络路径,作为目标子网络路径;a target sub-path determination module, configured to determine, for each type of the sub-flow, a sub-network path corresponding to the type of sub-flow according to the preset configuration information table, as a target sub-network path;
流量分配模块,用于对于每种类型的所述子流量,将该种类型的子流量分配到对应的目标子网络路径中传输。The traffic distribution module is used to distribute each type of sub-traffic to the corresponding target sub-network path for transmission.
在一种可选的实现方式中,每个所述APN支持的网络路径上部署有网关控制节点,多类型流量管理的装置500还包括:In an optional implementation manner, a gateway control node is deployed on each network path supported by the APN, and the multi-type traffic management device 500 further includes:
网关控制模块,用于对于每个所述APN,通过该ANP支持的网络路径上的网关控制节点,控制该APN的服务的启用或禁用。The gateway control module is used to control the enabling or disabling of the service of each APN through a gateway control node on a network path supported by the ANP.
在一种可选的实现方式中,多类型流量管理的装置500还包括配置信息表生成模块,包括:In an optional implementation, the apparatus 500 for multi-type traffic management further includes a configuration information table generating module, including:
参数确定单元,用于根据每种类型流量的特征,确定该种类型的流量对应的APN参数;所述APN参数包括APN标识和APN支持的网络路径;A parameter determination unit, configured to determine the APN parameters corresponding to each type of traffic according to the characteristics of the type of traffic; the APN parameters include an APN identifier and a network path supported by the APN;
模板获取单元,用于获取配置信息表模板;所述配置信息表模板包括流量类型字段和APN参数字段;A template acquisition unit, used to acquire a configuration information table template; the configuration information table template includes a traffic type field and an APN parameter field;
配置信息表生成单元,用于基于所述每种类型的流量、所述每种类型的流量对应的APN参数和所述配置信息表模板,生成所述预设的配置信息表。The configuration information table generating unit is used to generate the preset configuration information table based on each type of traffic, the APN parameters corresponding to each type of traffic and the configuration information table template.
在一种可选的实现方式中,多类型流量管理的装置500还包括:In an optional implementation, the apparatus 500 for managing multiple types of traffic further includes:
优先权分配模块,用于为所述第一类型的流量分配第一优先级,且为所述第二类型的流量分配第二优先级;所述第一优先级相对于所述第二优先级具有更高的流量传输的优先权。The priority allocation module is used to allocate a first priority to the first type of traffic and a second priority to the second type of traffic; the first priority has a higher priority for traffic transmission than the second priority.
在一种可选的实现方式中,多类型流量管理的装置500还包括:In an optional implementation, the apparatus 500 for managing multiple types of traffic further includes:
自优先权分配模块,用于为每种类型的所述子流量配置不同的子优先级;每种所述子优先级的流量传输的优先权不同。The self-priority allocation module is used to configure different sub-priorities for each type of sub-flow; the priority of flow transmission of each sub-priority is different.
在一种可选的实现方式中,网关控制模块还包括显示单元,用于对于每个所述APN,若确定该APN支持的网络路径在预设的时间段内已经传输的流量大于或等于预设的流量阈值,则在所述流量管理方案对应的显示界面上显示流量超额使用的提示信息。In an optional implementation, the gateway control module also includes a display unit, which is used to display a prompt message of excessive traffic usage on the display interface corresponding to the traffic management scheme for each of the APNs if it is determined that the traffic transmitted by the network path supported by the APN within a preset time period is greater than or equal to a preset traffic threshold.
基于前述实施例提供的多类型流量方法和装置,本申请提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面任一实现方式介绍的方法的步骤。Based on the multi-type traffic method and device provided in the aforementioned embodiments, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method introduced in any implementation manner of the first aspect.
基于前述实施例提供的多类型流量方法和装置,本申请还提供了一种电子设备,包括:Based on the multi-type traffic method and device provided in the above embodiments, the present application further provides an electronic device, including:
存储器,其上存储有计算机程序;a memory having a computer program stored thereon;
处理器,用于执行所述存储器中的所述计算机程序,以实现前述实施例提供的多类型流量管理的方法中的部分或全部步骤。The processor is used to execute the computer program in the memory to implement part or all of the steps in the method for multi-type traffic management provided in the above embodiment.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元提示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, in which the unit described as a separate component may or may not be physically separated, and the component prompted as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
以上所述,仅为本申请的一种具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410811879.1A CN118590447A (en) | 2024-06-21 | 2024-06-21 | A method, device and storage medium for multi-type traffic management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410811879.1A CN118590447A (en) | 2024-06-21 | 2024-06-21 | A method, device and storage medium for multi-type traffic management |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118590447A true CN118590447A (en) | 2024-09-03 |
Family
ID=92524247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410811879.1A Pending CN118590447A (en) | 2024-06-21 | 2024-06-21 | A method, device and storage medium for multi-type traffic management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118590447A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119485260A (en) * | 2024-12-27 | 2025-02-18 | 小米汽车科技有限公司 | Traffic card binding method, device, equipment, medium and program product |
-
2024
- 2024-06-21 CN CN202410811879.1A patent/CN118590447A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119485260A (en) * | 2024-12-27 | 2025-02-18 | 小米汽车科技有限公司 | Traffic card binding method, device, equipment, medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110166409B (en) | Device access method, related platform and computer storage medium | |
CN109561141B (en) | CDN node selection method and equipment | |
US8806585B2 (en) | Application of dynamic profiles to the allocation and configuration of network resources | |
EP1588513B1 (en) | Mechanisms for policy based umts qos and ip qos management in mobile ip networks | |
US7191179B2 (en) | Distributed profile storage and management in a telecommunication network | |
WO2019056883A1 (en) | Network slice deployment method and related device | |
US20230027934A1 (en) | Virtualized Policy & Charging System | |
WO2017173941A9 (en) | Method, apparatus and system for processing quality of service (qos) policy | |
CN110730499A (en) | A kind of MEC information acquisition method and device | |
CN112437104A (en) | Method and device for managing service quality and communication system | |
CN106258015B (en) | Service distribution method and device | |
CN118590447A (en) | A method, device and storage medium for multi-type traffic management | |
CN103781043A (en) | Charging control method, device and system for roaming user data business | |
US20040127215A1 (en) | Delivery of network services | |
CN101795478A (en) | Method for data bypass, network side equipment and access gateway | |
WO2025007511A1 (en) | Method for allocating network slices, data processing method and system, and electronic device | |
CN114257464A (en) | Billing method, apparatus, communication device and readable storage medium | |
CN103945572A (en) | Method for processing new business and business server | |
WO2023116356A1 (en) | Information configuration method and apparatus, and related devices and storage medium | |
CN103493543A (en) | Method and device for controlling users access to system | |
JP2023002448A (en) | Apparatus, method and program for providing communication service for accessing IP network | |
CN110839219A (en) | Method for accessing terminal into cellular network and cellular network system | |
CN106899543B (en) | A content access control method and related equipment | |
CN105049446A (en) | Method and system for filtering URL (Uniform Resource Locator) | |
CN115250505B (en) | Communication method and system applied to communication network |
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 |