Movatterモバイル変換


[0]ホーム

URL:


CN110710275B - Terminal policy configuration method and terminal and network device - Google Patents

Terminal policy configuration method and terminal and network device
Download PDF

Info

Publication number
CN110710275B
CN110710275BCN201780091691.2ACN201780091691ACN110710275BCN 110710275 BCN110710275 BCN 110710275BCN 201780091691 ACN201780091691 ACN 201780091691ACN 110710275 BCN110710275 BCN 110710275B
Authority
CN
China
Prior art keywords
rule
parameter
identifier
terminal
parameters
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
Application number
CN201780091691.2A
Other languages
Chinese (zh)
Other versions
CN110710275A (en
Inventor
杨宁
刘建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN110710275ApublicationCriticalpatent/CN110710275A/en
Application grantedgrantedCritical
Publication of CN110710275BpublicationCriticalpatent/CN110710275B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention provides a configuration method of a terminal strategy, a terminal and network equipment. On one hand, in the embodiment of the present invention, by receiving at least one first rule identifier sent by a network device, a preconfigured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier is obtained according to the at least one first rule identifier; each first rule parameter comprises at least one of a wireless local area network selection rule parameter and a terminal routing selection rule parameter, and a rule identifier, namely a first rule identifier, is issued to the terminal through the network equipment, so that the terminal can flexibly adopt the rule parameter, namely the first rule parameter, which is pre-configured in the terminal according to the rule identifier, and the rule parameter which is fixedly adopted does not need to be pre-configured in the terminal, thereby improving the configuration flexibility of the terminal strategy.

Description

Translated fromChinese
终端策略的配置方法及终端、网络设备Terminal policy configuration method and terminal and network device

技术领域technical field

本发明涉及数据通信技术,尤其涉及终端策略的配置方法及终端、网络设备。The present invention relates to data communication technology, and in particular, to a terminal policy configuration method, a terminal, and a network device.

背景技术Background technique

在新无线(New Radio,NR)系统中,为了进行数据传输,终端需要选择网络连接和建立协议数据单元(Protocol Data Unit,PDU)会话。通常,可以在终端中预先配置固定采用的无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数,以及终端路由选择规则(User Equipment Route Selection Policy,URSP)参数,这样,终端则可以根据这些规则参数,选择网络连接和建立PDU会话。In a New Radio (New Radio, NR) system, in order to perform data transmission, a terminal needs to select a network connection and establish a Protocol Data Unit (Protocol Data Unit, PDU) session. Usually, the fixed wireless local area network selection rule (Wireless Local Area Network Selection Policy, WLANSP) parameter and the terminal route selection rule (User Equipment Route Selection Policy, URSP) parameter can be pre-configured in the terminal. These rule parameters, select network connections and establish PDU sessions.

然而,这种在终端中预先配置固定采用的规则参数的方法,配置灵活性较差。However, this method of preconfiguring the fixed rule parameters in the terminal has poor configuration flexibility.

发明内容SUMMARY OF THE INVENTION

本发明的多个方面提供终端策略的配置方法及终端、网络设备,用以提高终端策略的配置灵活性。Various aspects of the present invention provide a terminal policy configuration method, a terminal, and a network device, so as to improve the configuration flexibility of the terminal policy.

本发明的一方面,提供一种终端策略的配置方法,包括:An aspect of the present invention provides a method for configuring a terminal policy, including:

接收网络设备发送的至少一个第一规则标识;receiving at least one first rule identifier sent by the network device;

根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Obtain pre-configured first rule parameters corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier; each first rule parameter includes the wireless local area network selection At least one of rule parameters and terminal routing rule parameters.

本发明的另一方面,提供另一种终端策略的配置方法,包括:Another aspect of the present invention provides another method for configuring a terminal policy, including:

向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Sending at least one first rule identifier to the terminal, so that the terminal can obtain a preconfigured first rule corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier parameters; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal route selection rule parameter.

本发明的另一方面,提供另一种终端策略的配置方法,包括:Another aspect of the present invention provides another method for configuring a terminal policy, including:

接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Receive at least one second rule identifier sent by the network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier; each second rule parameter includes a wireless local area network selection rule parameter and at least one of the terminal routing rule parameters.

本发明的另一方面,提供另一种终端策略的配置方法,包括:Another aspect of the present invention provides another method for configuring a terminal policy, including:

向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Send at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; each second rule parameter includes a wireless local area network selection rule parameter and a terminal At least one of the routing rule parameters.

本发明的另一方面,提供一种终端,包括:Another aspect of the present invention provides a terminal, comprising:

接收单元,用于接收网络设备发送的至少一个第一规则标识;a receiving unit, configured to receive at least one first rule identifier sent by the network device;

获得单元,用于根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。an obtaining unit, configured to obtain, according to the at least one first rule identifier, a preconfigured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier; the each first rule parameter It includes at least one of wireless local area network selection rule parameters and terminal routing selection rule parameters.

本发明的另一方面,提供一种网络设备,包括:Another aspect of the present invention provides a network device, comprising:

发送单元,用于向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。The sending unit is configured to send at least one first rule identifier to the terminal, so that the terminal can obtain the preset corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier. Configured first rule parameters; each of the first rule parameters includes at least one of wireless local area network selection rule parameters and terminal routing selection rule parameters.

本发明的另一方面,提供一种终端,包括:Another aspect of the present invention provides a terminal, comprising:

接收单元,用于接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。A receiving unit, configured to receive at least one second rule identifier sent by a network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier; each second rule parameter includes wireless At least one of a local area network selection rule parameter and a terminal routing rule parameter.

本发明的另一方面,提供一种网络设备,包括:Another aspect of the present invention provides a network device, comprising:

发送单元,用于向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。A sending unit, configured to send at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; each second rule parameter includes a wireless local area network At least one of a selection rule parameter and a terminal routing rule parameter is selected.

由上述技术方案可知,一方面,本发明实施例通过接收网络设备发送的至少一个第一规则标识,进而根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。It can be seen from the above technical solutions that, on the one hand, in this embodiment of the present invention, each first rule identifier in the at least one first rule identifier is obtained by receiving at least one first rule identifier sent by a network device, and then according to the at least one first rule identifier. A preconfigured first rule parameter corresponding to a rule identifier; each first rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and the rule identifier is delivered to the terminal through a network device That is, the first rule identifier enables the terminal to flexibly adopt the rule parameter preconfigured in the terminal, that is, the first rule parameter according to the rule identifier, without preconfiguring the fixed rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy .

由上述技术方案可知,另一方面,本发明实施例通过向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。It can be known from the above technical solutions that, on the other hand, in this embodiment of the present invention, at least one first rule identifier is sent to the terminal, so that the terminal can obtain the at least one first rule identifier according to the at least one first rule identifier. Each first rule identifier corresponds to a preconfigured first rule parameter; each first rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and is downloaded to the terminal through a network device. It sends the rule identifier, that is, the first rule identifier, so that the terminal can flexibly use the rule parameter preconfigured in the terminal, that is, the first rule parameter, according to the rule identifier. Configuration flexibility.

由上述技术方案可知,另一方面,本发明实施例通过接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。It can be known from the above technical solutions that, on the other hand, in this embodiment of the present invention, at least one second rule identifier sent by a network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier are received; Each of the second rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and the rule identifier, that is, the second rule identifier and the rule parameter corresponding to the rule identifier, are issued to the terminal through the network device. The second rule parameter enables the terminal to flexibly use the received rule parameter without pre-configuring the fixedly used rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy.

由上述技术方案可知,另一方面,本发明实施例通过向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。It can be known from the above technical solutions that, on the other hand, in this embodiment of the present invention, at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier are sent to the terminal; the Each second rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter. A rule identifier, that is, the second rule identifier, and a rule parameter corresponding to the rule identifier, that is, the second rule identifier, are delivered to the terminal through the network device. The rule parameter enables the terminal to flexibly adopt the received rule parameter, and it is not necessary to pre-configure the fixedly adopted rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are of the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明一实施例提供的一种终端策略的配置方法的流程示意图;1 is a schematic flowchart of a method for configuring a terminal policy according to an embodiment of the present invention;

图2为本发明另一实施例提供的另一种终端策略的配置方法的流程示意图;2 is a schematic flowchart of another method for configuring a terminal policy according to another embodiment of the present invention;

图3为本发明一实施例提供的另一种终端策略的配置方法的流程示意图;3 is a schematic flowchart of another method for configuring a terminal policy according to an embodiment of the present invention;

图4为本发明另一实施例提供的另一种终端策略的配置方法的流程示意图;4 is a schematic flowchart of another method for configuring a terminal policy according to another embodiment of the present invention;

图5为本发明另一实施例提供的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal according to another embodiment of the present invention;

图6为本发明另一实施例提供的一种网络设备的结构示意图;FIG. 6 is a schematic structural diagram of a network device according to another embodiment of the present invention;

图7A为本发明另一实施例提供的另一种终端的结构示意图;7A is a schematic structural diagram of another terminal provided by another embodiment of the present invention;

图7B为本发明另一实施例提供的另一种终端的结构示意图;FIG. 7B is a schematic structural diagram of another terminal provided by another embodiment of the present invention;

图8为本发明另一实施例提供的另一种网络设备的结构示意图。FIG. 8 is a schematic structural diagram of another network device according to another embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, There are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.

图1为本发明一实施例提供的一种终端策略的配置方法的流程示意图,如图1所示。FIG. 1 is a schematic flowchart of a method for configuring a terminal policy according to an embodiment of the present invention, as shown in FIG. 1 .

101、接收网络设备发送的至少一个第一规则标识。101. Receive at least one first rule identifier sent by a network device.

其中,所述至少一个第一规则标识,用于在指定公共陆地移动网络(Public LandMobile Network,PLMN)例如,一个或多个PLMN内唯一标识一组第一规则参数。Wherein, the at least one first rule identifier is used to uniquely identify a set of first rule parameters in a designated public land mobile network (Public Land Mobile Network, PLMN), for example, one or more PLMNs.

102、根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。102. Obtain, according to the at least one first rule identifier, a preconfigured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier; the each first rule parameter includes a wireless local area network at least one of a network selection rule parameter and a terminal routing rule parameter.

在获得这些第一规则参数之后,终端则可以在相应的时刻,在这些第一规则参数中进行规则匹配处理,使用所匹配到的第一规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these first rule parameters, the terminal can perform rule matching processing in these first rule parameters at a corresponding moment, and use the matched first rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

需要说明的是,101~103的执行主体可以为终端。It should be noted that the execution subjects of 101 to 103 may be terminals.

本实施例的主要思想就是,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。The main idea of this embodiment is to issue a rule identifier, that is, a first rule identifier, to the terminal through a network device, so that the terminal can flexibly use the rule parameter preconfigured in the terminal, that is, the first rule parameter, according to the rule identifier, without requiring Pre-configured rule parameters for fixed adoption improve the flexibility of terminal policy configuration.

这样,通过接收网络设备发送的至少一个第一规则标识,进而根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this way, by receiving at least one first rule identifier sent by the network device, and then obtaining a preconfigured first rule identifier corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier Rule parameters; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and a rule identifier, that is, a first rule identifier, is issued to the terminal through the network device, so that the terminal can be based on the rule. The identifier flexibly adopts the rule parameter preconfigured in the terminal, that is, the first rule parameter, and does not need to preconfigure the rule parameter fixedly used in the terminal, thereby improving the configuration flexibility of the terminal policy.

可选地,在本实施例的一个可能的实现方式中,在101中,具体可以接收网络设备通过高层信令、系统广播或下行控制信息(Downlink Control Information,DCI),发送的至少一个第一规则标识。Optionally, in a possible implementation manner of this embodiment, in 101, specifically, at least one first first sent by the network device through high-layer signaling, system broadcast or downlink control information (Downlink Control Information, DCI) may be received. Rule ID.

具体来说,终端具体可以接收网络设备通过高层信令、系统广播或DCI,所发送的至少一个第一规则标识。Specifically, the terminal may specifically receive at least one first rule identifier sent by the network device through high-layer signaling, system broadcast, or DCI.

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第一规则标识,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRCCONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第一规则标识,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a Radio Resource Control (Radio Resource Control, RRC) message, and specifically, the at least one first rule identifier may be carried by an Information Element (Information Element, IE) in the RRC message, and the RRC The message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRCCONNECTION RECONFIGURATION) message, etc., which is not limited in this embodiment, and the IE of the existing RRC message is extended to carry the at least one first A rule identifier, or the RRC message may be different from the existing RRC message in the prior art.

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第一规则标识。For another example, the high-layer signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one first rule identifier.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第一规则标识,或者还可以增加新的SIB携带所述至少一个第一规则标识。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one first rule identifier, or A new SIB may also be added to carry the at least one first rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each first rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数中还可以进一步包括第一优先级参数(Priority),用以指示第一规则参数的使用优先级。那么,所述每个第一规则参数的使用由所述第一优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the first rule parameters may further include a first priority parameter (Priority) to indicate a use priority of the first rule parameter. Then, the use of each of the first rule parameters is determined by the first priority parameter.

在一个具体的实现过程中,若终端匹配到多个第一规则参数,终端则可以根据每个第一规则参数中所包括的第一优先级参数,优先使用第一优先级参数所指示的优先级最高的第一规则参数。In a specific implementation process, if the terminal matches multiple first rule parameters, the terminal can preferentially use the priority indicated by the first priority parameter according to the first priority parameter included in each first rule parameter. The highest-level first rule parameter.

在另一个具体的实现过程中,在最高的第一优先级参数存在大于一个的情况之下,具体还可以通过第一规则标识,来指示第一规则参数的使用优先级。那么,若所述第一优先级参数相同,所述每个第一规则参数的使用则可以由该第一规则参数所对应的第一规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest first priority, the use priority of the first rule parameter may also be specifically indicated by the first rule identifier. Then, if the first priority parameters are the same, the use of each first rule parameter may be determined by the first rule identifier corresponding to the first rule parameter.

例如,在最高的第一优先级参数存在大于一个的情况之下,终端则可以根据每个第一规则参数所对应的第一规则标识,优先使用第一规则标识满足预设优先原则如最大取值或最小取值等的第一规则参数。For example, in the case where there is more than one parameter with the highest first priority, the terminal can preferentially use the first rule identifier according to the first rule identifier corresponding to each first rule parameter to satisfy the preset priority principle, such as the maximum value. The first rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,还可以进一步接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Optionally, in a possible implementation manner of this embodiment, at least one second rule identifier sent by the network device and corresponding to each second rule identifier in the at least one second rule identifier may be further received. The second rule parameter of .

其中,所述至少一个第二规则标识,用于针对不同终端唯一标识一组第二规则参数。该第二规则标识可以在同一个PLMN内重复使用,但对于终端来说需要是唯一的。The at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals. The second rule identifier can be reused within the same PLMN, but needs to be unique to the terminal.

在获得这些第二规则参数之后,终端则可以在相应的时刻,在这些第二规则参数中进行规则匹配处理,使用所匹配到的第二规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these second rule parameters, the terminal can perform rule matching processing in these second rule parameters at a corresponding moment, and use the matched second rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

需要说明的是,本实施例中“接收网络设备发送的至少一个第一规则标识”与“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”的执行,并没有固定的执行顺序,可以先执行“接收网络设备发送的至少一个第一规则标识”,再执行“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,或者,还可以先执行“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,再执行“接收网络设备发送的至少一个第一规则标识”,或者也可以执行“接收网络设备发送的至少一个第一规则标识”的同时执行“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,本实施例对此不进行特别限定。It should be noted that in this embodiment, "receive at least one first rule identifier sent by the network device" and "receive at least one second rule identifier sent by the network device and the at least one second rule identifier" each There is no fixed execution order for the execution of the second rule parameter corresponding to the second rule identifier. The second rule identifier and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier. The second rule parameter corresponding to each second rule identifier in the at least one second rule identifier”, and then execute “receive at least one first rule identifier sent by the network device”, or execute “receive the first rule identifier sent by the network device”. At least one first rule identifier" while executing "receive at least one second rule identifier sent by the network device and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier", this Examples are not particularly limited thereto.

具体来说,网络设备可以根据当前网络的拥塞情况和发送信元长度限制,决定发送哪些第一规则标识,以及哪些第二规则标识及其所对应的第二规则参数,本实施例对此不进行特别限定。Specifically, the network device can decide which first rule identifiers to send, which second rule identifiers and their corresponding second rule parameters according to the current network congestion situation and the limit on the length of sent cells. This embodiment does not Make special restrictions.

可选地,在本实施例的一个可能的实现方式中,具体可以接收网络设备通过高层信令、系统广播或下行控制信息(Downlink Control Information,DCI),发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Optionally, in a possible implementation manner of this embodiment, the at least one second rule identifier and all the second rule identifiers sent by the network device through high-level signaling, system broadcast or downlink control information (Downlink Control Information, DCI) may be specifically received. The second rule parameter corresponding to each second rule identifier in the at least one second rule identifier.

具体来说,终端具体可以接收网络设备通过高层信令、系统广播或DCI,所发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Specifically, the terminal can specifically receive at least one second rule identifier and a second rule identifier corresponding to each second rule identifier in the at least one second rule identifier sent by the network device through high-level signaling, system broadcast or DCI. Rule parameters.

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRC CONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a radio physical resource control (Radio Resource Control, RRC) message, and specifically, an information element (Information Element, IE) in the RRC message may carry the at least one second rule identifier and the each The second rule parameter corresponding to the second rule identifier, the RRC message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRC CONNECTION RECONFIGURATION) message, which is not limited in this embodiment. The at least one second rule identifier and the second rule parameter corresponding to each second rule identifier are carried by extending the IE of the existing RRC message, or the RRC message may also be different from the prior art The existing RRC messages in .

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, the high-level signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one second rule identifier and the Each of the second rule identifiers corresponds to a corresponding second rule parameter.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者还可以增加新的SIB携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one second rule identifier and all The second rule parameter corresponding to each second rule identifier, or a new SIB may be added to carry the at least one second rule identifier and the second rule parameter corresponding to each second rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each second rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数中还可以进一步包括第二优先级参数(Priority),用以指示第二规则参数的使用优先级。那么,所述每个第二规则参数的使用由所述第二优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the second rule parameters may further include a second priority parameter (Priority) to indicate a use priority of the second rule parameter. The use of each of the second rule parameters is then determined by the second priority parameter.

在一个具体的实现过程中,若终端匹配到多个第二规则参数,终端则可以根据每个第二规则参数中所包括的第二优先级参数,优先使用第二优先级参数所指示的优先级最高的第二规则参数。In a specific implementation process, if the terminal matches multiple second rule parameters, the terminal can preferentially use the priority indicated by the second priority parameter according to the second priority parameter included in each second rule parameter. The highest-level second rule parameter.

在另一个具体的实现过程中,在最高的第二优先级参数存在大于一个的情况之下,具体还可以通过第二规则标识,来指示第二规则参数的使用优先级。那么,若所述第二优先级参数相同,所述每个第二规则参数的使用则可以由该第二规则参数所对应的第二规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest second priority, the use priority of the second rule parameter may also be specifically indicated by the second rule identifier. Then, if the second priority parameters are the same, the use of each second rule parameter may be determined by the second rule identifier corresponding to the second rule parameter.

例如,在最高的第二优先级参数存在大于一个的情况之下,终端则可以根据每个第二规则参数所对应的第二规则标识,优先使用第二规则标识满足预设优先原则如最大取值或最小取值等的第二规则参数。For example, in the case where there is more than one parameter with the highest second priority, the terminal may preferentially use the second rule identifier according to the second rule identifier corresponding to each second rule parameter to satisfy the preset priority principle, such as the maximum value. The second rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

具体来说,若终端匹配到了第一规则参数与第二规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。Specifically, if the terminal matches two types of parameters, the first rule parameter and the second rule parameter, since the use priority of the first rule parameter is greater than the use priority of the second rule parameter, the terminal can The first rule parameter is used first.

可选地,在本实施例的一个可能的实现方式中,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以获得预先配置的至少一个第三规则参数。Optionally, in a possible implementation of this embodiment, if the at least one first rule identifier is not received, and the at least one second rule identifier and the at least one second rule identifier are not received The second rule parameter corresponding to each second rule identifier in the above can be obtained, then at least one preconfigured third rule parameter can be obtained.

在获得这些第三规则参数之后,终端则可以在相应的时刻,在这些第三规则参数中进行规则匹配处理,使用所匹配到的第三规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these third rule parameters, the terminal can perform rule matching processing in these third rule parameters at a corresponding moment, and use the matched third rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each third rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数中还可以进一步包括第三优先级参数(Priority),用以指示第三规则参数的使用优先级。那么,所述每个第三规则参数的使用由所述第三优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the third rule parameters may further include a third priority parameter (Priority) to indicate a use priority of the third rule parameter. The use of each third rule parameter is then determined by the third priority parameter.

在一个具体的实现过程中,若终端匹配到多个第三规则参数,终端则可以根据每个第三规则参数中所包括的第三优先级参数,优先使用第三优先级参数所指示的优先级最高的第三规则参数。In a specific implementation process, if the terminal matches multiple third rule parameters, the terminal can preferentially use the priority indicated by the third priority parameter according to the third priority parameter included in each third rule parameter. The highest third rule parameter.

在另一个具体的实现过程中,在最高的第三优先级参数存在大于一个的情况之下,具体还可以通过第三规则标识,来指示第三规则参数的使用优先级。那么,若所述第三优先级参数相同,所述每个第三规则参数的使用则可以由该第三规则参数所对应的第三规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest third priority, the use priority of the third rule parameter may also be specifically indicated by the third rule identifier. Then, if the third priority parameters are the same, the use of each third rule parameter may be determined by the third rule identifier corresponding to the third rule parameter.

例如,在最高的第三优先级参数存在大于一个的情况之下,终端则可以根据每个第三规则参数所对应的第三规则标识,优先使用第三规则标识满足预设优先原则如最大取值或最小取值等的第三规则参数。For example, in the case where there is more than one parameter with the highest third priority, the terminal can preferentially use the third rule identifier according to the third rule identifier corresponding to each third rule parameter to satisfy the preset priority principle, such as the maximum value. The third rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the second rule parameter is greater than the use priority of the third rule parameter.

具体来说,若终端匹配到了第二规则参数与第三规则参数这两种类型的参数,由于第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第二规则参数。Specifically, if the terminal matches two types of parameters, the second rule parameter and the third rule parameter, since the use priority of the second rule parameter is greater than the use priority of the third rule parameter, the terminal can The second rule parameter is used first.

若终端匹配到了第一规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters, the first rule parameter and the third rule parameter, because the use priority of the first rule parameter is greater than the use priority of the second rule parameter, and the use priority of the second rule parameter is greater than the use priority of the third rule parameter, then the terminal can preferentially use the first rule parameter.

若终端匹配到了第一规则参数、第二规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters: the first rule parameter, the second rule parameter and the third rule parameter, because the use priority of the first rule parameter is higher than the use priority of the second rule parameter, and the second rule parameter If the use priority of the parameter is greater than the use priority of the third rule parameter, the terminal can preferentially use the first rule parameter.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过接收网络设备发送的至少一个第一规则标识,进而根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, by receiving at least one first rule identifier sent by a network device, and then according to the at least one first rule identifier, a pre-configured pre-configured corresponding to each first rule identifier in the at least one first rule identifier is obtained The first rule parameter of The rule parameter preconfigured in the terminal, that is, the first rule parameter, can be flexibly used according to the rule identifier, and it is not necessary to preconfigure the fixed rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

图2为本发明另一实施例提供的另一种终端策略的配置方法的流程示意图,如图2所示。FIG. 2 is a schematic flowchart of another method for configuring a terminal policy according to another embodiment of the present invention, as shown in FIG. 2 .

201、向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。201. Send at least one first rule identifier to a terminal, so that the terminal can obtain a preconfigured first rule identifier corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier. a rule parameter; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

终端在获得这些第一规则参数之后,则可以在相应的时刻,在这些第一规则参数中进行规则匹配处理,使用所匹配到的第一规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these first rule parameters, the terminal can perform rule matching processing in these first rule parameters at a corresponding moment, and use the matched first rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

需要说明的是,201的执行主体可以为网络设备。It should be noted that the executive body of 201 may be a network device.

本实施例的主要思想就是,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。The main idea of this embodiment is to issue a rule identifier, that is, a first rule identifier, to the terminal through a network device, so that the terminal can flexibly use the rule parameter preconfigured in the terminal, that is, the first rule parameter, according to the rule identifier, without requiring Pre-configured rule parameters for fixed adoption improve the flexibility of terminal policy configuration.

这样,通过向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this way, by sending at least one first rule identifier to the terminal, the terminal can obtain the preconfigured preconfigured corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier. The first rule parameter; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and a rule identifier, that is, a first rule identifier, is issued to the terminal through the network device, so that the terminal can The rule parameter preconfigured in the terminal, that is, the first rule parameter, is flexibly used according to the rule identifier, and the fixed rule parameter does not need to be preconfigured in the terminal, thereby improving the configuration flexibility of the terminal policy.

可选地,在本实施例的一个可能的实现方式中,具体可以通过高层信令、系统广播或下行控制信息(Downlink Control Information,DCI),向终端发送至少一个第一规则标识。Optionally, in a possible implementation manner of this embodiment, at least one first rule identifier may be sent to the terminal specifically through high-level signaling, system broadcast, or downlink control information (Downlink Control Information, DCI).

具体来说,网络设备具体可以通过高层信令、系统广播或DCI,向终端发送至少一个第一规则标识。Specifically, the network device may specifically send at least one first rule identifier to the terminal through high-level signaling, system broadcast or DCI.

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第一规则标识,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRCCONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第一规则标识,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a Radio Resource Control (Radio Resource Control, RRC) message, and specifically, the at least one first rule identifier may be carried by an Information Element (Information Element, IE) in the RRC message, and the RRC The message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRCCONNECTION RECONFIGURATION) message, etc., which is not limited in this embodiment, and the IE of the existing RRC message is extended to carry the at least one first A rule identifier, or the RRC message may be different from the existing RRC message in the prior art.

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第一规则标识。For another example, the high-layer signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one first rule identifier.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第一规则标识,或者还可以增加新的SIB携带所述至少一个第一规则标识。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one first rule identifier, or A new SIB may also be added to carry the at least one first rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each first rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数中还可以进一步包括第一优先级参数(Priority),用以指示第一规则参数的使用优先级。那么,所述每个第一规则参数的使用由所述第一优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the first rule parameters may further include a first priority parameter (Priority) to indicate a use priority of the first rule parameter. Then, the use of each of the first rule parameters is determined by the first priority parameter.

在一个具体的实现过程中,若终端匹配到多个第一规则参数,终端则可以根据每个第一规则参数中所包括的第一优先级参数,优先使用第一优先级参数所指示的优先级最高的第一规则参数。In a specific implementation process, if the terminal matches multiple first rule parameters, the terminal can preferentially use the priority indicated by the first priority parameter according to the first priority parameter included in each first rule parameter. The highest-level first rule parameter.

在另一个具体的实现过程中,在最高的第一优先级参数存在大于一个的情况之下,具体还可以通过第一规则标识,来指示第一规则参数的使用优先级。那么,若所述第一优先级参数相同,所述每个第一规则参数的使用则可以由该第一规则参数所对应的第一规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest first priority, the use priority of the first rule parameter may also be specifically indicated by the first rule identifier. Then, if the first priority parameters are the same, the use of each first rule parameter may be determined by the first rule identifier corresponding to the first rule parameter.

例如,在最高的第一优先级参数存在大于一个的情况之下,终端则可以根据每个第一规则参数所对应的第一规则标识,优先使用第一规则标识满足预设优先原则如最大取值或最小取值等的第一规则参数。For example, in the case where there is more than one parameter with the highest first priority, the terminal can preferentially use the first rule identifier according to the first rule identifier corresponding to each first rule parameter to satisfy the preset priority principle, such as the maximum value. The first rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,还可以进一步向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Optionally, in a possible implementation manner of this embodiment, at least one second rule identifier and the second rule identifier corresponding to each second rule identifier in the at least one second rule identifier may be further sent to the terminal. Two rule parameters.

其中,所述至少一个第二规则标识,用于针对不同终端唯一标识一组第二规则参数。该第二规则标识可以在同一个PLMN内重复使用,但对于终端来说需要是唯一的。The at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals. The second rule identifier can be reused within the same PLMN, but needs to be unique to the terminal.

在获得这些第二规则参数之后,终端则可以在相应的时刻,在这些第二规则参数中进行规则匹配处理,使用所匹配到的第二规则参数,选择网络连接和/或建立PDU会话。After obtaining these second rule parameters, the terminal can perform rule matching processing in these second rule parameters at a corresponding moment, and use the matched second rule parameters to select a network connection and/or establish a PDU session.

需要说明的是,本实施例中“向终端发送至少一个第一规则标识”与“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”的执行,并没有固定的执行顺序,可以先执行“向终端发送至少一个第一规则标识”,再执行“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,或者,还可以先执行“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,再执行“向终端发送至少一个第一规则标识”,或者也可以执行“向终端发送至少一个第一规则标识”的同时执行“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,本实施例对此不进行特别限定。It should be noted that in this embodiment, "send at least one first rule identifier to the terminal" and "send at least one second rule identifier to the terminal and each second rule identifier in the at least one second rule identifier There is no fixed execution order for the execution of the corresponding second rule parameter. A second rule parameter corresponding to each second rule identifier in one second rule identifier", or, it is also possible to first execute "send at least one second rule identifier and each of the at least one second rule identifier to the terminal. the second rule parameter corresponding to the second rule identifier", and then execute "send at least one first rule identifier to the terminal", or execute "send at least one first rule identifier to the terminal" at the same time as "send at least one first rule identifier to the terminal" The terminal sends at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier", which is not particularly limited in this embodiment.

具体来说,网络设备可以根据当前网络的拥塞情况和发送信元长度限制,决定发送哪些第一规则标识,以及哪些第二规则标识及其所对应的第二规则参数,本实施例对此不进行特别限定。Specifically, the network device can decide which first rule identifiers to send, which second rule identifiers and their corresponding second rule parameters according to the current network congestion situation and the limit on the length of sent cells. This embodiment does not Make special restrictions.

在该实现方式中,具体可以通过高层信令、系统广播或下行控制信息(DownlinkControl Information,DCI),向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。In this implementation manner, at least one second rule identifier and each second rule in the at least one second rule identifier may be sent to the terminal through high-level signaling, system broadcast, or downlink control information (Downlink Control Information, DCI). Identifies the corresponding second rule parameter.

具体来说,网络设备具体可以通过高层信令、系统广播或DCI,向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Specifically, the network device may send at least one second rule identifier and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal through high-level signaling, system broadcast or DCI. .

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRC CONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a radio physical resource control (Radio Resource Control, RRC) message, and specifically, an information element (Information Element, IE) in the RRC message may carry the at least one second rule identifier and the each The second rule parameter corresponding to the second rule identifier, the RRC message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRC CONNECTION RECONFIGURATION) message, which is not limited in this embodiment. The at least one second rule identifier and the second rule parameter corresponding to each second rule identifier are carried by extending the IE of the existing RRC message, or the RRC message may also be different from the prior art The existing RRC messages in .

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, the high-level signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one second rule identifier and the Each of the second rule identifiers corresponds to a corresponding second rule parameter.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者还可以增加新的SIB携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one second rule identifier and all The second rule parameter corresponding to each second rule identifier, or a new SIB may be added to carry the at least one second rule identifier and the second rule parameter corresponding to each second rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each second rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数中还可以进一步包括第二优先级参数(Priority),用以指示第二规则参数的使用优先级。那么,所述每个第二规则参数的使用由所述第二优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the second rule parameters may further include a second priority parameter (Priority) to indicate a use priority of the second rule parameter. The use of each of the second rule parameters is then determined by the second priority parameter.

在一个具体的实现过程中,若终端匹配到多个第二规则参数,终端则可以根据每个第二规则参数中所包括的第二优先级参数,优先使用第二优先级参数所指示的优先级最高的第二规则参数。In a specific implementation process, if the terminal matches multiple second rule parameters, the terminal can preferentially use the priority indicated by the second priority parameter according to the second priority parameter included in each second rule parameter. The highest-level second rule parameter.

在另一个具体的实现过程中,在最高的第二优先级参数存在大于一个的情况之下,具体还可以通过第二规则标识,来指示第二规则参数的使用优先级。那么,若所述第二优先级参数相同,所述每个第二规则参数的使用则可以由该第二规则参数所对应的第二规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest second priority, the use priority of the second rule parameter may also be specifically indicated by the second rule identifier. Then, if the second priority parameters are the same, the use of each second rule parameter may be determined by the second rule identifier corresponding to the second rule parameter.

例如,在最高的第二优先级参数存在大于一个的情况之下,终端则可以根据每个第二规则参数所对应的第二规则标识,优先使用第二规则标识满足预设优先原则如最大取值或最小取值等的第二规则参数。For example, in the case where there is more than one parameter with the highest second priority, the terminal may preferentially use the second rule identifier according to the second rule identifier corresponding to each second rule parameter to satisfy the preset priority principle, such as the maximum value. The second rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

具体来说,若终端匹配到了第一规则参数与第二规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。Specifically, if the terminal matches two types of parameters, the first rule parameter and the second rule parameter, since the use priority of the first rule parameter is greater than the use priority of the second rule parameter, the terminal can The first rule parameter is used first.

可选地,在本实施例的一个可能的实现方式中,若终端没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,终端则可以获得预先配置的至少一个第三规则参数。Optionally, in a possible implementation of this embodiment, if the terminal does not receive the at least one first rule identifier, and does not receive the at least one second rule identifier and the at least one second rule identifier Each second rule identifier in the identifier corresponds to the second rule parameter, and the terminal can obtain at least one preconfigured third rule parameter.

在获得这些第三规则参数之后,终端则可以在相应的时刻,在这些第三规则参数中进行规则匹配处理,使用所匹配到的第三规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these third rule parameters, the terminal can perform rule matching processing in these third rule parameters at a corresponding moment, and use the matched third rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each third rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数中还可以进一步包括第三优先级参数(Priority),用以指示第三规则参数的使用优先级。那么,所述每个第三规则参数的使用由所述第三优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the third rule parameters may further include a third priority parameter (Priority) to indicate a use priority of the third rule parameter. The use of each third rule parameter is then determined by the third priority parameter.

在一个具体的实现过程中,若终端匹配到多个第三规则参数,终端则可以根据每个第三规则参数中所包括的第三优先级参数,优先使用第三优先级参数所指示的优先级最高的第三规则参数。In a specific implementation process, if the terminal matches multiple third rule parameters, the terminal can preferentially use the priority indicated by the third priority parameter according to the third priority parameter included in each third rule parameter. The highest third rule parameter.

在另一个具体的实现过程中,在最高的第三优先级参数存在大于一个的情况之下,具体还可以通过第三规则标识,来指示第三规则参数的使用优先级。那么,若所述第三优先级参数相同,所述每个第三规则参数的使用则可以由该第三规则参数所对应的第三规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest third priority, the use priority of the third rule parameter may also be specifically indicated by the third rule identifier. Then, if the third priority parameters are the same, the use of each third rule parameter may be determined by the third rule identifier corresponding to the third rule parameter.

例如,在最高的第三优先级参数存在大于一个的情况之下,终端则可以根据每个第三规则参数所对应的第三规则标识,优先使用第三规则标识满足预设优先原则如最大取值或最小取值等的第三规则参数。For example, in the case where there is more than one parameter with the highest third priority, the terminal can preferentially use the third rule identifier according to the third rule identifier corresponding to each third rule parameter to satisfy the preset priority principle, such as the maximum value. The third rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the second rule parameter is greater than the use priority of the third rule parameter.

具体来说,若终端匹配到了第二规则参数与第三规则参数这两种类型的参数,由于第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第二规则参数。Specifically, if the terminal matches two types of parameters, the second rule parameter and the third rule parameter, since the use priority of the second rule parameter is greater than the use priority of the third rule parameter, the terminal can The second rule parameter is used first.

若终端匹配到了第一规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters, the first rule parameter and the third rule parameter, because the use priority of the first rule parameter is greater than the use priority of the second rule parameter, and the use priority of the second rule parameter is greater than the use priority of the third rule parameter, then the terminal can preferentially use the first rule parameter.

若终端匹配到了第一规则参数、第二规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters: the first rule parameter, the second rule parameter and the third rule parameter, because the use priority of the first rule parameter is higher than the use priority of the second rule parameter, and the second rule parameter If the use priority of the parameter is greater than the use priority of the third rule parameter, the terminal can preferentially use the first rule parameter.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one first rule identifier is sent to the terminal, so that the terminal can obtain, according to the at least one first rule identifier, the corresponding one of each first rule identifier in the at least one first rule identifier. Preconfigured first rule parameters; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and a rule identifier, that is, a first rule identifier, is issued to the terminal through the network device, This enables the terminal to flexibly adopt the preconfigured rule parameter in the terminal, that is, the first rule parameter according to the rule identifier, and does not need to preconfigure the fixedly adopted rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one preconfigured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

图3为本发明另一实施例提供的另一种终端策略的配置方法的流程示意图,如图3所示。FIG. 3 is a schematic flowchart of another method for configuring a terminal policy according to another embodiment of the present invention, as shown in FIG. 3 .

301、接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。301. Receive at least one second rule identifier sent by a network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier; each second rule parameter includes a wireless local area network selection At least one of rule parameters and terminal routing rule parameters.

其中,所述至少一个第二规则标识,用于针对不同终端唯一标识一组第二规则参数。该第二规则标识可以在同一个公共陆地移动网络(Public Land Mobile Network,PLMN)内重复使用,但对于终端来说需要是唯一的。The at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals. The second rule identifier can be reused in the same public land mobile network (Public Land Mobile Network, PLMN), but needs to be unique to the terminal.

在获得这些第二规则参数之后,终端则可以在相应的时刻,在这些第二规则参数中进行规则匹配处理,使用所匹配到的第二规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these second rule parameters, the terminal can perform rule matching processing in these second rule parameters at a corresponding moment, and use the matched second rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

需要说明的是,301的执行主体可以为终端。It should be noted that the execution subject of 301 may be a terminal.

本实施例的主要思想就是,通过网络设备向终端下发规则标识即第二规则标识和该规则标识所对应的规则参数即第二规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。The main idea of this embodiment is to deliver the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, to the terminal through the network device. Improves the configuration flexibility of terminal policies.

这样,通过接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this way, by receiving at least one second rule identifier sent by the network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier; each second rule parameter includes the wireless local area network Selecting at least one of the rule parameter and the terminal routing rule parameter, and issuing the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, to the terminal through the network device, so that the terminal can flexibly use the received The obtained rule parameters do not need to be pre-configured in the terminal to use the fixed rule parameters, thereby improving the configuration flexibility of the terminal policy.

可选地,在本实施例的一个可能的实现方式中,在301中,具体可以接收网络设备通过高层信令、系统广播或下行控制信息(Downlink Control Information,DCI),发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Optionally, in a possible implementation manner of this embodiment, in 301, specifically, at least one second data sent by the network device through high-layer signaling, system broadcast, or downlink control information (Downlink Control Information, DCI) may be received. The rule identifier and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier.

具体来说,终端具体可以接收网络设备通过高层信令、系统广播或DCI,所发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Specifically, the terminal can specifically receive at least one second rule identifier and a second rule identifier corresponding to each second rule identifier in the at least one second rule identifier sent by the network device through high-level signaling, system broadcast or DCI. Rule parameters.

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRC CONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a radio physical resource control (Radio Resource Control, RRC) message, and specifically, an information element (Information Element, IE) in the RRC message may carry the at least one second rule identifier and the each The second rule parameter corresponding to the second rule identifier, the RRC message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRC CONNECTION RECONFIGURATION) message, which is not limited in this embodiment. The at least one second rule identifier and the second rule parameter corresponding to each second rule identifier are carried by extending the IE of the existing RRC message, or the RRC message may also be different from the prior art The existing RRC messages in .

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, the high-level signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one second rule identifier and the Each of the second rule identifiers corresponds to a corresponding second rule parameter.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者还可以增加新的SIB携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one second rule identifier and all The second rule parameter corresponding to each second rule identifier, or a new SIB may be added to carry the at least one second rule identifier and the second rule parameter corresponding to each second rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each second rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数中还可以进一步包括第二优先级参数(Priority),用以指示第二规则参数的使用优先级。那么,所述每个第二规则参数的使用由所述第二优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the second rule parameters may further include a second priority parameter (Priority) to indicate a use priority of the second rule parameter. The use of each of the second rule parameters is then determined by the second priority parameter.

在一个具体的实现过程中,若终端匹配到多个第二规则参数,终端则可以根据每个第二规则参数中所包括的第二优先级参数,优先使用第二优先级参数所指示的优先级最高的第二规则参数。In a specific implementation process, if the terminal matches multiple second rule parameters, the terminal can preferentially use the priority indicated by the second priority parameter according to the second priority parameter included in each second rule parameter. The highest-level second rule parameter.

在另一个具体的实现过程中,在最高的第二优先级参数存在大于一个的情况之下,具体还可以通过第二规则标识,来指示第二规则参数的使用优先级。那么,若所述第二优先级参数相同,所述每个第二规则参数的使用则可以由该第二规则参数所对应的第二规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest second priority, the use priority of the second rule parameter may also be specifically indicated by the second rule identifier. Then, if the second priority parameters are the same, the use of each second rule parameter may be determined by the second rule identifier corresponding to the second rule parameter.

例如,在最高的第二优先级参数存在大于一个的情况之下,终端则可以根据每个第二规则参数所对应的第二规则标识,优先使用第二规则标识满足预设优先原则如最大取值或最小取值等的第二规则参数。For example, in the case where there is more than one parameter with the highest second priority, the terminal may preferentially use the second rule identifier according to the second rule identifier corresponding to each second rule parameter to satisfy the preset priority principle, such as the maximum value. The second rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,还可以进一步接收所述网络设备发送的至少一个第一规则标识,进而,则可以根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数。Optionally, in a possible implementation manner of this embodiment, at least one first rule identifier sent by the network device may be further received, and then the at least one first rule identifier may be obtained according to the at least one first rule identifier. A preconfigured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier.

其中,所述至少一个第一规则标识,用于在指定PLMN例如,一个或多个PLMN内唯一标识一组第一规则参数。Wherein, the at least one first rule identifier is used to uniquely identify a set of first rule parameters in a specified PLMN, for example, one or more PLMNs.

在获得这些第一规则参数之后,终端则可以在相应的时刻,在这些第一规则参数中进行规则匹配处理,使用所匹配到的第一规则参数,选择网络连接和/或建立PDU会话。After obtaining these first rule parameters, the terminal can perform rule matching processing in these first rule parameters at a corresponding moment, and use the matched first rule parameters to select a network connection and/or establish a PDU session.

需要说明的是,本实施例中“接收网络设备发送的至少一个第一规则标识”与“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”的执行,并没有固定的执行顺序,可以先执行“接收网络设备发送的至少一个第一规则标识”,再执行“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,或者,还可以先执行“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,再执行“接收网络设备发送的至少一个第一规则标识”,或者也可以执行“接收网络设备发送的至少一个第一规则标识”的同时执行“接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,本实施例对此不进行特别限定。It should be noted that in this embodiment, "receive at least one first rule identifier sent by the network device" and "receive at least one second rule identifier sent by the network device and the at least one second rule identifier" each There is no fixed execution order for the execution of the second rule parameter corresponding to the second rule identifier. The second rule identifier and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier. The second rule parameter corresponding to each second rule identifier in the at least one second rule identifier”, and then execute “receive at least one first rule identifier sent by the network device”, or execute “receive the first rule identifier sent by the network device”. At least one first rule identifier" while executing "receive at least one second rule identifier sent by the network device and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier", this Examples are not particularly limited thereto.

具体来说,网络设备可以根据当前网络的拥塞情况和发送信元长度限制,决定发送哪些第一规则标识,以及哪些第二规则标识及其所对应的第二规则参数,本实施例对此不进行特别限定。Specifically, the network device can decide which first rule identifiers to send, which second rule identifiers and their corresponding second rule parameters according to the current network congestion situation and the limit on the length of sent cells. This embodiment does not Make special restrictions.

在该实现方式中,具体可以接收网络设备通过高层信令、系统广播或下行控制信息(Downlink Control Information,DCI),发送的至少一个第一规则标识。In this implementation manner, at least one first rule identifier sent by the network device through high-level signaling, system broadcast, or downlink control information (Downlink Control Information, DCI) may be specifically received.

具体来说,终端具体可以接收网络设备通过高层信令、系统广播或DCI,所发送的至少一个第一规则标识。Specifically, the terminal may specifically receive at least one first rule identifier sent by the network device through high-layer signaling, system broadcast, or DCI.

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第一规则标识,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRCCONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第一规则标识,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a Radio Resource Control (Radio Resource Control, RRC) message, and specifically, the at least one first rule identifier may be carried by an Information Element (Information Element, IE) in the RRC message, and the RRC The message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRCCONNECTION RECONFIGURATION) message, etc., which is not limited in this embodiment, and the IE of the existing RRC message is extended to carry the at least one first A rule identifier, or the RRC message may be different from the existing RRC message in the prior art.

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第一规则标识。For another example, the high-layer signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one first rule identifier.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第一规则标识,或者还可以增加新的SIB携带所述至少一个第一规则标识。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one first rule identifier, or A new SIB may also be added to carry the at least one first rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each first rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数中还可以进一步包括第一优先级参数(Priority),用以指示第一规则参数的使用优先级。那么,所述每个第一规则参数的使用由所述第一优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the first rule parameters may further include a first priority parameter (Priority) to indicate a use priority of the first rule parameter. Then, the use of each of the first rule parameters is determined by the first priority parameter.

在一个具体的实现过程中,若终端匹配到多个第一规则参数,终端则可以根据每个第一规则参数中所包括的第一优先级参数,优先使用第一优先级参数所指示的优先级最高的第一规则参数。In a specific implementation process, if the terminal matches multiple first rule parameters, the terminal can preferentially use the priority indicated by the first priority parameter according to the first priority parameter included in each first rule parameter. The highest-level first rule parameter.

在另一个具体的实现过程中,在最高的第一优先级参数存在大于一个的情况之下,具体还可以通过第一规则标识,来指示第一规则参数的使用优先级。那么,若所述第一优先级参数相同,所述每个第一规则参数的使用则可以由该第一规则参数所对应的第一规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest first priority, the use priority of the first rule parameter may also be specifically indicated by the first rule identifier. Then, if the first priority parameters are the same, the use of each first rule parameter may be determined by the first rule identifier corresponding to the first rule parameter.

例如,在最高的第一优先级参数存在大于一个的情况之下,终端则可以根据每个第一规则参数所对应的第一规则标识,优先使用第一规则标识满足预设优先原则如最大取值或最小取值等的第一规则参数。For example, in the case where there is more than one parameter with the highest first priority, the terminal can preferentially use the first rule identifier according to the first rule identifier corresponding to each first rule parameter to satisfy the preset priority principle, such as the maximum value. The first rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

具体来说,若终端匹配到了第一规则参数与第二规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。Specifically, if the terminal matches two types of parameters, the first rule parameter and the second rule parameter, since the use priority of the first rule parameter is greater than the use priority of the second rule parameter, the terminal can The first rule parameter is used first.

可选地,在本实施例的一个可能的实现方式中,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以获得预先配置的至少一个第三规则参数。Optionally, in a possible implementation of this embodiment, if the at least one first rule identifier is not received, and the at least one second rule identifier and the at least one second rule identifier are not received The second rule parameter corresponding to each second rule identifier in the above can be obtained, then at least one preconfigured third rule parameter can be obtained.

在获得这些第三规则参数之后,终端则可以在相应的时刻,在这些第三规则参数中进行规则匹配处理,使用所匹配到的第三规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these third rule parameters, the terminal can perform rule matching processing in these third rule parameters at a corresponding moment, and use the matched third rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each third rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数中还可以进一步包括第三优先级参数(Priority),用以指示第三规则参数的使用优先级。那么,所述每个第三规则参数的使用由所述第三优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the third rule parameters may further include a third priority parameter (Priority) to indicate a use priority of the third rule parameter. The use of each third rule parameter is then determined by the third priority parameter.

在一个具体的实现过程中,若终端匹配到多个第三规则参数,终端则可以根据每个第三规则参数中所包括的第三优先级参数,优先使用第三优先级参数所指示的优先级最高的第三规则参数。In a specific implementation process, if the terminal matches multiple third rule parameters, the terminal can preferentially use the priority indicated by the third priority parameter according to the third priority parameter included in each third rule parameter. The highest third rule parameter.

在另一个具体的实现过程中,在最高的第三优先级参数存在大于一个的情况之下,具体还可以通过第三规则标识,来指示第三规则参数的使用优先级。那么,若所述第三优先级参数相同,所述每个第三规则参数的使用则可以由该第三规则参数所对应的第三规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest third priority, the use priority of the third rule parameter may also be specifically indicated by the third rule identifier. Then, if the third priority parameters are the same, the use of each third rule parameter may be determined by the third rule identifier corresponding to the third rule parameter.

例如,在最高的第三优先级参数存在大于一个的情况之下,终端则可以根据每个第三规则参数所对应的第三规则标识,优先使用第三规则标识满足预设优先原则如最大取值或最小取值等的第三规则参数。For example, in the case where there is more than one parameter with the highest third priority, the terminal can preferentially use the third rule identifier according to the third rule identifier corresponding to each third rule parameter to satisfy the preset priority principle, such as the maximum value. The third rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the second rule parameter is greater than the use priority of the third rule parameter.

具体来说,若终端匹配到了第二规则参数与第三规则参数这两种类型的参数,由于第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第二规则参数。Specifically, if the terminal matches two types of parameters, the second rule parameter and the third rule parameter, since the use priority of the second rule parameter is greater than the use priority of the third rule parameter, the terminal can The second rule parameter is used first.

若终端匹配到了第一规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters, the first rule parameter and the third rule parameter, because the use priority of the first rule parameter is greater than the use priority of the second rule parameter, and the use priority of the second rule parameter is greater than the use priority of the third rule parameter, then the terminal can preferentially use the first rule parameter.

若终端匹配到了第一规则参数、第二规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters: the first rule parameter, the second rule parameter and the third rule parameter, because the use priority of the first rule parameter is higher than the use priority of the second rule parameter, and the second rule parameter If the use priority of the parameter is greater than the use priority of the third rule parameter, the terminal can preferentially use the first rule parameter.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one second rule identifier sent by a network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier are received; each second rule parameter includes At least one of the wireless local area network selection rule parameter and the terminal routing rule parameter, through the network device, the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, are delivered to the terminal, so that the terminal can flexibly By using the received rule parameters, there is no need to pre-configure the fixedly used rule parameters in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

图4为本发明另一实施例提供的另一种终端策略的配置方法的流程示意图,如图4所示。FIG. 4 is a schematic flowchart of another method for configuring a terminal policy according to another embodiment of the present invention, as shown in FIG. 4 .

401、向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。401. Send at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; each second rule parameter includes a wireless local area network selection rule parameter and at least one of the terminal routing rule parameters.

其中,所述至少一个第二规则标识,用于针对不同终端唯一标识一组第二规则参数。该第二规则标识可以在同一个公共陆地移动网络(Public Land Mobile Network,PLMN)内重复使用,但对于终端来说需要是唯一的。The at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals. The second rule identifier can be reused in the same public land mobile network (Public Land Mobile Network, PLMN), but needs to be unique to the terminal.

终端在获得这些第二规则参数之后,则可以在相应的时刻,在这些第二规则参数中进行规则匹配处理,使用所匹配到的第二规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these second rule parameters, the terminal can perform rule matching processing in these second rule parameters at a corresponding moment, and use the matched second rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

需要说明的是,401的执行主体可以为网络设备。It should be noted that the executive body of 401 may be a network device.

本实施例的主要思想就是,通过网络设备向终端下发规则标识即第二规则标识和该规则标识所对应的规则参数即第二规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。The main idea of this embodiment is to deliver the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, to the terminal through the network device. Improves the configuration flexibility of terminal policies.

这样,通过向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this way, by sending at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; each second rule parameter includes a wireless local area network selection rule At least one of the parameter and the terminal routing rule parameter, the network device issues the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, to the terminal, so that the terminal can flexibly use the received Rule parameters do not need to be pre-configured in the terminal to use fixed rule parameters, thereby improving the configuration flexibility of the terminal policy.

可选地,在本实施例的一个可能的实现方式中,在401中,具体可以通过高层信令、系统广播或下行控制信息(Downlink Control Information,DCI),向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Optionally, in a possible implementation manner of this embodiment, in 401, specifically, at least one second rule identifier may be sent to the terminal through high-level signaling, system broadcast, or downlink control information (Downlink Control Information, DCI). and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier.

具体来说,网络设备具体可以通过高层信令、系统广播或DCI,向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数。Specifically, the network device may send at least one second rule identifier and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal through high-level signaling, system broadcast or DCI. .

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRC CONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a radio physical resource control (Radio Resource Control, RRC) message, and specifically, an information element (Information Element, IE) in the RRC message may carry the at least one second rule identifier and the each The second rule parameter corresponding to the second rule identifier, the RRC message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRC CONNECTION RECONFIGURATION) message, which is not limited in this embodiment. The at least one second rule identifier and the second rule parameter corresponding to each second rule identifier are carried by extending the IE of the existing RRC message, or the RRC message may also be different from the prior art The existing RRC messages in .

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, the high-level signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one second rule identifier and the Each of the second rule identifiers corresponds to a corresponding second rule parameter.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数,或者还可以增加新的SIB携带所述至少一个第二规则标识和所述每个第二规则标识所对应的第二规则参数。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one second rule identifier and all The second rule parameter corresponding to each second rule identifier, or a new SIB may be added to carry the at least one second rule identifier and the second rule parameter corresponding to each second rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each second rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数中还可以进一步包括第二优先级参数(Priority),用以指示第二规则参数的使用优先级。那么,所述每个第二规则参数的使用由所述第二优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the second rule parameters may further include a second priority parameter (Priority) to indicate a use priority of the second rule parameter. The use of each of the second rule parameters is then determined by the second priority parameter.

在一个具体的实现过程中,若终端匹配到多个第二规则参数,终端则可以根据每个第二规则参数中所包括的第二优先级参数,优先使用第二优先级参数所指示的优先级最高的第二规则参数。In a specific implementation process, if the terminal matches multiple second rule parameters, the terminal can preferentially use the priority indicated by the second priority parameter according to the second priority parameter included in each second rule parameter. The highest-level second rule parameter.

在另一个具体的实现过程中,在最高的第二优先级参数存在大于一个的情况之下,具体还可以通过第二规则标识,来指示第二规则参数的使用优先级。那么,若所述第二优先级参数相同,所述每个第二规则参数的使用则可以由该第二规则参数所对应的第二规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest second priority, the use priority of the second rule parameter may also be specifically indicated by the second rule identifier. Then, if the second priority parameters are the same, the use of each second rule parameter may be determined by the second rule identifier corresponding to the second rule parameter.

例如,在最高的第二优先级参数存在大于一个的情况之下,终端则可以根据每个第二规则参数所对应的第二规则标识,优先使用第二规则标识满足预设优先原则如最大取值或最小取值等的第二规则参数。For example, in the case where there is more than one parameter with the highest second priority, the terminal may preferentially use the second rule identifier according to the second rule identifier corresponding to each second rule parameter to satisfy the preset priority principle, such as the maximum value. The second rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,还可以进一步向所述终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数。Optionally, in a possible implementation manner of this embodiment, at least one first rule identifier may be further sent to the terminal, so that the terminal can obtain the at least one first rule identifier according to the at least one first rule identifier. A preconfigured first rule parameter corresponding to each first rule identifier in a first rule identifier.

其中,所述至少一个第一规则标识,用于在指定PLMN例如,一个或多个PLMN内唯一标识一组第一规则参数。Wherein, the at least one first rule identifier is used to uniquely identify a set of first rule parameters in a specified PLMN, for example, one or more PLMNs.

终端在获得这些第一规则参数之后,则可以在相应的时刻,在这些第一规则参数中进行规则匹配处理,使用所匹配到的第一规则参数,选择网络连接和/或建立PDU会话。After obtaining these first rule parameters, the terminal may perform rule matching processing in these first rule parameters at a corresponding moment, and use the matched first rule parameters to select a network connection and/or establish a PDU session.

需要说明的是,本实施例中“向终端发送至少一个第一规则标识”与“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”的执行,并没有固定的执行顺序,可以先执行“向终端发送至少一个第一规则标识”,再执行“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,或者,还可以先执行“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,再执行“向终端发送至少一个第一规则标识”,或者也可以执行“向终端发送至少一个第一规则标识”的同时执行“向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数”,本实施例对此不进行特别限定。It should be noted that in this embodiment, "send at least one first rule identifier to the terminal" and "send at least one second rule identifier to the terminal and each second rule identifier in the at least one second rule identifier There is no fixed execution order for the execution of the corresponding second rule parameter. A second rule parameter corresponding to each second rule identifier in one second rule identifier", or, it is also possible to first execute "send at least one second rule identifier and each of the at least one second rule identifier to the terminal. the second rule parameter corresponding to the second rule identifier", and then execute "send at least one first rule identifier to the terminal", or execute "send at least one first rule identifier to the terminal" at the same time as "send at least one first rule identifier to the terminal" The terminal sends at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier", which is not particularly limited in this embodiment.

具体来说,网络设备可以根据当前网络的拥塞情况和发送信元长度限制,决定发送哪些第一规则标识,以及哪些第二规则标识及其所对应的第二规则参数,本实施例对此不进行特别限定。Specifically, the network device can decide which first rule identifiers to send, which second rule identifiers and their corresponding second rule parameters according to the current network congestion situation and the length limit of the sent cell, which is not covered in this embodiment. Make special restrictions.

在该实现方式中,具体可以通过高层信令、系统广播或下行控制信息(DownlinkControl Information,DCI),向终端发送至少一个第一规则标识。In this implementation manner, at least one first rule identifier may be sent to the terminal specifically through high-level signaling, system broadcast, or downlink control information (Downlink Control Information, DCI).

具体来说,网络设备具体可以通过高层信令、系统广播或DCI,向终端发送至少一个第一规则标识。Specifically, the network device may specifically send at least one first rule identifier to the terminal through high-level signaling, system broadcast or DCI.

例如,所述高层信令可以是无线物理资源控制(Radio Resource Control,RRC)消息,具体可以通过RRC消息中的信息元素(Information Element,IE)携带所述至少一个第一规则标识,所述RRC消息可以为现有技术中的RRC消息,例如,RRC连接重配置(RRCCONNECTION RECONFIGURATION)消息等,本实施例对此不进行限定,通过对已有的RRC消息的IE进行扩展携带所述至少一个第一规则标识,或者所述RRC消息也可以为不同于现有技术中已有的RRC消息。For example, the high-layer signaling may be a Radio Resource Control (Radio Resource Control, RRC) message, and specifically, the at least one first rule identifier may be carried by an Information Element (Information Element, IE) in the RRC message, and the RRC The message may be an RRC message in the prior art, for example, an RRC connection reconfiguration (RRCCONNECTION RECONFIGURATION) message, etc., which is not limited in this embodiment, and the IE of the existing RRC message is extended to carry the at least one first A rule identifier, or the RRC message may be different from the existing RRC message in the prior art.

再例如,所述高层信令可以是媒体访问控制(Media Access Control,MAC)控制元素(Control Element,CE)消息,具体还可以通过增加新的MAC CE消息携带所述至少一个第一规则标识。For another example, the high-layer signaling may be a Media Access Control (Media Access Control, MAC) control element (Control Element, CE) message, and specifically, a new MAC CE message may be added to carry the at least one first rule identifier.

再例如,具体可以采用所述系统广播消息中现有的主信息块(MasterInformation Block,MIB)或(System Information Block,SIB)中的空余比特(bit)携带所述至少一个第一规则标识,或者还可以增加新的SIB携带所述至少一个第一规则标识。For another example, a spare bit (bit) in an existing master information block (MasterInformation Block, MIB) or (System Information Block, SIB) in the system broadcast message may be used to carry the at least one first rule identifier, or A new SIB may also be added to carry the at least one first rule identifier.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each of the first rule parameters may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数中还可以进一步包括第一优先级参数(Priority),用以指示第一规则参数的使用优先级。那么,所述每个第一规则参数的使用由所述第一优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the first rule parameters may further include a first priority parameter (Priority) to indicate a use priority of the first rule parameter. Then, the use of each of the first rule parameters is determined by the first priority parameter.

在一个具体的实现过程中,若终端匹配到多个第一规则参数,终端则可以根据每个第一规则参数中所包括的第一优先级参数,优先使用第一优先级参数所指示的优先级最高的第一规则参数。In a specific implementation process, if the terminal matches multiple first rule parameters, the terminal can preferentially use the priority indicated by the first priority parameter according to the first priority parameter included in each first rule parameter. The highest-level first rule parameter.

在另一个具体的实现过程中,在最高的第一优先级参数存在大于一个的情况之下,具体还可以通过第一规则标识,来指示第一规则参数的使用优先级。那么,若所述第一优先级参数相同,所述每个第一规则参数的使用则可以由该第一规则参数所对应的第一规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest first priority, the use priority of the first rule parameter may also be specifically indicated by the first rule identifier. Then, if the first priority parameters are the same, the use of each first rule parameter may be determined by the first rule identifier corresponding to the first rule parameter.

例如,在最高的第一优先级参数存在大于一个的情况之下,终端则可以根据每个第一规则参数所对应的第一规则标识,优先使用第一规则标识满足预设优先原则如最大取值或最小取值等的第一规则参数。For example, in the case where there is more than one parameter with the highest first priority, the terminal can preferentially use the first rule identifier according to the first rule identifier corresponding to each first rule parameter to satisfy the preset priority principle, such as the maximum value. The first rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

具体来说,若终端匹配到了第一规则参数与第二规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。Specifically, if the terminal matches two types of parameters, the first rule parameter and the second rule parameter, since the use priority of the first rule parameter is greater than the use priority of the second rule parameter, the terminal can The first rule parameter is used first.

可选地,在本实施例的一个可能的实现方式中,若终端没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,终端则可以获得预先配置的至少一个第三规则参数。Optionally, in a possible implementation manner of this embodiment, if the terminal does not receive the at least one first rule identifier and does not receive the at least one second rule identifier and the at least one second rule identifier Each second rule identifier in the identifier corresponds to the second rule parameter, and the terminal can obtain at least one preconfigured third rule parameter.

在获得这些第三规则参数之后,终端则可以在相应的时刻,在这些第三规则参数中进行规则匹配处理,使用所匹配到的第三规则参数,选择网络连接和/或建立协议数据单元(Protocol Data Unit,PDU)会话。After obtaining these third rule parameters, the terminal can perform rule matching processing in these third rule parameters at a corresponding moment, and use the matched third rule parameters to select a network connection and/or establish a protocol data unit ( Protocol Data Unit, PDU) session.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数可以包括但不限于无线局域网络选择规则(Wireless Local Area Network Selection Policy,WLANSP)参数和终端路由选择规则(User Equipment Route Selection Policy,URSP)参数中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, each third rule parameter may include, but is not limited to, a wireless local area network selection policy (Wireless Local Area Network Selection Policy, WLANSP) parameter and a terminal routing selection rule. At least one of the (User Equipment Route Selection Policy, URSP) parameters, which is not particularly limited in this embodiment.

具体来说,所述WLANSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the WLANSP parameters may include but are not limited to at least one of the following parameters:

驻留移动通信网络的有效性条件(Validity Conditions);Validity Conditions for resident mobile communication network;

优选无线局域网络的接入点名称列表(PreferredSSIDList),例如,无线相容性认证(Wireless Fidelity,Wi-Fi)网络中的服务集标识(Service Set Identifier,SSID);A preferred wireless local area network access point name list (PreferredSSIDList), for example, a service set identifier (Service Set Identifier, SSID) in a wireless compatibility (Wireless Fidelity, Wi-Fi) network;

最小回传阈值(MinimumBackhaulThreshold);Minimum BackhaulThreshold;

优选漫游伙伴列表(PreferredRoamingPartnerList);以及Preferred RoamingPartnerList; and

最大业务支撑系统(Business support system,BSS)负载(MaximumBSSLoad)。The maximum business support system (Business support system, BSS) load (MaximumBSSLoad).

具体来说,所述URSP参数,可以包括但不限于下列参数中的至少一项:Specifically, the URSP parameters may include, but are not limited to, at least one of the following parameters:

流量过滤器(Traffic filter);Traffic filter;

直接卸载(Direct offload);Direct offload;

网络切片信息(Slice Info);Network slice information (Slice Info);

服务连续性模式(Continuity Types);Service continuity mode (Continuity Types);

数据网络名称(Data Network Name,DNNs);以及Data Network Names (DNNs); and

接入网类型(Access Type)。Access Type.

可选地,在本实施例的一个可能的实现方式中,所述每个第三规则参数中还可以进一步包括第三优先级参数(Priority),用以指示第三规则参数的使用优先级。那么,所述每个第三规则参数的使用由所述第三优先级参数来决定。Optionally, in a possible implementation manner of this embodiment, each of the third rule parameters may further include a third priority parameter (Priority) to indicate a use priority of the third rule parameter. The use of each third rule parameter is then determined by the third priority parameter.

在一个具体的实现过程中,若终端匹配到多个第三规则参数,终端则可以根据每个第三规则参数中所包括的第三优先级参数,优先使用第三优先级参数所指示的优先级最高的第三规则参数。In a specific implementation process, if the terminal matches multiple third rule parameters, the terminal can preferentially use the priority indicated by the third priority parameter according to the third priority parameter included in each third rule parameter. The highest third rule parameter.

在另一个具体的实现过程中,在最高的第三优先级参数存在大于一个的情况之下,具体还可以通过第三规则标识,来指示第三规则参数的使用优先级。那么,若所述第三优先级参数相同,所述每个第三规则参数的使用则可以由该第三规则参数所对应的第三规则标识决定。In another specific implementation process, in the case that there is more than one parameter with the highest third priority, the use priority of the third rule parameter may also be specifically indicated by the third rule identifier. Then, if the third priority parameters are the same, the use of each third rule parameter may be determined by the third rule identifier corresponding to the third rule parameter.

例如,在最高的第三优先级参数存在大于一个的情况之下,终端则可以根据每个第三规则参数所对应的第三规则标识,优先使用第三规则标识满足预设优先原则如最大取值或最小取值等的第三规则参数。For example, in the case where there is more than one parameter with the highest third priority, the terminal can preferentially use the third rule identifier according to the third rule identifier corresponding to each third rule parameter to satisfy the preset priority principle, such as the maximum value. The third rule parameter of value or minimum value, etc.

可选地,在本实施例的一个可能的实现方式中,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。Optionally, in a possible implementation manner of this embodiment, the use priority of the second rule parameter is greater than the use priority of the third rule parameter.

具体来说,若终端匹配到了第二规则参数与第三规则参数这两种类型的参数,由于第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第二规则参数。Specifically, if the terminal matches two types of parameters, the second rule parameter and the third rule parameter, since the use priority of the second rule parameter is greater than the use priority of the third rule parameter, the terminal can The second rule parameter is used first.

若终端匹配到了第一规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters, the first rule parameter and the third rule parameter, because the use priority of the first rule parameter is greater than the use priority of the second rule parameter, and the use priority of the second rule parameter is greater than the use priority of the third rule parameter, then the terminal can preferentially use the first rule parameter.

若终端匹配到了第一规则参数、第二规则参数与第三规则参数这两种类型的参数,由于第一规则参数的使用优先级大于所述第二规则参数的使用优先级,且第二规则参数的使用优先级大于所述第三规则参数的使用优先级,那么,终端则可以优先使用第一规则参数。If the terminal matches two types of parameters: the first rule parameter, the second rule parameter and the third rule parameter, because the use priority of the first rule parameter is higher than the use priority of the second rule parameter, and the second rule parameter If the use priority of the parameter is greater than the use priority of the third rule parameter, the terminal can preferentially use the first rule parameter.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier are sent to the terminal; each second rule parameter includes a wireless local area network At least one of the network selection rule parameter and the terminal routing rule parameter, the network device issues the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, to the terminal, so that the terminal can flexibly adopt the The received rule parameters do not need to be pre-configured in the terminal to be fixedly used, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

图5为本发明另一实施例提供的一种终端的结构示意图,如图5所示。本实施例的终端可以包括接收单元51和获得单元52。其中,接收单元51,可以用于接收网络设备发送的至少一个第一规则标识;获得单元52,可以用于根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。FIG. 5 is a schematic structural diagram of a terminal according to another embodiment of the present invention, as shown in FIG. 5 . The terminal in this embodiment may include a receivingunit 51 and an obtainingunit 52 . The receivingunit 51 may be configured to receive at least one first rule identifier sent by the network device; the obtainingunit 52 may be configured to obtain each of the at least one first rule identifiers according to the at least one first rule identifier The first rule identifier corresponds to a preconfigured first rule parameter; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定。Optionally, in a possible implementation of this embodiment, each first rule parameter includes a first priority parameter; the use of each first rule parameter is determined by the first priority parameter. to decide.

在一个具体的实现过程中,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。In a specific implementation process, if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述接收单元51,还可以进一步用于接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Optionally, in a possible implementation manner of this embodiment, the receivingunit 51 may be further configured to receive at least one second rule identifier and one of the at least one second rule identifier sent by the network device. Each second rule identifies a corresponding second rule parameter; each second rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal route selection rule parameter.

在该实现方式中,所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定。In this implementation manner, each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the second priority parameter.

在一个具体的实现过程中,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。In a specific implementation process, if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter.

在该实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。In this implementation manner, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

在该实现方式中,所述获得单元52,还可以进一步用于若所述接收单元51没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。In this implementation manner, the obtainingunit 52 may be further configured to, if the receivingunit 51 does not receive the at least one first rule identifier, and does not receive the at least one second rule identifier and the The second rule parameter corresponding to each second rule identifier in the at least one second rule identifier, then at least one preconfigured third rule parameter can be obtained; each third rule parameter in the at least one third rule parameter includes: At least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

在一个具体的实现过程中,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。In a specific implementation process, the use priority of the second rule parameter is greater than the use priority of the third rule parameter.

需要说明的是,图1对应的实施例中方法,可以由本实施例提供的终端实现。详细描述可以参见图1对应的实施例中的相关内容,此处不再赘述。It should be noted that, the method in the embodiment corresponding to FIG. 1 may be implemented by the terminal provided in this embodiment. For a detailed description, reference may be made to the relevant content in the embodiment corresponding to FIG. 1 , which will not be repeated here.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过接收单元接收网络设备发送的至少一个第一规则标识,进而由获得单元根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one first rule identifier sent by the network device is received by the receiving unit, and then each first rule identifier in the at least one first rule identifier is obtained by the obtaining unit according to the at least one first rule identifier The corresponding preconfigured first rule parameters; each of the first rule parameters includes at least one of the wireless local area network selection rule parameters and the terminal routing rule parameters, and the rule identifier is issued to the terminal through the network device, that is, the first rule parameter. The rule identifier enables the terminal to flexibly adopt the rule parameter preconfigured in the terminal, that is, the first rule parameter according to the rule identifier, without preconfiguring the fixed rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

图6为本发明另一实施例提供的一种网络设备的结构示意图,如图6所示。本实施例的网络设备可以包括发送单元61,可以用于向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。FIG. 6 is a schematic structural diagram of a network device according to another embodiment of the present invention, as shown in FIG. 6 . The network device in this embodiment may include a sendingunit 61, which may be configured to send at least one first rule identifier to the terminal, so that the terminal can obtain the at least one first rule identifier according to the at least one first rule identifier. Each first rule identifier corresponds to a preconfigured first rule parameter; each first rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定。Optionally, in a possible implementation of this embodiment, each first rule parameter includes a first priority parameter; the use of each first rule parameter is determined by the first priority parameter. to decide.

在一个具体的实现过程中,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。In a specific implementation process, if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述发送单元61,还可以进一步用于向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Optionally, in a possible implementation manner of this embodiment, the sendingunit 61 may be further configured to send each of at least one second rule identifier and the at least one second rule identifier to the terminal. The second rule identifier corresponds to a second rule parameter; each of the second rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing selection rule parameter.

在该实现方式中,所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定。In this implementation manner, each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the second priority parameter.

在一个具体的实现过程中,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。In a specific implementation process, if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter.

在该实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。In this implementation manner, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

需要说明的是,图2对应的实施例中方法,可以由本实施例提供的网络设备实现。详细描述可以参见图2对应的实施例中的相关内容,此处不再赘述。It should be noted that, the method in the embodiment corresponding to FIG. 2 may be implemented by the network device provided in this embodiment. For a detailed description, reference may be made to the relevant content in the embodiment corresponding to FIG. 2 , which will not be repeated here.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过发送单元向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第一规则标识,使得终端能够根据规则标识灵活采用该终端中所预先配置的规则参数即第一规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one first rule identifier is sent to the terminal by the sending unit, so that the terminal can obtain, according to the at least one first rule identifier, all the first rule identifiers in the at least one first rule identifier. Corresponding pre-configured first rule parameters; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and a rule identifier, that is, the first rule, is issued to the terminal through the network device The identifier enables the terminal to flexibly adopt the rule parameter preconfigured in the terminal, that is, the first rule parameter according to the rule identifier, without preconfiguring the fixed rule parameter in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

图7A为本发明另一实施例提供的另一种终端的结构示意图,如图7A所示。本实施例的终端可以包括接收单元71,用于接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。FIG. 7A is a schematic structural diagram of another terminal according to another embodiment of the present invention, as shown in FIG. 7A . The terminal in this embodiment may include a receivingunit 71, configured to receive at least one second rule identifier sent by the network device and second rule parameters corresponding to each second rule identifier in the at least one second rule identifier; the Each second rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定。Optionally, in a possible implementation of this embodiment, each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the second priority parameter. to decide.

在一个具体的实现过程中,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。In a specific implementation process, if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter.

可选地,在本实施例的一个可能的实现方式中,如图7B所示,本实施例所提供的终端还可以进一步包括获得单元72。相应地,所述接收单元71,还可以进一步用于接收所述网络设备发送的至少一个第一规则标识;所述获得单元72,可以用于根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Optionally, in a possible implementation manner of this embodiment, as shown in FIG. 7B , the terminal provided by this embodiment may further include an obtainingunit 72 . Correspondingly, the receivingunit 71 may be further configured to receive at least one first rule identifier sent by the network device; the obtainingunit 72 may be configured to obtain the at least one first rule identifier according to the at least one first rule identifier. A preconfigured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier; each first rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing selection rule parameter .

在该实现方式中,所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定。In this implementation manner, each first rule parameter includes a first priority parameter; the use of each first rule parameter is determined by the first priority parameter.

在一个具体的实现过程中,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。In a specific implementation process, if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter.

在该实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。In this implementation manner, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

在该实现方式中,所述获得单元72,还可以进一步用于若所述接收单元71没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。In this implementation manner, the obtainingunit 72 may be further configured to, if the receivingunit 71 does not receive the at least one first rule identifier, and does not receive the at least one second rule identifier and the The second rule parameter corresponding to each second rule identifier in the at least one second rule identifier, then at least one preconfigured third rule parameter can be obtained; each third rule parameter in the at least one third rule parameter includes: At least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

在该实现方式中,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。In this implementation manner, the use priority of the second rule parameter is greater than the use priority of the third rule parameter.

需要说明的是,图3对应的实施例中方法,可以由本实施例提供的终端实现。详细描述可以参见图3对应的实施例中的相关内容,此处不再赘述。It should be noted that, the method in the embodiment corresponding to FIG. 3 may be implemented by the terminal provided in this embodiment. For a detailed description, reference may be made to the relevant content in the embodiment corresponding to FIG. 3 , and details are not repeated here.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过接收单元接收网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one second rule identifier sent by the network device and second rule parameters corresponding to each second rule identifier in the at least one second rule identifier are received by the receiving unit; each second rule identifier The parameters include at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter, and the network device issues a rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, to the terminal, so that the terminal is The received rule parameters can be flexibly used, and it is not necessary to pre-configure the fixedly used rule parameters in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

图8为本发明另一实施例提供的另一种网络设备的结构示意图,如图8所示。本实施例的网络设备可以包括发送单元81,可以用于向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。FIG. 8 is a schematic structural diagram of another network device according to another embodiment of the present invention, as shown in FIG. 8 . The network device in this embodiment may include a sendingunit 81, which may be configured to send at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; the Each second rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定。Optionally, in a possible implementation of this embodiment, each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the second priority parameter. to decide.

在一个具体的实现过程中,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。In a specific implementation process, if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter.

可选地,在本实施例的一个可能的实现方式中,所述发送单元81,还可以进一步用于向所述终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。Optionally, in a possible implementation manner of this embodiment, the sendingunit 81 may be further configured to send at least one first rule identifier to the terminal for the terminal to use according to the at least one first rule identifier. a rule identifier, obtain the pre-configured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier; each first rule parameter includes wireless local area network selection rule parameters and terminal routing selection At least one of the rule parameters.

在该实现方式中,所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定。In this implementation manner, each first rule parameter includes a first priority parameter; the use of each first rule parameter is determined by the first priority parameter.

在一个具体的实现过程中,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。In a specific implementation process, if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter.

在该实现方式中,所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。In this implementation manner, the use priority of the first rule parameter is greater than the use priority of the second rule parameter.

需要说明的是,图4对应的实施例中方法,可以由本实施例提供的网络设备实现。详细描述可以参见图4对应的实施例中的相关内容,此处不再赘述。It should be noted that, the method in the embodiment corresponding to FIG. 4 may be implemented by the network device provided in this embodiment. For a detailed description, reference may be made to the relevant content in the embodiment corresponding to FIG. 4 , and details are not repeated here.

本实施例中,可以根据终端策略的配置方式,可以将第一规则参数称之为静态规则参数,将第二规则参数称之为动态规则参数,将第三规则参数称之为默认规则参数。In this embodiment, according to the configuration method of the terminal policy, the first rule parameter may be referred to as a static rule parameter, the second rule parameter may be referred to as a dynamic rule parameter, and the third rule parameter may be referred to as a default rule parameter.

本实施例中,通过发送单元向终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,通过网络设备向终端下发规则标识即第二规则标识和规则标识所对应的规则参数即第二规则参数,使得终端能够灵活采用所接收到的规则参数,无需在终端中预先配置固定采用的规则参数,从而提高了终端策略的配置灵活性。In this embodiment, at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier are sent to the terminal through the sending unit; each second rule parameter includes At least one of the wireless local area network selection rule parameter and the terminal routing rule parameter, through the network device, the rule identifier, that is, the second rule identifier, and the rule parameter corresponding to the rule identifier, that is, the second rule parameter, are delivered to the terminal, so that the terminal can flexibly By using the received rule parameters, there is no need to pre-configure the fixedly used rule parameters in the terminal, thereby improving the configuration flexibility of the terminal policy.

另外,采用本发明所提供的技术方案,通过网络设备向终端下发规则标识即第一规则标识这种方式,来指示终端使用终端中预先配置的第一规则参数,无线向终端下发具体的规则参数,能够有效减少网络资源的消耗,降低网络设备与终端之间的数据交互。In addition, by adopting the technical solution provided by the present invention, the network device sends a rule identifier, that is, a first rule identifier, to the terminal to instruct the terminal to use the first rule parameter preconfigured in the terminal, and wirelessly sends a specific rule to the terminal. Rule parameters can effectively reduce the consumption of network resources and reduce the data interaction between network devices and terminals.

另外,采用本发明所提供的技术方案,若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,则可以直接获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项,在网络设备没有下发具体的配置指示的情况下,终端则可以暂时先采用该终端中所预先配置的规则参数即第三规则参数,能够有效提高终端策略的配置可靠性。In addition, using the technical solution provided by the present invention, if the at least one first rule identifier is not received, and each second rule identifier among the at least one second rule identifier and the at least one second rule identifier is not received The second rule parameter corresponding to the rule identifier, then at least one pre-configured third rule parameter can be directly obtained; each third rule parameter in the at least one third rule parameter includes a wireless local area network selection rule parameter and a terminal routing selection At least one of the rule parameters, in the case where the network device does not issue a specific configuration instruction, the terminal can temporarily use the rule parameter preconfigured in the terminal, that is, the third rule parameter, which can effectively improve the configuration of the terminal policy reliability.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (16)

Translated fromChinese
1.一种终端策略的配置方法,其特征在于,包括:1. a configuration method for a terminal strategy, comprising:接收网络设备发送的至少一个第一规则标识;receiving at least one first rule identifier sent by the network device;根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定;Obtain pre-configured first rule parameters corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier; each first rule parameter includes the wireless local area network selection at least one of rule parameters and terminal routing rule parameters; each first rule parameter includes a first priority parameter; the use of each first rule parameter is determined by the first priority parameter ;接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定;Receive at least one second rule identifier sent by the network device and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier; each second rule parameter includes a wireless local area network selection at least one of rule parameters and terminal routing rule parameters; each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the second priority parameter ;其中,所述至少一个第一规则标识用于在指定公共陆地移动网络内唯一标识一组第一规则参数,所述至少一个第二规则标识用于针对不同终端唯一标识一组第二规则参数,并且所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Wherein, the at least one first rule identifier is used to uniquely identify a group of first rule parameters within a specified public land mobile network, and the at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals, And the use priority of the first rule parameter is greater than the use priority of the second rule parameter.2.根据权利要求1所述的方法,其特征在于,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。2 . The method according to claim 1 , wherein if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter. 3 .3.根据权利要求1所述的方法,其特征在于,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。3 . The method according to claim 1 , wherein if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter. 4 .4.根据权利要求1所述的方法,其特征在于,还包括:4. The method of claim 1, further comprising:若没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。If the at least one first rule identifier is not received, and the at least one second rule identifier and the second rule parameter corresponding to each second rule identifier in the at least one second rule identifier are not received, obtain At least one preconfigured third rule parameter; each of the at least one third rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter.5.根据权利要求4所述的方法,其特征在于,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。5. The method according to claim 4, wherein the use priority of the second rule parameter is greater than the use priority of the third rule parameter.6.一种终端策略的配置方法,其特征在于,包括:6. A method for configuring a terminal policy, comprising:向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定;Sending at least one first rule identifier to the terminal, so that the terminal can obtain a preconfigured first rule corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier parameters; each first rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter; each first rule parameter includes a first priority parameter; each The use of a rule parameter is determined by the first priority parameter;向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定;Send at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; each second rule parameter includes a wireless local area network selection rule parameter and at least one of terminal routing rule parameters; each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the second priority parameter;其中,所述至少一个第一规则标识用于在指定公共陆地移动网络内唯一标识一组第一规则参数,所述至少一个第二规则标识用于针对不同终端唯一标识一组第二规则参数,并且所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Wherein, the at least one first rule identifier is used to uniquely identify a group of first rule parameters within a specified public land mobile network, and the at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals, And the use priority of the first rule parameter is greater than the use priority of the second rule parameter.7.根据权利要求6所述的方法,其特征在于,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。7 . The method according to claim 6 , wherein if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter. 8 .8.根据权利要求6所述的方法,其特征在于,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。8 . The method according to claim 6 , wherein if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter. 9 .9.一种终端,其特征在于,包括:9. A terminal, characterized in that, comprising:接收单元,用于接收网络设备发送的至少一个第一规则标识;a receiving unit, configured to receive at least one first rule identifier sent by the network device;获得单元,用于根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定;an obtaining unit, configured to obtain, according to the at least one first rule identifier, a preconfigured first rule parameter corresponding to each first rule identifier in the at least one first rule identifier; the each first rule parameter including at least one of wireless local area network selection rule parameters and terminal routing selection rule parameters; each first rule parameter includes a first priority parameter; the use of each first rule parameter is determined by the first Priority parameter to decide;所述接收单元,还用于接收所述网络设备发送的至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定;The receiving unit is further configured to receive at least one second rule identifier sent by the network device and second rule parameters corresponding to each second rule identifier in the at least one second rule identifier; The second rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter; each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the The second priority parameter is used to decide;其中,所述至少一个第一规则标识用于在指定公共陆地移动网络内唯一标识一组第一规则参数,所述至少一个第二规则标识用于针对不同终端唯一标识一组第二规则参数,并且所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Wherein, the at least one first rule identifier is used to uniquely identify a group of first rule parameters within a specified public land mobile network, and the at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals, And the use priority of the first rule parameter is greater than the use priority of the second rule parameter.10.根据权利要求9所述的终端,其特征在于,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。10 . The terminal according to claim 9 , wherein if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter. 11 .11.根据权利要求9所述的终端,其特征在于,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。11 . The terminal according to claim 9 , wherein, if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter. 12 .12.根据权利要求9所述的终端,其特征在于,所述获得单元,还用于12. The terminal according to claim 9, wherein the obtaining unit is further configured to若所述接收单元没有接收到所述至少一个第一规则标识,且没有接收到所述至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数,获得预先配置的至少一个第三规则参数;所述至少一个第三规则参数中每个第三规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项。If the receiving unit does not receive the at least one first rule identifier, and does not receive the at least one second rule identifier and the second rule identifier corresponding to each second rule identifier in the at least one second rule identifier Rule parameters, obtain at least one preconfigured third rule parameter; each third rule parameter in the at least one third rule parameter includes at least one of a wireless local area network selection rule parameter and a terminal routing selection rule parameter.13.根据权利要求12所述的终端,其特征在于,所述第二规则参数的使用优先级大于所述第三规则参数的使用优先级。The terminal according to claim 12, wherein the use priority of the second rule parameter is greater than the use priority of the third rule parameter.14.一种网络设备,其特征在于,包括:14. A network device, comprising:发送单元,用于向终端发送至少一个第一规则标识,以供所述终端根据所述至少一个第一规则标识,获得所述至少一个第一规则标识中每个第一规则标识所对应的预先配置的第一规则参数;所述每个第一规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第一规则参数中包括第一优先级参数;所述每个第一规则参数的使用由所述第一优先级参数来决定;The sending unit is configured to send at least one first rule identifier to the terminal, so that the terminal can obtain the preset corresponding to each first rule identifier in the at least one first rule identifier according to the at least one first rule identifier. configured first rule parameters; each of the first rule parameters includes at least one of a wireless local area network selection rule parameter and a terminal routing rule parameter; each of the first rule parameters includes a first priority parameter; The use of each first rule parameter is determined by the first priority parameter;所述发送单元,还用于向所述终端发送至少一个第二规则标识和所述至少一个第二规则标识中每个第二规则标识所对应的第二规则参数;所述每个第二规则参数包括无线局域网络选择规则参数和终端路由选择规则参数中的至少一项;所述每个第二规则参数中包括第二优先级参数;所述每个第二规则参数的使用由所述第二优先级参数来决定;The sending unit is further configured to send at least one second rule identifier and a second rule parameter corresponding to each second rule identifier in the at least one second rule identifier to the terminal; each second rule identifier The parameters include at least one of wireless local area network selection rule parameters and terminal routing selection rule parameters; each second rule parameter includes a second priority parameter; the use of each second rule parameter is determined by the Two priority parameters to decide;其中,所述至少一个第一规则标识用于在指定公共陆地移动网络内唯一标识一组第一规则参数,所述至少一个第二规则标识用于针对不同终端唯一标识一组第二规则参数,并且所述第一规则参数的使用优先级大于所述第二规则参数的使用优先级。Wherein, the at least one first rule identifier is used to uniquely identify a group of first rule parameters within a specified public land mobile network, and the at least one second rule identifier is used to uniquely identify a group of second rule parameters for different terminals, And the use priority of the first rule parameter is greater than the use priority of the second rule parameter.15.根据权利要求14所述的网络设备,其特征在于,若所述第一优先级参数相同,所述每个第一规则参数的使用由该第一规则参数所对应的第一规则标识决定。15 . The network device according to claim 14 , wherein if the first priority parameters are the same, the use of each first rule parameter is determined by the first rule identifier corresponding to the first rule parameter. 16 . .16.根据权利要求14所述的网络设备,其特征在于,若所述第二优先级参数相同,所述每个第二规则参数的使用由该第二规则参数所对应的第二规则标识决定。16. The network device according to claim 14, wherein if the second priority parameters are the same, the use of each second rule parameter is determined by the second rule identifier corresponding to the second rule parameter .
CN201780091691.2A2017-11-102017-11-10 Terminal policy configuration method and terminal and network deviceActiveCN110710275B (en)

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
PCT/CN2017/110410WO2019090672A1 (en)2017-11-102017-11-10Method for configuring terminal policy, terminal, and network device

Publications (2)

Publication NumberPublication Date
CN110710275A CN110710275A (en)2020-01-17
CN110710275Btrue CN110710275B (en)2020-12-18

Family

ID=66438176

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201780091691.2AActiveCN110710275B (en)2017-11-102017-11-10 Terminal policy configuration method and terminal and network device

Country Status (2)

CountryLink
CN (1)CN110710275B (en)
WO (1)WO2019090672A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115835340A (en)*2021-09-162023-03-21维沃移动通信有限公司Network selection method, device, terminal and network side equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1883213A (en)*2003-11-262006-12-20索尼爱立信移动通讯股份有限公司Methods, networks, and computer program products for selectively routing communications based on routing rules
CN103259717A (en)*2012-02-172013-08-21华为技术有限公司Routing method and routing device based on strategy customization
CN103813415A (en)*2012-11-152014-05-21电信科学技术研究院Internet access and strategy sending method and device
CN104937994A (en)*2013-02-222015-09-23英特尔Ip公司 Systems and methods for WLAN network selection
CN105981448A (en)*2014-01-062016-09-28英特尔Ip公司 A device, system and method for traffic offloading of access network discovery and selection function (ANDSF)
CN106063334A (en)*2014-03-142016-10-26Lg 电子株式会社Method and apparatus for updating andsf policy in wireless communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9516577B2 (en)*2012-07-202016-12-06Nec CorporationDynamic activation of ANDSF policies
CN103974383B (en)*2013-02-042018-03-23电信科学技术研究院A kind of the determination method, apparatus and system of ANDSF strategies
WO2014175919A1 (en)*2013-04-262014-10-30Intel IP CorporationShared spectrum reassignment in a spectrum sharing context
US9414307B2 (en)*2014-01-232016-08-09Alcatel LucentRule-driven policy creation by an ANDSF server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1883213A (en)*2003-11-262006-12-20索尼爱立信移动通讯股份有限公司Methods, networks, and computer program products for selectively routing communications based on routing rules
CN103259717A (en)*2012-02-172013-08-21华为技术有限公司Routing method and routing device based on strategy customization
CN103813415A (en)*2012-11-152014-05-21电信科学技术研究院Internet access and strategy sending method and device
CN104937994A (en)*2013-02-222015-09-23英特尔Ip公司 Systems and methods for WLAN network selection
CN105981448A (en)*2014-01-062016-09-28英特尔Ip公司 A device, system and method for traffic offloading of access network discovery and selection function (ANDSF)
CN106063334A (en)*2014-03-142016-10-26Lg 电子株式会社Method and apparatus for updating andsf policy in wireless communication system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Definition of access network discovery and selection policies,S2-177169;Lenovo, Motorola Mobility;《SA WG2 Meeting #123》;20171017;正文第1节*
Non-3GPP ANDS Policy definition and transfer mechanism,S2-173391;Huawei, HiSilicon;《SA WG2 Meeting #121》;20170509;第1-3页*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115835340A (en)*2021-09-162023-03-21维沃移动通信有限公司Network selection method, device, terminal and network side equipment

Also Published As

Publication numberPublication date
CN110710275A (en)2020-01-17
WO2019090672A1 (en)2019-05-16

Similar Documents

PublicationPublication DateTitle
US12200621B2 (en)Method for connecting a user terminal to a network slice
US11006344B2 (en)Enhanced UE route selection policy (URSP) rule matching
CN109151871B (en)Communication means, communication equipment under centralized unit-distributed unit framework
CN111417137B (en) A network slice configuration method and device
CN114342440A (en) Method and apparatus for identifying a user in a RAN communication system
JP7389225B2 (en) Method and apparatus for determining security protection mode
CN111801961B (en) A method and device for determining SSC mode
US20220248479A1 (en)Data Transmission Method and Apparatus
EP3739955A1 (en)User equipment
CN106572516A (en)Network slice selection method, terminal equipment and network equipment
US10091831B2 (en)System, method, and apparatus for signaling information for a rejected network connection
CN113906717A (en)Local user plane function control
CN108702692A (en) Feature Selection in Mobile Networks
CN113630272B (en)Communication method and device
US11284320B2 (en)User equipment
US11259242B2 (en)User equipment
EP3445072B1 (en)Mobile radio communication network and method for associating a mobile radio terminal device to a network slice instance of a mobile radio communication network
JP7662571B2 (en) Network Slice Admission Control (NSAC) discovery and roaming enhancements
CN111510945B (en) Method and device for reporting terminal capability
CN109548023B (en)Network sharing system, network connection method and access method of user equipment
US20200288352A1 (en)Local breakout architecture
CN114915960A (en) Method, apparatus, device and readable storage medium for supporting information acquisition
CN110710275B (en) Terminal policy configuration method and terminal and network device
WO2022126631A1 (en)Method, apparatus and system for registering to multiple networks
TW202420877A (en)User equipment and method for user equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp