CN113596830A - Communication method, communication apparatus, electronic device, storage medium, and program product - Google Patents

Communication method, communication apparatus, electronic device, storage medium, and program product Download PDF

Info

Publication number
CN113596830A
CN113596830A CN202110849858.5A CN202110849858A CN113596830A CN 113596830 A CN113596830 A CN 113596830A CN 202110849858 A CN202110849858 A CN 202110849858A CN 113596830 A CN113596830 A CN 113596830A
Authority
CN
China
Prior art keywords
network element
bsf
bsf network
terminal
candidate
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.)
Granted
Application number
CN202110849858.5A
Other languages
Chinese (zh)
Other versions
CN113596830B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110849858.5A priority Critical patent/CN113596830B/en
Publication of CN113596830A publication Critical patent/CN113596830A/en
Application granted granted Critical
Publication of CN113596830B publication Critical patent/CN113596830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • H04W12/043Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
    • H04W12/0431Key distribution or pre-distribution; Key agreement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种通信方法、装置、电子设备、存储介质及程序产品。方法包括:设备管理网元接收来自终端的鉴权认证请求;鉴权认证请求用于请求对终端的目标业务进行鉴权认证,鉴权认证请求包括:终端的标识和目标业务的标识;根据目标业务的标识和终端的标识,对终端是否具有目标业务的使用权限进行认证;若认证结果表征终端具有目标业务的使用权限,则向终端发送候选自举服务功能BSF网元列表,候选BSF网元列表包括至少一个候选BSF网元的信息;每个候选BSF网元均支持对终端的目标业务鉴权;候选BSF网元的信息包括:候选BSF网元的标识。本申请提高了BSF网元向终端反馈秘钥的效率。

Figure 202110849858

The present application provides a communication method, apparatus, electronic device, storage medium and program product. The method includes: a device management network element receives an authentication and authentication request from a terminal; the authentication and authentication request is used to request authentication and authentication of a target service of the terminal, and the authentication and authentication request includes: an identifier of the terminal and an identifier of the target service; The identification of the service and the identification of the terminal are used to authenticate whether the terminal has the right to use the target service; if the authentication result indicates that the terminal has the right to use the target service, a list of candidate BSF network elements for the bootstrapping service function is sent to the terminal, and the candidate BSF network elements The list includes information of at least one candidate BSF network element; each candidate BSF network element supports target service authentication for the terminal; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element. The present application improves the efficiency of the BSF network element feeding back the secret key to the terminal.

Figure 202110849858

Description

通信方法、装置、电子设备、存储介质及程序产品Communication method, apparatus, electronic device, storage medium and program product

技术领域technical field

本申请涉及通信工程技术,尤其涉及一种通信方法、装置、电子设备、存储介质及程序产品。The present application relates to communication engineering technology, and in particular, to a communication method, apparatus, electronic device, storage medium and program product.

背景技术Background technique

在进行一项目标业务之前,例如长期演进语音承载(Voice over Long-TermEvolution,VoLTE)业务,或者,第五代移动通信技术消息(5th Generation MobileCommunication Technology message,5G message)业务等,终端需要获取与目标业务服务器进行数据传输所需的秘钥。在获取上述秘钥之后,终端可以使用该秘钥加密终端与目标业务服务器之间传输的目标业务的数据,以进行目标业务。具体的,终端可以通过该终端所在通信网络中的自举服务功能网元(Bootstrapping server function,BSF),实现从归属签约用户服务器(Home Subscriber Server,HSS)处获取上述秘钥。Before a target service is performed, such as Voice over Long-Term Evolution (Voice over Long-Term Evolution, VoLTE) service, or 5th Generation Mobile Communication Technology message (5G message) service, the terminal needs to obtain and The secret key required by the target service server for data transmission. After obtaining the above-mentioned secret key, the terminal can use the secret key to encrypt the data of the target service transmitted between the terminal and the target service server, so as to perform the target service. Specifically, the terminal may obtain the above-mentioned secret key from a Home Subscriber Server (HSS) through a bootstrapping server function (BSF) in the communication network where the terminal is located.

目前,一个通信网络中包括一个BSF网元,该BSF网元用于为该通信网络中的所有终端提供各终端所有业务对应的秘钥。然而,现有的通信方法存在BSF网元向终端反馈秘钥的效率较低的问题。At present, a communication network includes a BSF network element, and the BSF network element is used to provide all terminals in the communication network with keys corresponding to all services of each terminal. However, the existing communication method has the problem that the efficiency of the BSF network element feeding back the secret key to the terminal is low.

发明内容SUMMARY OF THE INVENTION

本申请提供一种通信方法、装置、电子设备、存储介质及程序产品,以克服BSF网元向终端反馈秘钥的效率较低的问题。The present application provides a communication method, apparatus, electronic device, storage medium and program product to overcome the problem of low efficiency in feeding back a secret key to a terminal by a BSF network element.

第一方面,本申请提供一种通信方法,所述方法应用于设备管理网元,所述方法包括:In a first aspect, the present application provides a communication method, the method is applied to a device management network element, and the method includes:

接收来自终端的鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;Receive an authentication and authentication request from the terminal; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the identifier of the terminal and the identifier of the target service ;

根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证;According to the identifier of the target service and the identifier of the terminal, verify whether the terminal has the right to use the target service;

若所述认证结果表征所述终端具有所述目标业务的使用权限,则向所述终端发送候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识。If the authentication result indicates that the terminal has the right to use the target service, send a list of candidate BSF network elements to the terminal, where the candidate BSF network element list includes information of at least one candidate BSF network element each of the candidate BSF network elements supports the target service authentication of the terminal; the information of the candidate BSF network elements includes: the identifier of the candidate BSF network elements.

可选的,所述向所述终端发送候选自举服务功能BSF网元列表,包括:Optionally, the sending a list of candidate bootstrapping service function BSF network elements to the terminal includes:

根据所述目标业务的标识,从BSF网元列表中获取与所述目标业务对应的多个初始BSF网元的标识,以及,所述多个初始BSF网元的负载信息;所述BSF网元列表包括业务与BSF网元的映射关系;According to the identifier of the target service, the identifiers of multiple initial BSF network elements corresponding to the target service are obtained from the BSF network element list, and the load information of the multiple initial BSF network elements; the BSF network element The list includes the mapping relationship between services and BSF network elements;

根据所述多个初始BSF网元的负载信息,从所述多个初始BSF网元中确定候选BSF网元;determining candidate BSF network elements from the plurality of initial BSF network elements according to the load information of the plurality of initial BSF network elements;

根据所确定的候选BSF网元,生成所述候选BSF网元列表;generating the candidate BSF network element list according to the determined candidate BSF network elements;

向所述终端发送所述候选BSF网元列表。sending the candidate BSF network element list to the terminal.

可选的,所述候选BSF网元的负载均小于第一预设负载阈值。Optionally, the loads of the candidate BSF network elements are all less than the first preset load threshold.

可选的,所述候选BSF网元的信息还包括:所述候选BSF网元的负载信息。Optionally, the information of the candidate BSF network element further includes: load information of the candidate BSF network element.

可选的,所述根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证,包括:Optionally, authenticating whether the terminal has the right to use the target service according to the identifier of the target service and the identifier of the terminal includes:

向业务支撑系统发送认证请求,所述认证请求用于请求对所述终端的目标业务进行认证;所述认证请求包括:所述终端的标识和所述目标业务的标识;Send an authentication request to the service support system, where the authentication request is used to request authentication of the target service of the terminal; the authentication request includes: the identifier of the terminal and the identifier of the target service;

接收所述业务支撑系统返回的认证结果;所述认证结果用于表征所述终端是否具有所述目标业务的使用权限。The authentication result returned by the service support system is received; the authentication result is used to represent whether the terminal has the right to use the target service.

可选的,在所述向所述终端发送候选BSF网元列表之后,还包括:Optionally, after the sending the list of candidate BSF network elements to the terminal, the method further includes:

接收来自所述终端的故障指示信息;所述故障指示信息用于指示所述终端与第一BSF网元建立连接失败;所述第一BSF网元为所述候选BSF网元列表中任一个,所述故障指示信息包括所述第一BSF网元的标识;receiving fault indication information from the terminal; the fault indication information is used to indicate that the terminal fails to establish a connection with the first BSF network element; the first BSF network element is any one of the candidate BSF network elements, The fault indication information includes the identifier of the first BSF network element;

确定所述第一BSF网元是否存在故障;determining whether the first BSF network element is faulty;

若确定所述第一BSF网元存在故障,则向所述终端发送第二BSF网元的信息,并从所述BSF网元列表中删除所述第一BSF网元的标识;所述第二BSF网元为所述BSF网元列表中除所述第一BSF网元之外的任一个。If it is determined that the first BSF network element is faulty, send the information of the second BSF network element to the terminal, and delete the identifier of the first BSF network element from the BSF network element list; the second BSF network element The BSF network element is any one except the first BSF network element in the BSF network element list.

可选的,所述确定所述第一BSF网元是否存在故障,包括:Optionally, the determining whether the first BSF network element is faulty includes:

判断所述BSF网元列表中所述第一BSF网元是否具有预设标签,所述预设标签用于表征所述第一BSF网元是否存在故障;Judging whether the first BSF network element in the BSF network element list has a preset label, where the preset label is used to represent whether the first BSF network element is faulty;

若所述第一BSF网元具有所述预设标签,则确定所述第一BSF网元存在故障;或者,If the first BSF network element has the preset label, it is determined that the first BSF network element is faulty; or,

若所述第一BSF网元无所述预设标签,则获取所述第一BSF网元的故障检测结果,并根据所述故障检测结果,确定所述第一BSF网元是否存在故障。If the first BSF network element does not have the preset label, a fault detection result of the first BSF network element is acquired, and according to the fault detection result, it is determined whether the first BSF network element is faulty.

可选的,所述获取所述第一BSF网元的故障检测结果,包括:Optionally, the acquiring the fault detection result of the first BSF network element includes:

根据与所述第一BSF网元之间的通信连接状态,确定所述第一BSF网元的故障检测结果;determining the fault detection result of the first BSF network element according to the communication connection state with the first BSF network element;

和/或,and / or,

获取BSF管理网元针对所述第一BSF网元的故障检测结果。Obtain a fault detection result of the BSF management network element for the first BSF network element.

可选的,所述根据所述故障检测结果,确定所述第一BSF网元是否存在故障之后,还包括:Optionally, after determining whether the first BSF network element is faulty according to the fault detection result, the method further includes:

若确定所述第一BSF网元不存在故障,在所述BSF网元列表中对所述第一BSF网元添加所述预设标签;If it is determined that the first BSF network element is not faulty, adding the preset label to the first BSF network element in the BSF network element list;

在预设时长内检测所述第一BSF网元是否存在故障;Detecting whether the first BSF network element is faulty within a preset time period;

若所述预设时长内检测所述第一BSF网元无故障,则从所述BSF网元列表中删除所述第一BSF网元的所述预设标签;If it is detected that the first BSF network element is fault-free within the preset time period, the preset label of the first BSF network element is deleted from the BSF network element list;

或者,若所述预设时长内检测所述第一BSF网元存在故障,则从所述BSF网元列表中删除所述第一BSF网元的标识。Alternatively, if it is detected that the first BSF network element is faulty within the preset time period, the identifier of the first BSF network element is deleted from the BSF network element list.

可选的,所述方法还包括:Optionally, the method further includes:

根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表。The BSF network element list is updated according to the service and load information corresponding to each BSF network element in the network.

可选的,所述根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表,包括:Optionally, the updating of the BSF network element list according to the service and load information corresponding to each BSF network element in the network includes:

若所述网络中存在新增的BSF网元,则根据网络中各BSF网元所对应的业务和负载信息,确定所述新增的BSF网元对应的业务,并在所述BSF网元列表中添加所述新增的BSF网元。If there is a newly added BSF network element in the network, the service corresponding to the newly added BSF network element is determined according to the service and load information corresponding to each BSF network element in the network, and is listed in the BSF network element list. Add the newly added BSF network element in .

可选的,所述确定所述新增的BSF网元对应的业务,包括:Optionally, the determining the service corresponding to the newly added BSF network element includes:

针对所述BSF网元列表中的所有BSF网元对应的所有业务中的任一业务,获取与所述业务对应的各BSF网元针对所述业务的负载;For any service in all services corresponding to all BSF network elements in the BSF network element list, obtain the load of each BSF network element corresponding to the service for the service;

根据与所述业务对应的各BSF网元针对所述业务的负载,获取与所述业务对应的各BSF网元针对所述业务的平均负载;According to the load of each BSF network element corresponding to the service for the service, obtain the average load of each BSF network element corresponding to the service for the service;

将平均负载最大的业务,作为所述新增的BSF网元对应的业务。The service with the largest average load is used as the service corresponding to the newly added BSF network element.

可选的,所述根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表,包括:Optionally, the updating of the BSF network element list according to the service and load information corresponding to each BSF network element in the network includes:

针对所述BSF网元列表中的任一BSF网元,若该BSF网元的负载小于或等于第二预设负载阈值,则将平均负载最大的业务,作为该BSF网元对应的第二业务。For any BSF network element in the BSF network element list, if the load of the BSF network element is less than or equal to the second preset load threshold, the service with the largest average load is used as the second service corresponding to the BSF network element .

可选的,所述根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表,包括:Optionally, the updating of the BSF network element list according to the service and load information corresponding to each BSF network element in the network includes:

删除所述BSF网元列表中的失效BSF网元;所述失效BSF网元指的是无法与所述设备管理网元建立连接的BSF网元。Delete a failed BSF network element in the BSF network element list; the failed BSF network element refers to a BSF network element that cannot establish a connection with the device management network element.

第二方面,本申请提供一种通信方法,所述方法应用于终端,所述方法包括:In a second aspect, the present application provides a communication method, the method is applied to a terminal, and the method includes:

向设备管理网元发送鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;Send an authentication and authentication request to the device management network element; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the identification of the terminal and the target service 's identification;

接收所述设备管理网元返回的候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识;Receive a list of candidate bootstrapping service function BSF network elements returned by the device management network element, where the candidate BSF network element list includes information about at least one candidate BSF network element; each candidate BSF network element supports target service authentication; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element;

根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求,所述目标BSF网元为所述候选BSF网元列表中任一个;sending an authentication request to the target BSF network element according to the identifier of the target BSF network element, where the target BSF network element is any one of the candidate BSF network elements;

接收所述目标BSF网元在所述终端鉴权通过后返回的秘钥;所述秘钥用于加密所述终端与目标业务服务器之间传输的目标业务的数据。Receive the secret key returned by the target BSF network element after the terminal is authenticated; the secret key is used to encrypt the data of the target service transmitted between the terminal and the target service server.

可选的,所述候选BSF网元的信息还包括:所述候选BSF网元的负载信息;Optionally, the information of the candidate BSF network element further includes: load information of the candidate BSF network element;

在所述根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求之前,还包括:Before sending the authentication request to the target BSF network element according to the identifier of the target BSF network element, the method further includes:

根据候选BSF网元的负载信息,确定目标BSF网元。According to the load information of the candidate BSF network elements, the target BSF network element is determined.

可选的,在所述接收所述设备管理网元返回的候选BSF网元列表之后,还包括:Optionally, after receiving the candidate BSF network element list returned by the device management network element, the method further includes:

向所述设备管理网元发送故障指示信息;所述故障指示信息用于指示所述终端与第一BSF网元建立连接失败;所述第一BSF网元为所述候选BSF网元列表中任一个,所述故障指示信息包括所述第一BSF网元的标识。Send fault indication information to the device management network element; the fault indication information is used to indicate that the terminal fails to establish a connection with the first BSF network element; the first BSF network element is any one in the candidate BSF network element list. One, the fault indication information includes the identifier of the first BSF network element.

第三方面,本申请提供一种通信装置,所述装置应用于设备管理网元,所述装置包括:In a third aspect, the present application provides a communication apparatus, the apparatus is applied to a device management network element, and the apparatus includes:

接收模块,用于接收来自终端的鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;The receiving module is used to receive an authentication and authentication request from the terminal; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the identification of the terminal and the the identification of the target business;

处理模块,用于根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证;a processing module, configured to authenticate whether the terminal has the right to use the target service according to the identity of the target service and the identity of the terminal;

发送模块,用于在所述认证结果表征所述终端具有所述目标业务的使用权限时,向所述终端发送候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识。A sending module, configured to send a list of candidate bootstrapping service function BSF network elements to the terminal when the authentication result indicates that the terminal has the right to use the target service, where the candidate BSF network element list includes at least one candidate Information of the BSF network element; each candidate BSF network element supports target service authentication for the terminal; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element.

第四方面,本申请提供一种通信装置,所述装置应用于终端,所述装置包括:In a fourth aspect, the present application provides a communication device, the device is applied to a terminal, and the device includes:

第一发送模块,用于向设备管理网元发送鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;a first sending module, configured to send an authentication and authentication request to a device management network element; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the terminal and the identity of the target business;

第一接收模块,用于接收所述设备管理网元返回的候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识;a first receiving module, configured to receive a list of candidate bootstrapping service function BSF network elements returned by the device management network element, where the candidate BSF network element list includes information about at least one candidate BSF network element; each candidate BSF network element Each element supports the authentication of the target service of the terminal; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element;

第二发送模块,用于根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求,所述目标BSF网元为所述候选BSF网元列表中任一个;A second sending module, configured to send an authentication request to the target BSF network element according to the identifier of the target BSF network element, where the target BSF network element is any one of the candidate BSF network element list;

第二接收模块,用于接收所述目标BSF网元在所述终端鉴权通过后返回的秘钥;所述秘钥用于加密所述终端与目标业务服务器之间传输的目标业务的数据。The second receiving module is configured to receive the secret key returned by the target BSF network element after the terminal is authenticated; the secret key is used to encrypt the data of the target service transmitted between the terminal and the target service server.

第五方面,本申请提供一种通信系统,包括:如第一方面任一项所述的设备管理网元、如第二方面任一项所述的终端,以及,至少两个BSF网元。In a fifth aspect, the present application provides a communication system, including: the device management network element according to any one of the first aspect, the terminal according to any one of the second aspect, and at least two BSF network elements.

第六方面,本申请提供一种电子设备,包括:至少一个处理器、存储器、接收器、发送器;In a sixth aspect, the present application provides an electronic device, comprising: at least one processor, a memory, a receiver, and a transmitter;

所述接收器和所述发送器均耦合至所述处理器;所述处理器控制所述接收器的接收动作,所述处理器控制所述发送器的发送动作;Both the receiver and the transmitter are coupled to the processor; the processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;

所述存储器存储计算机执行指令;the memory stores computer-executable instructions;

所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述电子设备执行第一方面或第二方面任一项所述的方法。The at least one processor executes computer-executable instructions stored in the memory to cause the electronic device to perform the method of any one of the first aspect or the second aspect.

第七方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机执行指令,当所述计算机执行指令被处理器执行时,实现第一方面或第二方面任一项所述的方法。In a seventh aspect, the present application provides a computer-readable storage medium, where computer-executable instructions are stored on the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, any one of the first aspect or the second aspect is implemented. one of the methods described.

第八方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现第一方面或第二方面任一项所述的方法。In an eighth aspect, the present application provides a computer program product, including a computer program, which implements the method described in any one of the first aspect or the second aspect when the computer program is executed by a processor.

本申请提供的通信方法、装置、电子设备、存储介质及程序产品,通过终端向设备管理网元发送包括目标业务的标识的鉴权认证请求,在对该终端是否具有目标业务的使用权限的认证通过之后,设备管理网元可以向终端发送候选BSF网元列表。其中,该候选BSF网元列表中的候选BSF网元均支持对该终端的目标业务鉴权。然后终端可以基于该候选BSF网元列表中的目标BSF网元的标识,向该目标BSF网元发送鉴权请求。通过上述方法,可以通过多个BSF网元为通信网络中的所有终端的各目标业务提供对应的秘钥。也就是说,一个BSF网元可以只为部分终端提供该BSF网元支持鉴权的业务的秘钥。相比于现有技术中一个BSF网元需要为所有终端提供所有业务对应的秘钥而言,本申请提供的通信方法减少了BSF网元的负载,提高了BSF网元向终端反馈秘钥的效率,进而提高了终端进行目标业务的效率。The communication method, device, electronic device, storage medium and program product provided by this application send an authentication and authentication request including the identifier of the target service to the device management network element through the terminal, and then verify whether the terminal has the right to use the target service. After passing, the device management network element can send the list of candidate BSF network elements to the terminal. Wherein, the candidate BSF network elements in the candidate BSF network element list all support the target service authentication of the terminal. Then, the terminal may send an authentication request to the target BSF network element based on the identifier of the target BSF network element in the candidate BSF network element list. Through the above method, a corresponding key can be provided for each target service of all terminals in the communication network through a plurality of BSF network elements. That is to say, a BSF network element may only provide some terminals with the secret key of the service for which the BSF network element supports authentication. Compared with the prior art that one BSF network element needs to provide all terminals with keys corresponding to all services, the communication method provided by the present application reduces the load of the BSF network element, and improves the ability of the BSF network element to feed back the keys to the terminals. efficiency, thereby improving the efficiency of the terminal to perform the target service.

附图说明Description of drawings

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

图1为现有的一种通信系统的网络架构示意图;1 is a schematic diagram of a network architecture of an existing communication system;

图2为本申请提供的一种通信系统的网络架构示意图;2 is a schematic diagram of a network architecture of a communication system provided by the application;

图3为本申请提供的一种通信方法的流程示意图;3 is a schematic flowchart of a communication method provided by the present application;

图4为本申请提供的另一种通信方法的流程示意图;4 is a schematic flowchart of another communication method provided by the present application;

图5为本申请提供的一种通信装置300的结构示意图;FIG. 5 is a schematic structural diagram of a communication device 300 provided by the present application;

图6为本申请提供的一种通信装置400的结构示意图;FIG. 6 is a schematic structural diagram of a communication device 400 provided by the present application;

图7为本申请提供的一种电子设备结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Specific embodiments of the present application have been shown by the above-mentioned drawings, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concepts of the present application in any way, but to illustrate the concepts of the present application to those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

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

图1为现有的一种通信系统的网络架构示意图。如图1所示,该通信系统的网络架构包括:用户设备(User Equipment,UE)、BSF网元、HSS,以及,业务服务器。其中,UE等同于本申请中所涉及的终端。终端通过无线的方式与BSF网元相连,终端通过无线的方式与业务服务器相连。BSF网元通过无线或有线方式与HSS连接。终端可以是固定位置的,也可以是可移动的。图1只是示意图,该通信系统中还可以包括其它网络设备,例如还可以包括无线中继设备和无线回传设备等,在图1中未画出。在该通信系统中,BSF网元的数量为1个,本申请对该通信系统中包括的终端、业务服务器和HSS数量不做限定。FIG. 1 is a schematic diagram of a network architecture of an existing communication system. As shown in FIG. 1 , the network architecture of the communication system includes: user equipment (User Equipment, UE), a BSF network element, an HSS, and a service server. Wherein, the UE is equivalent to the terminal involved in this application. The terminal is connected with the BSF network element in a wireless manner, and the terminal is connected with the service server in a wireless manner. The BSF network element is connected to the HSS in a wireless or wired manner. Terminals can be fixed-position or movable. FIG. 1 is only a schematic diagram, and the communication system may also include other network devices, such as wireless relay devices and wireless backhaul devices, etc., which are not shown in FIG. 1 . In the communication system, the number of BSF network elements is one, and the present application does not limit the number of terminals, service servers and HSSs included in the communication system.

其中,上述终端也可以称为接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车辆/船/飞机等交通设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等。The above-mentioned terminal may also be referred to as an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user equipment. The terminal device may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, transportation devices such as vehicles/ships/airplanes, in-vehicle devices, wearable devices, terminal devices in future 5G networks or future evolved public land mobile communication networks ( Terminal equipment in public land mobile network, PLMN), etc.

上述业务例如可以是各种通信系统中的业务。示例性的,上述通信系统例如可以是长期演进(long term evolution,LTE)系统、LTE频分双工(frequency divisionduplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwideinteroperability for microwave access,WiMAX)通信系统、未来的第五代(5thgeneration,5G)系统或新无线(new radio,NR)系统,车到其它设备(Vehicle-to-X V2X),其中V2X可以包括车到互联网(vehicle to network,V2N)、车到车(vehicle to-Vehicle,V2V)、车到基础设施(vehicle to infrastructure,V2I)、车到行人(vehicle topedestrian,V2P)等、车间通信长期演进技术(Long Term Evolution-Vehicle,LTE-V)、车联网、机器类通信(machine type communication,MTC)、物联网(Internet of Things,IoT)、机器间通信长期演进技术(Long Term Evolution-Machine,LTE-M),机器到机器(Machine to Machine,M2M),非地面通信(non-terrestrial network,NTN)系统,NTN系统也可以称为卫星通信系统,或者未来演进的其它通信系统等。The above-mentioned services may be, for example, services in various communication systems. Exemplarily, the above-mentioned communication system may be, for example, a long term evolution (long term evolution, LTE) system, an LTE frequency division duplex (frequency division duplex, FDD) system, an LTE time division duplex (time division duplex, TDD), a universal mobile communication system. (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (WiMAX) communication system, future fifth generation (5th generation, 5G) system or new radio (new radio, NR) system, car to other Equipment (Vehicle-to-X V2X), where V2X can include vehicle to network (V2N), vehicle to-Vehicle (V2V), vehicle to infrastructure (V2I), vehicle Vehicle topedestrian (V2P), etc., Long Term Evolution-Vehicle (LTE-V), Internet of Vehicles, Machine Type Communication (MTC), Internet of Things (IoT) , Long Term Evolution-Machine (LTE-M), Machine to Machine (M2M), non-terrestrial communication (non-terrestrial network, NTN) system, NTN system can also be called satellite communication system, or other communication systems evolved in the future, etc.

基于上述通信系统,终端可以从BSF网元处,获取与业务服务器进行数据传输所需的秘钥。具体的,终端可以使用BSF网元的网际互连协议(Internet Protocol,IP)地址,与BSF网元建立连接,并可以向该BSF网元发送鉴权请求。在对终端鉴权通过后,BSF网元可以从HSS处获取该终端进行上述业务所需秘钥,并将该秘钥发送给该终端。相应的,终端可以接收上述BSF网元发送的秘钥,并使用该秘钥与上述业务服务器进行数据传输。Based on the above communication system, the terminal can obtain the secret key required for data transmission with the service server from the BSF network element. Specifically, the terminal may use the Internet Protocol (Internet Protocol, IP) address of the BSF network element to establish a connection with the BSF network element, and may send an authentication request to the BSF network element. After passing the authentication of the terminal, the BSF network element can obtain the secret key required by the terminal to perform the above service from the HSS, and send the secret key to the terminal. Correspondingly, the terminal may receive the secret key sent by the above-mentioned BSF network element, and use the secret key to perform data transmission with the above-mentioned service server.

目前,上述通信系统提供的通信网络中包括一个BSF网元,该BSF网元用于为该通信网络中的所有终端提供各终端所有业务对应的秘钥。然而,现有的通信方法存在BSF网元向终端反馈秘钥的效率较低的问题。At present, the communication network provided by the above communication system includes a BSF network element, and the BSF network element is used to provide all terminals in the communication network with keys corresponding to all services of each terminal. However, the existing communication method has the problem that the efficiency of the BSF network element feeding back the secret key to the terminal is low.

发明人经过分析和研究,发现造成BSF网元向终端反馈秘钥的效率较低的原因是只有一个BSF网元为该通信网络中的所有终端提供各终端所有业务对应的秘钥,容易导致该通信网络中的BSF网元的负载往往较大,进而导致BSF网元向终端反馈秘钥的效率较低。After analysis and research, the inventor found that the reason for the low efficiency of the BSF network element feeding back the secret key to the terminal is that only one BSF network element provides the secret key corresponding to all the services of each terminal for all the terminals in the communication network, which is easy to cause this problem. The load of the BSF network element in the communication network is often large, which leads to low efficiency of the BSF network element feeding back the secret key to the terminal.

因此,本申请提出了一种基于多个BSF网元,为通信网络中的所有终端提供目标业务对应的秘钥的通信方法。相比于现有技术中一个BSF网元需要为所有终端提供所有业务对应的秘钥而言,本申请提供的通信方法减少了单个BSF网元的负载,提高了BSF网元向终端反馈秘钥的效率,进而提高了终端进行目标业务的效率。Therefore, the present application proposes a communication method based on a plurality of BSF network elements to provide all terminals in a communication network with a key corresponding to a target service. Compared with the prior art that one BSF network element needs to provide all terminals with keys corresponding to all services, the communication method provided by the present application reduces the load of a single BSF network element, and improves the feedback of the BSF network element to the terminal. The efficiency of the terminal further improves the efficiency of the target service.

为了便于对本申请的理解,下面对本申请所涉及的网络架构进行说明和介绍。图2为本申请提供的一种通信系统的网络架构示意图。如图2所示,该通信网络包括终端、设备管理(Device Management,DM)网元、HSS,以及,至少两个BSF网元(图2仅示例性的展示了一个BSF网元)。In order to facilitate the understanding of the present application, the following describes and introduces the network architecture involved in the present application. FIG. 2 is a schematic diagram of a network architecture of a communication system provided by the present application. As shown in FIG. 2 , the communication network includes a terminal, a Device Management (DM) network element, an HSS, and at least two BSF network elements (only one BSF network element is exemplarily shown in FIG. 2 ).

其中,设备管理网元用于根据终端要执行的业务,给该终端分配该通信网络中的BSF网元。终端在接收到设备管理网元发送的候选BSF网元的信息之后,可以根据该候选BSF网元的信息与BSF连接,以从该BSF处获取与目标业务服务器进行数据传输所需的秘钥。The device management network element is used for allocating the BSF network element in the communication network to the terminal according to the service to be performed by the terminal. After receiving the information of the candidate BSF network element sent by the device management network element, the terminal can connect with the BSF according to the information of the candidate BSF network element to obtain the secret key required for data transmission with the target service server from the BSF.

应理解,图2仅示例性的展示了上述通信系统中与本申请相关的设备,本申请对该通信系统是否还包括其他设备并不进行限定。It should be understood that FIG. 2 only exemplarily shows the devices related to the present application in the above communication system, and the present application does not limit whether the communication system further includes other devices.

基于如图2所示的通信系统提供的通信网络,下面结合具体地实施例对本申请的通信方法进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。应理解,下面是以上述通信方法的执行主体为终端,以及,设备管理网元为例进行的说明。具体实现时,下述终端执行的方法的执行主体例如还可以是终端中具有处理功能的芯片。设备管理网元执行的方法的执行主体例如还可以是设备管理网元中具有处理功能的芯片。Based on the communication network provided by the communication system as shown in FIG. 2 , the communication method of the present application will be described in detail below with reference to specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. It should be understood that the following description takes the execution subject of the above communication method as the terminal and the device management network element as an example. During specific implementation, the execution body of the following method executed by the terminal may also be, for example, a chip with a processing function in the terminal. For example, the execution body of the method performed by the device management network element may also be a chip with a processing function in the device management network element.

图3为本申请提供的一种通信方法的流程示意图。如图3所示,该方法包括以下步骤:FIG. 3 is a schematic flowchart of a communication method provided by the present application. As shown in Figure 3, the method includes the following steps:

S101、终端向设备管理网元发送鉴权认证请求。S101. The terminal sends an authentication and authentication request to a device management network element.

其中,上述鉴权认证请求用于请求对终端的目标业务进行鉴权认证。具体的,该鉴权认证请求包括上述终端的标识和目标业务的标识。上述鉴权认证指的是对终端是否具有目标业务的使用权限进行认证。The above authentication and authentication request is used to request authentication and authentication of the target service of the terminal. Specifically, the authentication request includes the identifier of the terminal and the identifier of the target service. The above-mentioned authentication and authentication refers to authentication of whether the terminal has the right to use the target service.

示例性的,上述终端的标识例如可以是终端的唯一识别码。或者,以终端具有目标业务使用权限为例,该终端的标识例如还可以是终端在开通该目标业务时所使用的用户名和密码。示例性的,上述目标业务的标识可以是预先存储在终端中的。不同目标业务的标识不同。终端中例如可以存储有多个业务与业务的标识之间的映射关系。终端可以根据用户触发的业务(即目标业务),以及,业务与业务的标识之间的映射关系,确定该目标业务对应的目标业务的标识。Exemplarily, the identifier of the terminal may be, for example, a unique identification code of the terminal. Or, taking the terminal having the right to use the target service as an example, the identifier of the terminal may also be, for example, the user name and password used by the terminal when activating the target service. Exemplarily, the identifier of the above target service may be pre-stored in the terminal. Different target businesses have different identifications. For example, the terminal may store a mapping relationship between multiple services and service identifiers. The terminal may determine the identifier of the target service corresponding to the target service according to the service triggered by the user (ie, the target service) and the mapping relationship between the service and the service identifier.

相应的,设备管理网元可以接收上述来自终端的鉴权认证请求。Correspondingly, the device management network element may receive the above authentication request from the terminal.

S102、设备管理网元根据目标业务的标识和终端的标识,对终端是否具有目标业务的使用权限进行认证。S102: The device management network element authenticates whether the terminal has the right to use the target service according to the identifier of the target service and the identifier of the terminal.

作为一种可能的实现方式,在接收到上述鉴权认证请求之后,设备管理网元例如可以向业务支撑系统(Business support system,BSS)发送用于请求对该终端的目标业务进行认证的认证请求,然后接收BSS返回的认证结果。其中,上述认证请求可以包括该终端的标识,以及,该目标业务的标识。应理解,本申请对BSS如何对该终端是否具有目标业务的使用权限进行验证并不进行限定。As a possible implementation manner, after receiving the above authentication and authentication request, the device management network element may, for example, send an authentication request for requesting authentication of the target service of the terminal to a business support system (BSS) , and then receive the authentication result returned by the BSS. The above authentication request may include the identifier of the terminal and the identifier of the target service. It should be understood that this application does not limit how the BSS verifies whether the terminal has the right to use the target service.

示例性的,BSS中可以存储有具有该目标业务使用权限的所有的终端的标识。在该实现方式下,BSS首先可以根据目标任务的标识,确定该终端对应的目标业务。然后具有该目标业务使用权限的所有的终端的标识中,是否存在与该终端的标识相同的标识。若存在,说明该终端具有该目标任务的使用权限,则BSS可以向设备管理网元发送表征该终端具有目标业务的使用权限的认证结果。若不存在,说明该终端不具有该目标任务的使用权限,则BSS可以向设备管理网元发送表征该终端不具有目标业务的使用权限的认证结果。Exemplarily, the BSS may store the identifiers of all terminals that have the right to use the target service. In this implementation manner, the BSS can first determine the target service corresponding to the terminal according to the identifier of the target task. Then, whether there is an identifier that is the same as the identifier of the terminal in the identifiers of all terminals that have the right to use the target service. If it exists, it means that the terminal has the use authority of the target task, and the BSS may send the authentication result indicating that the terminal has the use authority of the target service to the device management network element. If it does not exist, it means that the terminal does not have the right to use the target task, and the BSS may send an authentication result to the device management network element indicating that the terminal does not have the right to use the target service.

作为另一种可能的实现方式,设备管理网元例如还可以获取来自BSS的处获取具有该目标业务使用权限的所有的终端的标识。然后设备管理网元可以根据该目标业务使用权限的所有的终端的标识,以及,该终端的标识,对终端是否具有目标业务的使用权限进行认证,以获取认证结果。As another possible implementation manner, the device management network element may, for example, also obtain the identifiers of all terminals that have the right to use the target service from the BSS. Then, the device management network element can verify whether the terminal has the right to use the target service according to the identifiers of all the terminals with the target service use authority and the terminal's identifier, so as to obtain the verification result.

当认证结果表征则该终端具有目标业务的使用权限时,设备管理网元执行步骤S103。当认证结果表征则该终端不具有目标业务的使用权限时,可选的,设备管理网元可以执行步骤S106。When the authentication result indicates that the terminal has the right to use the target service, the device management network element executes step S103. When the authentication result indicates that the terminal does not have the right to use the target service, optionally, the device management network element may perform step S106.

S103、设备管理网元向终端发送候选BSF网元列表。S103: The device management network element sends a list of candidate BSF network elements to the terminal.

上述候选BSF网元列表包括至少一个候选BSF网元的信息。该候选BSF网元的信息包括候选BSF网元的标识。其中,每个候选BSF网元均支持对该终端的该目标业务鉴权。示例性的,上述候选BSF网元的标识可以是候选BSF网元的主机名,或者,候选BSF网元的IP地址等。The above candidate BSF network element list includes information of at least one candidate BSF network element. The information of the candidate BSF network element includes the identifier of the candidate BSF network element. Wherein, each candidate BSF network element supports the authentication of the target service of the terminal. Exemplarily, the identifier of the candidate BSF network element may be the hostname of the candidate BSF network element, or the IP address of the candidate BSF network element, or the like.

作为一种可能的实现方式,设备管理网元首先可以根据目标业务的标识,从BSF网元列表中确定支持对该终端的该目标业务鉴权的多个初始BSF网元。然后根据这些初始BSF网元的负载信息,确定候选BSF网元列表。相比于现有技术中一个BSF网元需要为终端提供所有业务对应的秘钥而言,该实现方式中的初始BSF网元可以只需为终端提供该目标业务对应的秘钥,减少了BSF网元的负载,提高了BSF网元向终端反馈秘钥的效率。此外,该实现方式中根据初始BSF网元的负载信息,可以将负载较少的初始BSF网元作为候选BSF网元,进一步提高了BSF网元向终端反馈秘钥的效率。As a possible implementation manner, the device management network element may first determine, according to the identifier of the target service, from the BSF network element list, multiple initial BSF network elements that support the authentication of the target service for the terminal. Then, according to the load information of these initial BSF network elements, a list of candidate BSF network elements is determined. Compared with the prior art that a BSF network element needs to provide the terminal with keys corresponding to all services, the initial BSF network element in this implementation can only provide the terminal with the key corresponding to the target service, reducing the number of BSFs. The load of the network element improves the efficiency of the BSF network element feeding back the secret key to the terminal. In addition, in this implementation manner, according to the load information of the initial BSF network element, the initial BSF network element with less load can be used as the candidate BSF network element, which further improves the efficiency of the BSF network element feeding back the secret key to the terminal.

具体实现时,设备管理网元首先可以基于目标业务的标识,从BSF网元列表中获取与该目标业务对应的多个初始BSF网元的标识,以及,该多个初始BSF网元的负载信息。其中,上述BSF网元列表中的各BSF网元的标识可以是用户预先存储在设备管理网元中的。设备管理网元可以按照预设频率更新BSF网元列表中各BSF网元的负载信息。示例性的,设备管理网元例如可以从各BSF网元处,获取各BSF网元对应的负载信息。During specific implementation, the device management network element may first obtain the identifiers of multiple initial BSF network elements corresponding to the target service from the BSF network element list based on the identifier of the target service, and the load information of the multiple initial BSF network elements . Wherein, the identifiers of each BSF network element in the above-mentioned BSF network element list may be pre-stored in the device management network element by the user. The device management network element may update the load information of each BSF network element in the BSF network element list according to a preset frequency. Exemplarily, the device management network element may, for example, obtain load information corresponding to each BSF network element from each BSF network element.

上述BSF网元列表中包括业务与BSF网元的映射关系。设备管理网元可以根据目标业务的标识,以及,上述业务与BSF网元的映射关系,从BSF网元列表中确定该目标业务对应的多个初始BSF网元。The above-mentioned BSF network element list includes the mapping relationship between services and BSF network elements. The device management network element may determine a plurality of initial BSF network elements corresponding to the target service from the BSF network element list according to the identifier of the target service and the mapping relationship between the above service and the BSF network element.

示例性的,上述业务与BSF网元的映射关系例如可以如下表1所示:Exemplarily, the mapping relationship between the above-mentioned services and BSF network elements may be as shown in Table 1 below:

表1Table 1

业务business BSF网元BSF network element 业务1Business 1 BSF网元1BSF network element 1 业务1Business 1 BSF网元2BSF network element 2 业务1Business 1 BSF网元3BSF network element 3 业务2Business 2 BSF网元4BSF network element 4 业务2Business 2 BSF网元5BSF network element 5

如表1所示,假设目标业务为业务1,则该目标业务对应的多个初始BSF网元分别为BSF网元1、BSF网元2,以及,BSF网元3。As shown in Table 1, assuming that the target service is service 1, the multiple initial BSF network elements corresponding to the target service are BSF network element 1, BSF network element 2, and BSF network element 3, respectively.

在确定该目标业务对应的多个初始BSF网元之后,设备管理网元可以从BSF网元列表中获取该多个初始BSF网元的标识,以及,该多个初始BSF网元的负载信息。After determining the multiple initial BSF network elements corresponding to the target service, the device management network element may obtain the identifiers of the multiple initial BSF network elements and the load information of the multiple initial BSF network elements from the BSF network element list.

然后,设备管理网元可以根据上述多个初始BSF网元的负载信息,从该多个初始BSF网元中确定出候选BSF网元。可选的,设备管理网元例如可以将负载信息小于第一预设负载阈值的初始BSF网元作为候选BSF网元。其中,该第一预设负载阈值例如可以是用户预先存储在设备管理网元中的。或者,设备管理网元还可以将上述多个初始BSF网元中负载信息最小的BSF网元作为候选BSF网元。Then, the device management network element may determine candidate BSF network elements from the plurality of initial BSF network elements according to the load information of the plurality of initial BSF network elements. Optionally, the device management network element may, for example, use the initial BSF network element whose load information is less than the first preset load threshold as the candidate BSF network element. The first preset load threshold may be, for example, pre-stored in the device management network element by the user. Alternatively, the device management network element may also use the BSF network element with the smallest load information among the above-mentioned multiple initial BSF network elements as the candidate BSF network element.

在确定候选BSF网元之后,设备管理网元可以根据该确定的候选BSF网元,生成候选BSF网元列表。具体的,设备管理网元可以将各候选BSF网元的标识添加到该候选BSF网元列表中。然后,设备管理网元可以向终端发送该候选BSF网元列表。After the candidate BSF network element is determined, the device management network element may generate a candidate BSF network element list according to the determined candidate BSF network element. Specifically, the device management network element may add the identifier of each candidate BSF network element to the candidate BSF network element list. Then, the device management network element may send the list of candidate BSF network elements to the terminal.

作为另一种可能的实现方式,上述候选BSF网元的信息还可以包括候选BSF网元的负载信息,以使终端可以根据各候选BSF网元的负载信息,确定目标BSF网元。As another possible implementation manner, the information of the candidate BSF network elements may further include load information of the candidate BSF network elements, so that the terminal can determine the target BSF network element according to the load information of each candidate BSF network element.

相应的,终端可以接收设备管理网元返回的候选BSF网元列表。Correspondingly, the terminal may receive the candidate BSF network element list returned by the device management network element.

S104、终端根据目标BSF网元的标识,向目标BSF网元发送鉴权请求。S104. The terminal sends an authentication request to the target BSF network element according to the identifier of the target BSF network element.

其中,上述目标BSF网元为候选BSF网元列表中的任一个。上述鉴权请求指的是通用引导架构(General Bootstrapping Architecture,GBA)鉴权请求。Wherein, the above-mentioned target BSF network element is any one in the candidate BSF network element list. The above authentication request refers to a General Bootstrapping Architecture (General Bootstrapping Architecture, GBA) authentication request.

若候选BSF网元列表中仅包括一个候选BSF网元的标识,则终端可以将该候选BSF网元作为目标BSF网元。若候选BSF网元列表中包括多个候选BSF网元的标识,可选的,终端可以根据该上述候选BSF网元的负载信息,确定目标BSF网元。具体的,终端可以将负载最小的候选BSF网元作为目标BSF网元。If the list of candidate BSF network elements only includes the identifier of one candidate BSF network element, the terminal may use the candidate BSF network element as the target BSF network element. If the candidate BSF network element list includes identifiers of multiple candidate BSF network elements, optionally, the terminal may determine the target BSF network element according to the load information of the candidate BSF network elements. Specifically, the terminal may use the candidate BSF network element with the smallest load as the target BSF network element.

若目标BSF网元的标识为目标BSF网元的主机名,可选的,终端可以在获取目标BSF网元的标识之后,将该目标BSF网元的标识发送给域名系统(Domain Name System,DNS),以从DNS处获取该目标BSF网元的IP地址。然后终端可以使用该目标BSF网元的IP地址,向目标BSF网元发送鉴权请求。If the identifier of the target BSF network element is the host name of the target BSF network element, optionally, after obtaining the identifier of the target BSF network element, the terminal may send the identifier of the target BSF network element to the Domain Name System (DNS) ) to obtain the IP address of the target BSF network element from DNS. Then the terminal can send an authentication request to the target BSF network element by using the IP address of the target BSF network element.

若目标BSF网元的标识为目标BSF网元的IP地址,则终端可以直接使用该目标BSF网元的IP地址,向目标BSF网元发送鉴权请求。If the identifier of the target BSF network element is the IP address of the target BSF network element, the terminal may directly use the IP address of the target BSF network element to send an authentication request to the target BSF network element.

S105、终端接收目标BSF网元在终端鉴权通过后返回的秘钥。S105, the terminal receives the secret key returned by the target BSF network element after the terminal authentication is passed.

其中,该秘钥用于加密终端与目标业务服务器之间传输的目标业务的数据。The secret key is used to encrypt the data of the target service transmitted between the terminal and the target service server.

应理解,本申请对目标BSF网元如何对终端进行鉴权不进行限定。如前述所说,目标BSF网元在接收到终端发送的鉴权请求之后,可以从HSS网元处获取上述秘钥,然后将该秘钥发送给该终端。It should be understood that this application does not limit how the target BSF network element authenticates the terminal. As mentioned above, after receiving the authentication request sent by the terminal, the target BSF network element can obtain the above-mentioned secret key from the HSS network element, and then send the secret key to the terminal.

S106、设备管理网元向终端发送用于指示终端不具有目标业务的使用权限的指示信息。S106: The device management network element sends, to the terminal, indication information for indicating that the terminal does not have the right to use the target service.

相应的,终端可以接收该用于指示终端不具有目标业务的使用权限的指示信息。然后,终端可以输出该指示信息,以提醒用户暂时未开通该目标业务的使用权限。示例性的,终端例如可以将上述指示信息输出至该终端的显示装置。Correspondingly, the terminal may receive the indication information indicating that the terminal does not have the right to use the target service. Then, the terminal may output the indication information to remind the user that the use authority of the target service has not been activated for the time being. Exemplarily, the terminal may, for example, output the above-mentioned indication information to the display device of the terminal.

在本实施例中,终端向设备管理网元发送包括目标业务的标识的鉴权认证请求,在对该终端是否具有目标业务的使用权限的认证通过之后,设备管理网元可以向终端发送候选BSF网元列表。其中,该候选BSF网元列表中的候选BSF网元均支持对该终端的目标业务鉴权。然后终端可以基于该候选BSF网元列表中的目标BSF网元的标识,向该目标BSF网元发送鉴权请求。通过上述方法,可以通过多个BSF网元为通信网络中的所有终端的各目标业务提供对应的秘钥。也就是说,一个BSF网元可以只为部分终端提供该BSF网元支持鉴权的业务的秘钥。相比于现有技术中一个BSF网元需要为所有终端提供所有业务对应的秘钥而言,本申请提供的通信方法减少了BSF网元的负载,提高了BSF网元向终端反馈秘钥的效率,进而提高了终端进行目标业务的效率。In this embodiment, the terminal sends an authentication request including the identifier of the target service to the device management network element, and after the authentication of whether the terminal has the right to use the target service is passed, the device management network element may send the candidate BSF to the terminal NE list. Wherein, the candidate BSF network elements in the candidate BSF network element list all support the target service authentication of the terminal. Then, the terminal may send an authentication request to the target BSF network element based on the identifier of the target BSF network element in the candidate BSF network element list. Through the above method, a corresponding key can be provided for each target service of all terminals in the communication network through a plurality of BSF network elements. That is to say, a BSF network element may only provide some terminals with the secret key of the service for which the BSF network element supports authentication. Compared with the prior art that one BSF network element needs to provide all terminals with keys corresponding to all services, the communication method provided by the present application reduces the load of the BSF network element, and improves the ability of the BSF network element to feed back the keys to the terminals. efficiency, thereby improving the efficiency of the terminal to perform the target service.

作为一种可能的实现方式,终端在接收到设备管理网元返回的候选BSF网元列表之后,还可以判断第一BSF网元是否出现故障,以保证终端与BSF网元连接成功,进而保证了终端获取上述秘钥的效率。其中,上述第一BSF网元可以为候选BSF网元列表中的任意一个BSF网元。上述故障指的是终端与该第一BSF网元建立连接失败。As a possible implementation manner, after receiving the list of candidate BSF network elements returned by the device management network element, the terminal may also determine whether the first BSF network element is faulty, so as to ensure that the terminal is successfully connected to the BSF network element, thereby ensuring that the terminal is successfully connected to the BSF network element. The efficiency with which the terminal obtains the above-mentioned secret key. The above-mentioned first BSF network element may be any BSF network element in the candidate BSF network element list. The above failure refers to the failure of the terminal to establish a connection with the first BSF network element.

若终端确定该第一BSF网元出现故障,则终端可以向设备管理网元发送用于指示该终端与第一BSF网元建立连接失败的故障指示信息,以通知设备管理网元该第一BSF网元可能存在故障。其中,上述故障指示信息包括该第一BSF网元的标识。若终端确定该第一BSF网元未出现故障,可选的,终端可以根据该第一BSF的标识,向该第一BSF网元发送鉴权请求。If the terminal determines that the first BSF network element is faulty, the terminal may send fault indication information to the equipment management network element to indicate that the terminal fails to establish a connection with the first BSF network element, so as to notify the equipment management network element of the first BSF network element. The network element may be faulty. Wherein, the above-mentioned fault indication information includes the identifier of the first BSF network element. If the terminal determines that the first BSF network element is not faulty, optionally, the terminal may send an authentication request to the first BSF network element according to the identifier of the first BSF.

相应的,设备管理网元可以接收上述来自终端的故障指示信息。图4为本申请提供的另一种通信方法的流程示意图。如图4所示,该方法包括以下步骤:Correspondingly, the device management network element may receive the above-mentioned fault indication information from the terminal. FIG. 4 is a schematic flowchart of another communication method provided by the present application. As shown in Figure 4, the method includes the following steps:

S201、设备管理网元接收来自终端的故障指示信息。S201. The device management network element receives the fault indication information from the terminal.

S202、设备管理网元确定该第一BSF网元是否存在故障。S202. The device management network element determines whether the first BSF network element is faulty.

作为第一种可能的实现方式,设备管理网元可以先判断BSF网元列表中该第一BSF网元是否具有用于表征该第一BSF网元存在故障的预设标签。若该第一BSF网元存在该预设标签,则设备管理网元确定该第一BSF网元存在故障,以提高对该第一BSF网元是否存在故障进行判断的效率。若第一BSF网元不存在该预设标签,则设备管理网元可以获取该第一BSF网元的故障检测结果,并根据该故障检测结果,确定该第一BSF网元是否存在故障,以提高确定该第一BSF网元是否存在故障的准确性。As a first possible implementation manner, the device management network element may first determine whether the first BSF network element in the BSF network element list has a preset label used to indicate that the first BSF network element is faulty. If the preset label exists in the first BSF network element, the device management network element determines that the first BSF network element is faulty, so as to improve the efficiency of judging whether the first BSF network element is faulty. If the preset label does not exist on the first BSF network element, the device management network element can obtain the fault detection result of the first BSF network element, and determine whether the first BSF network element is faulty according to the fault detection result, so as to determine whether the first BSF network element is faulty. The accuracy of determining whether the first BSF network element is faulty is improved.

应理解,本申请对上述预设标签的形式并不进行限定。示例性的,上述预设标签例如可以是数字或者字母等。It should be understood that the present application does not limit the form of the above preset labels. Exemplarily, the above-mentioned preset labels may be numbers or letters, for example.

下面对设备管理网元如何获取该第一BSF网元的故障检测结果进行详细说明:The following describes in detail how the device management network element obtains the fault detection result of the first BSF network element:

可选的,设备管理网元可以根据与该第一BSF网元之间的通信连接状态,确定该第一BSF网元的故障检测结果。在该实现方式下,若设备管理网元与该第一BSF网元建立连接所用的时间大于预设时间阈值,说明设备管理网元与第一BSF网元建立连接失败,则设备管理网元可以确定故障检测结果为第一BSF网元存在故障。若设备管理网元与该第一BSF网元建立连接所用的时间小于或等于预设时间阈值,说明设备管理网元与第一BSF网元建立连接成功,则设备管理网元可以确定故障检测结果为第一BSF网元不存在故障。Optionally, the device management network element may determine the fault detection result of the first BSF network element according to the communication connection state with the first BSF network element. In this implementation manner, if the time it takes for the device management network element to establish a connection with the first BSF network element is greater than the preset time threshold, it means that the device management network element fails to establish a connection with the first BSF network element, and the device management network element can It is determined that the fault detection result is that the first BSF network element is faulty. If the time it takes for the device management network element to establish a connection with the first BSF network element is less than or equal to the preset time threshold, it means that the device management network element successfully establishes a connection with the first BSF network element, and the device management network element can determine the fault detection result. There is no fault in the first BSF network element.

或者,设备管理网元还可以获取BSF管理网元针对该第一BSF网元的故障检测结果。在该实现方式下,设备管理网元可以向BSF管理网元发送第一BSF网元的故障检测请求。然后获取BSF管理网元针对该第一BSF网元的故障检测结果。Alternatively, the device management network element may also acquire the fault detection result of the BSF management network element for the first BSF network element. In this implementation manner, the device management network element may send the failure detection request of the first BSF network element to the BSF management network element. Then, the fault detection result of the BSF management network element for the first BSF network element is acquired.

再或者,设备管理网元还可以根据与该第一BSF网元之间的通信连接状态,以及,BSF管理网元针对该第一BSF网元的故障检测结果,确定该第一BSF网元的故障检测结果。在该实现方式下,若设备管理网元与该第一BSF网元建立连接所用的时间大于预设时间阈值,或者,BSF管理网元针对该第一BSF网元的故障检测结果表征该第一BSF网元存在故障,设备管理网元可以确定该第一BSF网元的故障检测结果为第一BSF网元存在故障。若设备管理网元与该第一BSF网元建立连接所用的时间小于或等于预设时间阈值,且BSF管理网元针对该第一BSF网元的故障检测结果表征该第一BSF网元不存在故障,设备管理网元可以确定该第一BSF网元的故障检测结果为第一BSF网元不存在故障。Still alternatively, the device management network element may also determine the fault of the first BSF network element according to the communication connection state with the first BSF network element and the fault detection result of the BSF management network element for the first BSF network element. Fault detection results. In this implementation manner, if the time taken by the device management network element to establish the connection with the first BSF network element is greater than the preset time threshold, or, the fault detection result of the BSF management network element for the first BSF network element represents the first BSF network element. If the BSF network element is faulty, the device management network element may determine that the fault detection result of the first BSF network element is that the first BSF network element is faulty. If the time taken by the device management network element to establish the connection with the first BSF network element is less than or equal to the preset time threshold, and the fault detection result of the BSF management network element for the first BSF network element indicates that the first BSF network element does not exist If there is a fault, the device management network element may determine that the fault detection result of the first BSF network element is that the first BSF network element is not faulty.

作为第二种可能的实现方式,设备管理网元例如还可以直接获取该第一BSF网元的故障检测结果,并根据该故障检测结果确定该第一BSF网元是否存在故障。在该实现方式下,设备管理网元获取上述故障检测结果的方式例如可以参照上述实施例所述的方法,在此不再赘述。As a second possible implementation manner, the device management network element may, for example, directly acquire the fault detection result of the first BSF network element, and determine whether the first BSF network element is faulty according to the fault detection result. In this implementation manner, for the manner in which the device management network element obtains the above fault detection result, for example, reference may be made to the method described in the above embodiment, and details are not described herein again.

若确定该第一BSF网元存在故障,则执行步骤S203。若确定该第一BSF网元不存在故障,可选的,设备管理网元可以执行步骤S204。If it is determined that the first BSF network element is faulty, step S203 is performed. If it is determined that the first BSF network element is not faulty, optionally, the device management network element may perform step S204.

S203、设备管理网元向终端发送第二BSF网元的信息,并从BSF网元列表中删除该第一BSF网元的标识。S203. The device management network element sends the information of the second BSF network element to the terminal, and deletes the identifier of the first BSF network element from the BSF network element list.

其中,上述第二BSF网元为BSF网元列表中除第一BSF网元之外的任一个BSF网元。通过在确定第一BSF网元存在故障之后,立即向该终端发送第二BSF网元的信息,保证了终端获取目标BSF网元的效率。通过将该第一BSF网元的标识从BSF网元列表中删除,使得设备管理网元不再将该第一BSF网元作为候选BSF网元,保证了设备管理网元后续确定业务对应的候选BSF网元的准确性,保证了各终端进行目标业务的效率。Wherein, the above-mentioned second BSF network element is any BSF network element except the first BSF network element in the BSF network element list. By immediately sending the information of the second BSF network element to the terminal after it is determined that the first BSF network element is faulty, the efficiency of the terminal in acquiring the target BSF network element is ensured. By deleting the identifier of the first BSF network element from the BSF network element list, the device management network element no longer takes the first BSF network element as a candidate BSF network element, ensuring that the device management network element subsequently determines the candidate corresponding to the service The accuracy of the BSF network element ensures the efficiency of each terminal in carrying out the target service.

S204、设备管理网元在BSF网元列表中对第一BSF网元添加预设标签。S204. The device management network element adds a preset label to the first BSF network element in the BSF network element list.

在执行该步骤S204之后,设备管理网元可以执行下述步骤S205,以对具有预设标签的BSF网元进行进一步的故障检测。After performing this step S204, the device management network element may perform the following step S205 to perform further fault detection on the BSF network element with the preset label.

S205、设备管理网元在预设时长内进一步检测该第一BSF网元是否存在故障。S205. The device management network element further detects whether the first BSF network element has a fault within a preset time period.

其中,上述预设时长可以是用户预先存储在设备管理网元中的。The above preset duration may be pre-stored in the device management network element by the user.

应理解,本申请对设备管理网元如何在预设时长内检测该第一BSF网元是否存在故障并不进行限定。具体实现时,例如可以参照前述实施例所述设备管理网元获取该第一BSF网元的故障检测结果的方法,在此不再赘述。It should be understood that this application does not limit how the device management network element detects whether the first BSF network element is faulty within a preset time period. During specific implementation, for example, the method for obtaining the fault detection result of the first BSF network element can be obtained by referring to the device management network element described in the foregoing embodiments, and details are not described herein again.

若预设时长内检测该第一BSF网元无故障,说明导致终端与该第一BSF网元连接失败的原因可能是终端出现故障,则设备管理网元可以执行步骤S206。若预设时长内检测该第一BSF网元存在故障,则设备管理网元可以执行步骤S207。If it is detected that the first BSF network element is fault-free within the preset time period, it indicates that the failure of connecting the terminal with the first BSF network element may be the terminal failure, and the device management network element may perform step S206. If it is detected that the first BSF network element is faulty within the preset time period, the device management network element may perform step S207.

S206、设备管理网元从BSF网元列表中删除该第一BSF网元的预设标签。S206, the device management network element deletes the preset label of the first BSF network element from the BSF network element list.

可选的,在确定该第一BSF网元不存在故障之后,设备管理网元还可以向该终端再次发送该第一BSF网元的信息。通过将该第一BSF网元的信息发送给终端,节约了设备管理网元重新确认新的BSF网元的时间,提高了终端获取进行目标业务的效率。Optionally, after determining that the first BSF network element is not faulty, the device management network element may further send the information of the first BSF network element to the terminal again. By sending the information of the first BSF network element to the terminal, the time for the device management network element to re-confirm the new BSF network element is saved, and the efficiency of the terminal acquiring and performing the target service is improved.

S207、设备管理网元从BSF网元列表中删除该第一BSF网元的标识。S207. The device management network element deletes the identifier of the first BSF network element from the BSF network element list.

通过将该第一BSF网元的标识从BSF网元列表中删除,使得设备管理网元不再将该第一BSF网元作为候选BSF网元,保证了设备管理网元后续确定业务对应的候选BSF网元的准确性,保证了各终端进行目标业务的效率。By deleting the identifier of the first BSF network element from the BSF network element list, the device management network element no longer takes the first BSF network element as a candidate BSF network element, ensuring that the device management network element subsequently determines the candidate corresponding to the service The accuracy of the BSF network element ensures the efficiency of each terminal in carrying out the target service.

可选的,若预设时长内检测该第一BSF网元存在故障,设备管理网元还可以向BSF管理网元发送包括该第一BSF网元的标识的故障告警信息。Optionally, if it is detected that the first BSF network element is faulty within a preset time period, the equipment management network element may also send fault alarm information including the identifier of the first BSF network element to the BSF management network element.

作为一种可能的实现方式,设备管理网元还可以根据网络中各BSF网元所对应的业务和负载信息,更新上述BSF网元列表,以提高设备管理网元确定候选BSF网元列表的准确性,进而进一步提高终端根据该候选BSF网元列表进行目标业务的效率。针对设备管理网元如何根据网络中各BSF网元所对应的业务和负载信息,更新上述BSF网元列表,下面为本申请提供的几种可能的实现方式。As a possible implementation manner, the device management network element may also update the above-mentioned BSF network element list according to the service and load information corresponding to each BSF network element in the network, so as to improve the accuracy of the device management network element in determining the candidate BSF network element list properties, thereby further improving the efficiency of the terminal performing the target service according to the candidate BSF network element list. Regarding how the device management network element updates the above-mentioned BSF network element list according to the service and load information corresponding to each BSF network element in the network, several possible implementation manners are provided in the present application as follows.

在第一种可能的实现方式中,设备管理网元可以判断网络中是否存在新增的BSF网元。示例性的,设备管理网元例如可以从BSF管理网元处获取网络中是否存在新增的BSF网元的结果。In a first possible implementation manner, the device management network element may determine whether a newly added BSF network element exists in the network. Exemplarily, the device management network element may, for example, obtain the result of whether a newly added BSF network element exists in the network from the BSF management network element.

若网络中存在新增的BSF网元,则设备管理网元可以根据网络中各BSF网元所对应的业务和负载信息,确定该新增的BSF网元对应的业务,并在BSF网元列表中添加该新增的BSF网元。具体的,可以将该新增的BSF网元的标识信息添加到BSF网元列表中。针对如何确定新增的BSF网元对应的业务,下面是本申请提供的两种可能的实现方式:If there is a newly added BSF network element in the network, the device management network element can determine the service corresponding to the newly added BSF network element according to the service and load information corresponding to each BSF network element in the network, and display it in the BSF network element list. The newly added BSF network element is added in . Specifically, the identification information of the newly added BSF network element may be added to the BSF network element list. Regarding how to determine the service corresponding to the newly added BSF network element, the following are two possible implementations provided by this application:

可选的,针对BSF网元列表中的所有BSF网元对应的所有业务中的任一业务,设备管理网元可以获取与该业务对应的各BSF网元针对该业务的负载。然后根据上述与该业务对应的各BSF网元针对该业务的负载,获取与该业务对应的各BSF网元针对该业务的平均负载。最后将平均负载最大的业务,作为该新增的BSF网元对应的业务,以提高对上述平均负载最大的业务确定候选BSF网元列表的效率。Optionally, for any service among all services corresponding to all BSF network elements in the BSF network element list, the device management network element may acquire the load of each BSF network element corresponding to the service for the service. Then, according to the load of each BSF network element corresponding to the service for the service, the average load of each BSF network element corresponding to the service for the service is obtained. Finally, the service with the largest average load is used as the service corresponding to the newly added BSF network element, so as to improve the efficiency of determining the candidate BSF network element list for the service with the largest average load.

示例性的,以前述表1中的业务1为例,业务1对应的BSF网元为BSF网元1、BSF网元2,以及,BSF网元3。上述各网元的负载例如可以如下表2所示:Exemplarily, taking the service 1 in the foregoing Table 1 as an example, the BSF network elements corresponding to the service 1 are the BSF network element 1, the BSF network element 2, and the BSF network element 3. For example, the load of the above network elements can be as shown in Table 2 below:

表2Table 2

BSF网元BSF network element 负载load BSF网元1BSF network element 1 40%40% BSF网元2BSF network element 2 50%50% BSF网元3BSF network element 3 60%60%

根据表2中所示的该业务1对应的各BSF网元的负载,可以确定该业务1对应的各BSF网元针对该业务1的平均负载为(40%+50%+60%)/3=50%。假设BSF网元列表中还存在业务2以及业务3,且业务2的平均负载为30%,业务3的平均负载为33%。也就是说,BSF网元列表中平均负载最大的业务为业务1,因此设备管理网元可以将该业务1作为该新增的BSF网元对应的业务。According to the load of each BSF network element corresponding to this service 1 shown in Table 2, it can be determined that the average load of each BSF network element corresponding to this service 1 for this service 1 is (40%+50%+60%)/3 =50%. Assume that there are still service 2 and service 3 in the BSF network element list, and the average load of service 2 is 30%, and the average load of service 3 is 33%. That is to say, the service with the largest average load in the BSF network element list is service 1, so the device management network element can take this service 1 as the service corresponding to the newly added BSF network element.

或者,设备管理网元例如还可以将各BSF网元中,负载最大的BSF网元对应的业务,作为该新增的BSF网元对应的业务。Alternatively, the device management network element may, for example, also use the service corresponding to the BSF network element with the largest load among the BSF network elements as the service corresponding to the newly added BSF network element.

在第二种可能的实现方式中,针对BSF网元列表中的任一BSF网元,若该BSF网元的负载小于或等于第二预设负载阈值,说明该BSF网元的剩余计算资源较多,还可以承担更多的计算量且能够保持较高的计算效率。则设备管理网元还可以给该BSF网元设置第二业务,以使该BSF网元可以对终端的第二业务进行鉴权,进而提高了终端执行第二业务的效率。In a second possible implementation manner, for any BSF network element in the BSF network element list, if the load of the BSF network element is less than or equal to the second preset load threshold, it means that the remaining computing resources of the BSF network element are relatively low. It can also undertake more computation and maintain high computational efficiency. Then, the device management network element can also set the second service for the BSF network element, so that the BSF network element can authenticate the second service of the terminal, thereby improving the efficiency of the terminal executing the second service.

具体实现时,设备管理网元可以将平均负载最大的业务,作为该BSF网元对应的第二业务。或者,设备管理网元还可以将负载大于或等于第三预设负载阈值的BSF网元对应的占用负载最大的业务,作为该BSF网元对应的第二业务。其中,第二预设负载阈值小于第三预设负载阈值。第二预设负载阈值和第三预设负载阈值可以是用户预先存储在设备管理网元中的。During specific implementation, the device management network element may use the service with the largest average load as the second service corresponding to the BSF network element. Alternatively, the device management network element may also use the service with the largest occupied load corresponding to the BSF network element whose load is greater than or equal to the third preset load threshold as the second service corresponding to the BSF network element. Wherein, the second preset load threshold is smaller than the third preset load threshold. The second preset load threshold and the third preset load threshold may be pre-stored in the device management network element by the user.

在第三种可能的实现方式中,设备管理网元还可以周期性检测BSF网元列表中是否存在失效BSF网元。其中,该失效BSF网元指的是无法与该设备管理网元建立连接的BSF网元。对于失效BSF网元,设备管理网元可以将失效BSF网元从BSF网元列表中删除,以提高设备管理网元确定候选BSF网元列表的准确性,进而提高终端进行目标业务的效率。In a third possible implementation manner, the device management network element may also periodically detect whether there is a failed BSF network element in the BSF network element list. The failed BSF network element refers to a BSF network element that cannot establish a connection with the device management network element. For the failed BSF network element, the equipment management network element can delete the failed BSF network element from the BSF network element list, so as to improve the accuracy of the device management network element in determining the candidate BSF network element list, thereby improving the efficiency of the terminal to perform the target service.

基于上述各实施例,下面以网络中部署了3台BSF网元为例,对本申请的技术方案进行示例性说明。示例性的,各BSF网元支持鉴权的业务、各业务对应的负载信息、连接到各BSF网元所需的时间(时延),以及,各BSF网元是否具有预设标签,例如可以如下表3所示:Based on the foregoing embodiments, the technical solution of the present application is exemplarily described below by taking three BSF network elements deployed in the network as an example. Exemplarily, each BSF network element supports the authenticated service, the load information corresponding to each service, the time (delay) required to connect to each BSF network element, and whether each BSF network element has a preset label, such as As shown in Table 3 below:

表3table 3

Figure BDA0003182005690000181
Figure BDA0003182005690000181

Figure BDA0003182005690000191
Figure BDA0003182005690000191

以目标业务为VoLTE业务(例如可以是终端对VoLTE补充业务的设置)为例,终端首先向设备管理网元发送鉴权认证请求。该鉴权认证请求包括VoLTE业务的标识。设备管理网元根据该VoLTE业务的标识,从BSS系统处,获取对该终端是否具有VoLTE业务的使用权限进行认证的认证结果。Taking the target service as a VoLTE service (for example, the setting of the VoLTE supplementary service by the terminal) as an example, the terminal first sends an authentication and authentication request to the device management network element. The authentication request includes the identity of the VoLTE service. The device management network element obtains, from the BSS system, an authentication result for authenticating whether the terminal has the right to use the VoLTE service according to the identity of the VoLTE service.

在设备管理网元确定该终端具有VoLTE业务的使用权限之后,可以确定该VoLTE业务对应的候选BSF网元列表。如表3所示,BSF网元1、BSF网元2,以及,BSF网元3均支持鉴权VoLTE业务。其中,负载最小的VoLTE业务对应的BSF网元为BSF网元3。则该BSF网元3可以作为该VoLTE业务对应的目标BSF网元。After the device management network element determines that the terminal has the right to use the VoLTE service, a list of candidate BSF network elements corresponding to the VoLTE service may be determined. As shown in Table 3, BSF network element 1, BSF network element 2, and BSF network element 3 all support the authentication VoLTE service. The BSF network element corresponding to the VoLTE service with the smallest load is the BSF network element 3 . Then the BSF network element 3 can be used as the target BSF network element corresponding to the VoLTE service.

以目标业务为5G Message业务(例如可以是5G消息中文件的发送)为例,终端首先向设备管理网元发送鉴权认证请求。该鉴权认证请求包括5G Message业务的标识。设备管理网元根据该5G Message业务的标识,从BSS系统处,获取对该终端是否具有5G Message业务的使用权限进行认证的认证结果。Taking the target service as the 5G Message service (for example, the sending of files in the 5G message) as an example, the terminal first sends an authentication and authentication request to the device management network element. The authentication request includes the identifier of the 5G Message service. According to the identifier of the 5G Message service, the device management network element obtains from the BSS system an authentication result for authenticating whether the terminal has the right to use the 5G Message service.

在设备管理网元确定该终端具有5G Message业务的使用权限之后,可以确定该5GMessage业务对应的候选BSF网元列表。如表3所示,BSF网元2和BSF网元3支持鉴权5GMessage业务。其中,负载最小的5G Message业务对应的BSF网元为BSF网元2。则该BSF网元2可以作为该5G Message业务对应的目标BSF网元。After the device management network element determines that the terminal has the right to use the 5G Message service, a list of candidate BSF network elements corresponding to the 5G Message service can be determined. As shown in Table 3, BSF network element 2 and BSF network element 3 support the authentication 5G Message service. Among them, the BSF network element corresponding to the 5G message service with the smallest load is BSF network element 2. Then the BSF network element 2 can be used as the target BSF network element corresponding to the 5G Message service.

进一步的,仍然以目标业务为VoLTE业务为例,假设前述预设时间阈值为1ms,则BSF网元3存在故障,BSF网元1和BSF网元2不存在故障。也就是说,终端与该BSF网元3存在连接失败的情况。则终端可以向设备管理网元发送包括该BSF网元3的标识的故障指示信息。Further, still taking the target service as the VoLTE service as an example, assuming that the aforementioned preset time threshold is 1 ms, the BSF network element 3 is faulty, and the BSF network element 1 and the BSF network element 2 are not faulty. That is to say, the connection between the terminal and the BSF network element 3 fails. Then, the terminal can send the fault indication information including the identifier of the BSF network element 3 to the equipment management network element.

在接收用于指示该BSF网元3存在故障的指示信息之后,设备管理网元可以判断该BSF网元3是否存在预设标签。如表3所示,该BSF网元3不具有预设标签。则设备管理网元可以根据与该BSF网元3之间的通信连接的第一检测结果,确定该BSF网元3是否存在故障。若根据上述第一检测结果,确定该BSF网元3存在故障,则设备管理网元向终端发送BSF网元1或BSF网元2的信息。若该BSF网元3不存在故障,则设备管理网元可以对该BSF网元3添加预设标签。After receiving the indication information for indicating that the BSF network element 3 is faulty, the equipment management network element can determine whether the BSF network element 3 has a preset label. As shown in Table 3, the BSF network element 3 does not have a preset label. Then, the device management network element can determine whether the BSF network element 3 is faulty according to the first detection result of the communication connection with the BSF network element 3 . If it is determined that the BSF network element 3 is faulty according to the first detection result, the equipment management network element sends the information of the BSF network element 1 or the BSF network element 2 to the terminal. If the BSF network element 3 is not faulty, the device management network element may add a preset label to the BSF network element 3 .

然后对该BSF网元3在10分钟内进一步检测该BSF网元3是否存在故障。若10分钟内检测该BSF网元3无故障,则设备管理网元可以从BSF网元列表中删除该BSF网元3的预设标签。若10分钟内检测到该BSF网元3存在故障,则设备管理网元可以从BSF网元列表中删除BSF网元3,并向BSF管理网元发送包括该BSF网元3的标识的故障告警信息。Then, the BSF network element 3 further detects whether the BSF network element 3 is faulty within 10 minutes. If it is detected that the BSF network element 3 has no fault within 10 minutes, the device management network element can delete the preset label of the BSF network element 3 from the BSF network element list. If the BSF network element 3 is detected to be faulty within 10 minutes, the device management network element may delete the BSF network element 3 from the BSF network element list, and send a fault alarm including the identification of the BSF network element 3 to the BSF management network element information.

图5为本申请提供的一种通信装置300的结构示意图。该装置300应用于设备管理网元。如图5所示,该装置包括:接收模块301,处理模块302,发送模块303。FIG. 5 is a schematic structural diagram of a communication apparatus 300 provided by the present application. The apparatus 300 is applied to equipment management network elements. As shown in FIG. 5 , the apparatus includes: a receiving module 301 , a processing module 302 , and a sending module 303 .

接收模块301,用于接收来自终端的鉴权认证请求。其中,所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识。The receiving module 301 is configured to receive an authentication and authentication request from a terminal. Wherein, the authentication and authentication request is used for requesting to perform authentication and authentication on the target service of the terminal, and the authentication and authentication request includes: the identifier of the terminal and the identifier of the target service.

处理模块302,用于根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证。The processing module 302 is configured to authenticate whether the terminal has the right to use the target service according to the identifier of the target service and the identifier of the terminal.

发送模块303,用于在所述认证结果表征所述终端具有所述目标业务的使用权限时,向所述终端发送候选自举服务功能BSF网元列表。其中,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识。The sending module 303 is configured to send a list of candidate bootstrapping service function BSF network elements to the terminal when the authentication result indicates that the terminal has the right to use the target service. Wherein, the candidate BSF network element list includes information of at least one candidate BSF network element; each candidate BSF network element supports target service authentication for the terminal; the candidate BSF network element information includes: Describe the identifier of the candidate BSF network element.

可选的,发送模块303,具体用于,根据所述目标业务的标识,从BSF网元列表中获取与所述目标业务对应的多个初始BSF网元的标识,以及,所述多个初始BSF网元的负载信息;根据所述多个初始BSF网元的负载信息,从所述多个初始BSF网元中确定候选BSF网元;根据所确定的候选BSF网元,生成所述候选BSF网元列表;向所述终端发送所述候选BSF网元列表。其中,所述BSF网元列表包括业务与BSF网元的映射关系。Optionally, the sending module 303 is specifically configured to, according to the identifier of the target service, acquire the identifiers of multiple initial BSF network elements corresponding to the target service from the BSF network element list, and: load information of the BSF network elements; according to the load information of the multiple initial BSF network elements, determine candidate BSF network elements from the multiple initial BSF network elements; generate the candidate BSF network elements according to the determined candidate BSF network elements network element list; sending the candidate BSF network element list to the terminal. Wherein, the BSF network element list includes a mapping relationship between services and BSF network elements.

可选的,所述候选BSF网元的负载均小于第一预设负载阈值。Optionally, the loads of the candidate BSF network elements are all less than the first preset load threshold.

可选的,所述候选BSF网元的信息还包括:所述候选BSF网元的负载信息。Optionally, the information of the candidate BSF network element further includes: load information of the candidate BSF network element.

可选的,处理模块302,具体用于向业务支撑系统发送认证请求;接收所述业务支撑系统返回的认证结果;所述认证结果用于表征所述终端是否具有所述目标业务的使用权限。其中,所述认证请求用于请求对所述终端的目标业务进行认证;所述认证请求包括:所述终端的标识和所述目标业务的标识;Optionally, the processing module 302 is specifically configured to send an authentication request to the service support system; receive an authentication result returned by the service support system; and the authentication result is used to represent whether the terminal has the right to use the target service. Wherein, the authentication request is used to request to authenticate the target service of the terminal; the authentication request includes: the identifier of the terminal and the identifier of the target service;

可选的,接收模块301,还用于在向所述终端发送候选BSF网元列表之后,接收来自所述终端的故障指示信息。在该实现方式下,处理模块302还用于确定所述第一BSF网元是否存在故障。发送模块303,还用于在确定所述第一BSF网元存在故障时,向所述终端发送第二BSF网元的信息,并从所述BSF网元列表中删除所述第一BSF网元的标识。其中,所述故障指示信息用于指示所述终端与第一BSF网元建立连接失败;所述第一BSF网元为所述候选BSF网元列表中任一个,所述故障指示信息包括所述第一BSF网元的标识;所述第二BSF网元为所述BSF网元列表中除所述第一BSF网元之外的任一个。Optionally, the receiving module 301 is further configured to receive fault indication information from the terminal after sending the candidate BSF network element list to the terminal. In this implementation manner, the processing module 302 is further configured to determine whether the first BSF network element is faulty. The sending module 303 is further configured to send the information of the second BSF network element to the terminal when it is determined that the first BSF network element is faulty, and delete the first BSF network element from the BSF network element list 's identification. The fault indication information is used to indicate that the terminal fails to establish a connection with the first BSF network element; the first BSF network element is any one of the candidate BSF network elements, and the fault indication information includes the The identifier of the first BSF network element; the second BSF network element is any one except the first BSF network element in the BSF network element list.

可选的,处理模块302具体用于判断所述BSF网元列表中所述第一BSF网元是否具有预设标签,所述预设标签用于表征所述第一BSF网元是否存在故障;在所述第一BSF网元具有所述预设标签时,确定所述第一BSF网元存在故障;或者,在所述第一BSF网元无所述预设标签时,获取所述第一BSF网元的故障检测结果,并根据所述故障检测结果,确定所述第一BSF网元是否存在故障。Optionally, the processing module 302 is specifically configured to determine whether the first BSF network element in the BSF network element list has a preset label, and the preset label is used to represent whether the first BSF network element is faulty; When the first BSF network element has the preset label, determine that the first BSF network element is faulty; or, when the first BSF network element does not have the preset label, obtain the first BSF network element The fault detection result of the BSF network element, and according to the fault detection result, it is determined whether the first BSF network element is faulty.

可选的,处理模块302具体用于根据与所述第一BSF网元之间的通信连接状态,确定所述第一BSF网元的故障检测结果;和/或,获取BSF管理网元针对所述第一BSF网元的故障检测结果。Optionally, the processing module 302 is specifically configured to determine the fault detection result of the first BSF network element according to the communication connection state with the first BSF network element; Describe the fault detection result of the first BSF network element.

可选的,处理模块302还用于在所述根据所述故障检测结果,确定所述第一BSF网元是否存在故障之后,在确定所述第一BSF网元不存在故障时,在所述BSF网元列表中对所述第一BSF网元添加所述预设标签;在预设时长内检测所述第一BSF网元是否存在故障;在所述预设时长内检测所述第一BSF网元无故障时,从所述BSF网元列表中删除所述第一BSF网元的所述预设标签;或者,在所述预设时长内检测所述第一BSF网元存在故障时,从所述BSF网元列表中删除所述第一BSF网元的标识。Optionally, the processing module 302 is further configured to, after determining whether the first BSF network element has a fault according to the fault detection result, when determining that the first BSF network element does not have a fault, Add the preset label to the first BSF network element in the BSF network element list; detect whether the first BSF network element is faulty within a preset time period; detect the first BSF network element within the preset time period When the network element is not faulty, delete the preset label of the first BSF network element from the BSF network element list; or, when detecting that the first BSF network element is faulty within the preset time period, Delete the identifier of the first BSF network element from the BSF network element list.

可选的,该装置300还可以包括更新模块304,用于根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表。Optionally, the apparatus 300 may further include an update module 304, configured to update the BSF network element list according to the service and load information corresponding to each BSF network element in the network.

可选的,更新模块304,具体用于在所述网络中存在新增的BSF网元时,根据网络中各BSF网元所对应的业务和负载信息,确定所述新增的BSF网元对应的业务,并在所述BSF网元列表中添加所述新增的BSF网元。Optionally, the updating module 304 is specifically configured to, when a newly added BSF network element exists in the network, determine the corresponding service and load information of each BSF network element in the network according to the corresponding service and load information of the newly added BSF network element. and add the newly added BSF network element in the BSF network element list.

可选的,更新模块304,具体用于针对所述BSF网元列表中的所有BSF网元对应的所有业务中的任一业务,获取与所述业务对应的各BSF网元针对所述业务的负载;根据与所述业务对应的各BSF网元针对所述业务的负载,获取与所述业务对应的各BSF网元针对所述业务的平均负载;将平均负载最大的业务,作为所述新增的BSF网元对应的业务。Optionally, the updating module 304 is specifically configured to, for any service in all services corresponding to all the BSF network elements in the BSF network element list, obtain the information of each BSF network element corresponding to the service for the service. load; according to the load of each BSF network element corresponding to the service for the service, obtain the average load of each BSF network element corresponding to the service for the service; take the service with the largest average load as the new Services corresponding to the added BSF network elements.

可选的,更新模块304,具体用于针对所述BSF网元列表中的任一BSF网元,若该BSF网元的负载小于或等于第二预设负载阈值,则将平均负载最大的业务,作为该BSF网元对应的第二业务。Optionally, the updating module 304 is specifically configured to, for any BSF network element in the BSF network element list, if the load of the BSF network element is less than or equal to the second preset load threshold, then update the service with the largest average load. , as the second service corresponding to the BSF network element.

可选的,更新模块304,具体用于删除所述BSF网元列表中的失效BSF网元。其中,所述失效BSF网元指的是无法与所述设备管理网元建立连接的BSF网元。Optionally, the updating module 304 is specifically configured to delete the failed BSF network element in the BSF network element list. Wherein, the failed BSF network element refers to a BSF network element that cannot establish a connection with the device management network element.

本实施例提供的通信装置300,用于执行前述设备管理网元执行的通信方法实施例,其实现原理与技术效果类似,对此不再赘述。The communication apparatus 300 provided in this embodiment is configured to execute the foregoing embodiment of the communication method executed by the device management network element, and the implementation principle and technical effect thereof are similar, which will not be repeated here.

图6为本申请提供的一种通信装置400的结构示意图。该装置应用于终端。如图6所示,该装置包括:第一发送模块401、第一接收模块402、第二发送模块403、第二接收模块404。其中,FIG. 6 is a schematic structural diagram of a communication apparatus 400 provided by the present application. The device is applied to a terminal. As shown in FIG. 6 , the apparatus includes: a first sending module 401 , a first receiving module 402 , a second sending module 403 , and a second receiving module 404 . in,

第一发送模块401,用于向设备管理网元发送鉴权认证请求。其中,所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识。The first sending module 401 is configured to send an authentication and authentication request to a device management network element. Wherein, the authentication and authentication request is used for requesting to perform authentication and authentication on the target service of the terminal, and the authentication and authentication request includes: the identifier of the terminal and the identifier of the target service.

第一接收模块402,用于接收所述设备管理网元返回的候选自举服务功能BSF网元列表。其中,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识。The first receiving module 402 is configured to receive a list of candidate bootstrapping service function BSF network elements returned by the device management network element. Wherein, the candidate BSF network element list includes information of at least one candidate BSF network element; each candidate BSF network element supports target service authentication for the terminal; the candidate BSF network element information includes: Describe the identifier of the candidate BSF network element.

第二发送模块403,用于根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求。其中,所述目标BSF网元为所述候选BSF网元列表中任一个。The second sending module 403 is configured to send an authentication request to the target BSF network element according to the identifier of the target BSF network element. Wherein, the target BSF network element is any one in the candidate BSF network element list.

第二接收模块404,用于接收所述目标BSF网元在所述终端鉴权通过后返回的秘钥。其中,所述秘钥用于加密所述终端与目标业务服务器之间传输的目标业务的数据。The second receiving module 404 is configured to receive the secret key returned by the target BSF network element after the terminal is authenticated. Wherein, the secret key is used to encrypt the data of the target service transmitted between the terminal and the target service server.

可选的,所述候选BSF网元的信息还包括:所述候选BSF网元的负载信息。在该实现方式下,通信装置400还可以包括处理模块405,用于在所述根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求之前,根据候选BSF网元的负载信息,确定目标BSF网元。Optionally, the information of the candidate BSF network element further includes: load information of the candidate BSF network element. In this implementation manner, the communication apparatus 400 may further include a processing module 405 for, before the authentication request is sent to the target BSF network element according to the identifier of the target BSF network element, according to the load information of the candidate BSF network element , and determine the target BSF network element.

可选的,第二发送模块403,还用于在所述接收所述设备管理网元返回的候选BSF网元列表之后,向所述设备管理网元发送故障指示信息。其中,所述故障指示信息用于指示所述终端与第一BSF网元建立连接失败;所述第一BSF网元为所述候选BSF网元列表中任一个,所述故障指示信息包括所述第一BSF网元的标识。Optionally, the second sending module 403 is further configured to send fault indication information to the device management network element after receiving the candidate BSF network element list returned by the device management network element. The fault indication information is used to indicate that the terminal fails to establish a connection with the first BSF network element; the first BSF network element is any one of the candidate BSF network elements, and the fault indication information includes the The identifier of the first BSF network element.

本实施例提供的通信装置400,用于执行前述终端执行的通信方法实施例,其实现原理与技术效果类似,对此不再赘述。The communication apparatus 400 provided in this embodiment is configured to execute the foregoing embodiment of the communication method executed by the terminal, and the implementation principle and technical effect thereof are similar, which will not be repeated here.

图7为本申请提供的一种电子设备结构示意图。该电子设备例如可以是上述设备管理网元或者终端。如图7所示,该电子设备500可以包括:接收器5011、发送器5012、至少一个处理器501和存储器502。FIG. 7 is a schematic structural diagram of an electronic device provided by the present application. The electronic device may be, for example, the above-mentioned device management network element or terminal. As shown in FIG. 7 , the electronic device 500 may include: a receiver 5011 , a transmitter 5012 , at least one processor 501 and a memory 502 .

上述接收器5011和发送器5012均耦合至处理器501。处理器501控制接收器5011的接收动作,以及,控制发送器5012的发送动作。Both the receiver 5011 and the transmitter 5012 described above are coupled to the processor 501 . The processor 501 controls the receiving action of the receiver 5011 , and controls the sending action of the transmitter 5012 .

存储器502,用于存放程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。The memory 502 is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions.

存储器502可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 502 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

处理器501用于执行存储器502存储的计算机执行指令,以实现前述方法实施例所描述的通信方法。其中,处理器501可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 501 is configured to execute the computer-executed instructions stored in the memory 502 to implement the communication method described in the foregoing method embodiments. The processor 501 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or is configured to implement one or more of the embodiments of the present application. multiple integrated circuits.

可选的,该电子设备500还可以包括通信接口503。在具体实现上,如果通信接口503、存储器502和处理器501独立实现,则通信接口503、存储器502和处理器501可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry StandardArchitecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等,但并不表示仅有一根总线或一种类型的总线。Optionally, the electronic device 500 may further include a communication interface 503 . In terms of specific implementation, if the communication interface 503 , the memory 502 and the processor 501 are implemented independently, the communication interface 503 , the memory 502 and the processor 501 can be connected to each other through a bus and communicate with each other. The bus may be an Industry Standard Architecture (referred to as ISA) bus, a Peripheral Component (referred to as PCI) bus, or an Extended Industry Standard Architecture (referred to as EISA) bus or the like. Buses can be divided into address bus, data bus, control bus, etc., but it does not mean that there is only one bus or one type of bus.

可选的,在具体实现上,如果通信接口503、存储器502和处理器501集成在一块芯片上实现,则通信接口503、存储器502和处理器501可以通过内部接口完成通信。Optionally, in terms of specific implementation, if the communication interface 503 , the memory 502 and the processor 501 are integrated on one chip, the communication interface 503 , the memory 502 and the processor 501 can communicate through an internal interface.

本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random AccessMemory)、磁盘或者光盘等各种可以存储程序代码的介质,具体的,该计算机可读存储介质中存储有程序指令,程序指令用于上述实施例中的方法。The application also provides a computer-readable storage medium, the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) Various media that can store program codes, such as a magnetic disk, a magnetic disk, or an optical disk, specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the foregoing embodiments.

本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。电子设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得电子设备实施上述的各种实施方式提供的通信方法。The present application also provides a program product including execution instructions stored in a readable storage medium. At least one processor of the electronic device can read the execution instruction from the readable storage medium, and the execution of the execution instruction by the at least one processor causes the electronic device to implement the communication methods provided by the various embodiments described above.

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

Claims (23)

1.一种通信方法,其特征在于,所述方法应用于设备管理网元,所述方法包括:1. A communication method, wherein the method is applied to a device management network element, the method comprising: 接收来自终端的鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;Receive an authentication and authentication request from the terminal; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the identifier of the terminal and the identifier of the target service ; 根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证;According to the identifier of the target service and the identifier of the terminal, verify whether the terminal has the right to use the target service; 若所述认证结果表征所述终端具有所述目标业务的使用权限,则向所述终端发送候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识。If the authentication result indicates that the terminal has the right to use the target service, send a list of candidate BSF network elements to the terminal, where the candidate BSF network element list includes information of at least one candidate BSF network element each of the candidate BSF network elements supports the target service authentication of the terminal; the information of the candidate BSF network elements includes: the identifier of the candidate BSF network elements. 2.根据权利要求1所述的方法,其特征在于,所述向所述终端发送候选自举服务功能BSF网元列表,包括:2. The method according to claim 1, wherein the sending a list of candidate bootstrapping service function BSF network elements to the terminal comprises: 根据所述目标业务的标识,从BSF网元列表中获取与所述目标业务对应的多个初始BSF网元的标识,以及,所述多个初始BSF网元的负载信息;所述BSF网元列表包括业务与BSF网元的映射关系;According to the identifier of the target service, the identifiers of multiple initial BSF network elements corresponding to the target service are obtained from the BSF network element list, and the load information of the multiple initial BSF network elements; the BSF network element The list includes the mapping relationship between services and BSF network elements; 根据所述多个初始BSF网元的负载信息,从所述多个初始BSF网元中确定候选BSF网元;determining candidate BSF network elements from the plurality of initial BSF network elements according to the load information of the plurality of initial BSF network elements; 根据所确定的候选BSF网元,生成所述候选BSF网元列表;generating the candidate BSF network element list according to the determined candidate BSF network elements; 向所述终端发送所述候选BSF网元列表。sending the candidate BSF network element list to the terminal. 3.根据权利要求2所述的方法,其特征在于,所述候选BSF网元的负载均小于第一预设负载阈值。3 . The method according to claim 2 , wherein the loads of the candidate BSF network elements are all smaller than the first preset load threshold. 4 . 4.根据权利要求1-3任一项所述的方法,其特征在于,所述候选BSF网元的信息还包括:所述候选BSF网元的负载信息。The method according to any one of claims 1-3, wherein the information of the candidate BSF network element further comprises: load information of the candidate BSF network element. 5.根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证,包括:5. The method according to any one of claims 1-3, characterized in that, according to the identifier of the target service and the identifier of the terminal, performing a check on whether the terminal has the right to use the target service or not. Certification, including: 向业务支撑系统发送认证请求,所述认证请求用于请求对所述终端的目标业务进行认证;所述认证请求包括:所述终端的标识和所述目标业务的标识;Send an authentication request to the service support system, where the authentication request is used to request authentication of the target service of the terminal; the authentication request includes: the identifier of the terminal and the identifier of the target service; 接收所述业务支撑系统返回的认证结果;所述认证结果用于表征所述终端是否具有所述目标业务的使用权限。The authentication result returned by the service support system is received; the authentication result is used to represent whether the terminal has the right to use the target service. 6.根据权利要求1-3任一项所述的方法,其特征在于,在所述向所述终端发送候选BSF网元列表之后,还包括:6. The method according to any one of claims 1-3, wherein after the sending the list of candidate BSF network elements to the terminal, the method further comprises: 接收来自所述终端的故障指示信息;所述故障指示信息用于指示所述终端与第一BSF网元建立连接失败;所述第一BSF网元为所述候选BSF网元列表中任一个,所述故障指示信息包括所述第一BSF网元的标识;receiving fault indication information from the terminal; the fault indication information is used to indicate that the terminal fails to establish a connection with the first BSF network element; the first BSF network element is any one of the candidate BSF network elements, The fault indication information includes the identifier of the first BSF network element; 确定所述第一BSF网元是否存在故障;determining whether the first BSF network element is faulty; 若确定所述第一BSF网元存在故障,则向所述终端发送第二BSF网元的信息,并从所述BSF网元列表中删除所述第一BSF网元的标识;所述第二BSF网元为所述BSF网元列表中除所述第一BSF网元之外的任一个。If it is determined that the first BSF network element is faulty, send the information of the second BSF network element to the terminal, and delete the identifier of the first BSF network element from the BSF network element list; the second BSF network element The BSF network element is any one except the first BSF network element in the BSF network element list. 7.根据权利要求6所述的方法,其特征在于,所述确定所述第一BSF网元是否存在故障,包括:7. The method according to claim 6, wherein the determining whether the first BSF network element is faulty comprises: 判断所述BSF网元列表中所述第一BSF网元是否具有预设标签,所述预设标签用于表征所述第一BSF网元是否存在故障;Judging whether the first BSF network element in the BSF network element list has a preset label, where the preset label is used to represent whether the first BSF network element is faulty; 若所述第一BSF网元具有所述预设标签,则确定所述第一BSF网元存在故障;或者,If the first BSF network element has the preset label, it is determined that the first BSF network element is faulty; or, 若所述第一BSF网元无所述预设标签,则获取所述第一BSF网元的故障检测结果,并根据所述故障检测结果,确定所述第一BSF网元是否存在故障。If the first BSF network element does not have the preset label, a fault detection result of the first BSF network element is acquired, and according to the fault detection result, it is determined whether the first BSF network element is faulty. 8.根据权利要求7所述的方法,其特征在于,所述获取所述第一BSF网元的故障检测结果,包括:8. The method according to claim 7, wherein the acquiring the fault detection result of the first BSF network element comprises: 根据与所述第一BSF网元之间的通信连接状态,确定所述第一BSF网元的故障检测结果;determining the fault detection result of the first BSF network element according to the communication connection state with the first BSF network element; 和/或,and / or, 获取BSF管理网元针对所述第一BSF网元的故障检测结果。Obtain a fault detection result of the BSF management network element for the first BSF network element. 9.根据权利要求7所述的方法,其特征在于,所述根据所述故障检测结果,确定所述第一BSF网元是否存在故障之后,还包括:9 . The method according to claim 7 , wherein after determining whether the first BSF network element is faulty according to the fault detection result, the method further comprises: 10 . 若确定所述第一BSF网元不存在故障,在所述BSF网元列表中对所述第一BSF网元添加所述预设标签;If it is determined that the first BSF network element is not faulty, adding the preset label to the first BSF network element in the BSF network element list; 在预设时长内检测所述第一BSF网元是否存在故障;Detecting whether the first BSF network element is faulty within a preset time period; 若所述预设时长内检测所述第一BSF网元无故障,则从所述BSF网元列表中删除所述第一BSF网元的所述预设标签;If it is detected that the first BSF network element is fault-free within the preset time period, the preset label of the first BSF network element is deleted from the BSF network element list; 或者,若所述预设时长内检测所述第一BSF网元存在故障,则从所述BSF网元列表中删除所述第一BSF网元的标识。Alternatively, if it is detected that the first BSF network element is faulty within the preset time period, the identifier of the first BSF network element is deleted from the BSF network element list. 10.根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:10. The method according to any one of claims 1-3, wherein the method further comprises: 根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表。The BSF network element list is updated according to the service and load information corresponding to each BSF network element in the network. 11.根据权利要求10所述的方法,其特征在于,所述根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表,包括:11. The method according to claim 10, wherein the updating the BSF network element list according to the service and load information corresponding to each BSF network element in the network comprises: 若所述网络中存在新增的BSF网元,则根据网络中各BSF网元所对应的业务和负载信息,确定所述新增的BSF网元对应的业务,并在所述BSF网元列表中添加所述新增的BSF网元。If there is a newly added BSF network element in the network, the service corresponding to the newly added BSF network element is determined according to the service and load information corresponding to each BSF network element in the network, and is listed in the BSF network element list. Add the newly added BSF network element in . 12.根据权利要求11所述的方法,其特征在于,所述确定所述新增的BSF网元对应的业务,包括:12. The method according to claim 11, wherein the determining the service corresponding to the newly added BSF network element comprises: 针对所述BSF网元列表中的所有BSF网元对应的所有业务中的任一业务,获取与所述业务对应的各BSF网元针对所述业务的负载;For any service in all services corresponding to all BSF network elements in the BSF network element list, obtain the load of each BSF network element corresponding to the service for the service; 根据与所述业务对应的各BSF网元针对所述业务的负载,获取与所述业务对应的各BSF网元针对所述业务的平均负载;According to the load of each BSF network element corresponding to the service for the service, obtain the average load of each BSF network element corresponding to the service for the service; 将平均负载最大的业务,作为所述新增的BSF网元对应的业务。The service with the largest average load is used as the service corresponding to the newly added BSF network element. 13.根据权利要求10所述的方法,其特征在于,所述根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表,包括:13. The method according to claim 10, wherein the updating the BSF network element list according to the service and load information corresponding to each BSF network element in the network comprises: 针对所述BSF网元列表中的任一BSF网元,若该BSF网元的负载小于或等于第二预设负载阈值,则将平均负载最大的业务,作为该BSF网元对应的第二业务。For any BSF network element in the BSF network element list, if the load of the BSF network element is less than or equal to the second preset load threshold, the service with the largest average load is used as the second service corresponding to the BSF network element . 14.根据权利要求10所述的方法,其特征在于,所述根据网络中各BSF网元所对应的业务和负载信息,更新所述BSF网元列表,包括:14. The method according to claim 10, wherein the updating the BSF network element list according to the service and load information corresponding to each BSF network element in the network comprises: 删除所述BSF网元列表中的失效BSF网元;所述失效BSF网元指的是无法与所述设备管理网元建立连接的BSF网元。Delete a failed BSF network element in the BSF network element list; the failed BSF network element refers to a BSF network element that cannot establish a connection with the device management network element. 15.一种通信方法,其特征在于,所述方法应用于终端,所述方法包括:15. A communication method, wherein the method is applied to a terminal, and the method comprises: 向设备管理网元发送鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;Send an authentication and authentication request to the device management network element; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the identification of the terminal and the target service 's identification; 接收所述设备管理网元返回的候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识;Receive a list of candidate bootstrapping service function BSF network elements returned by the device management network element, where the candidate BSF network element list includes information about at least one candidate BSF network element; each candidate BSF network element supports target service authentication; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element; 根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求,所述目标BSF网元为所述候选BSF网元列表中任一个;sending an authentication request to the target BSF network element according to the identifier of the target BSF network element, where the target BSF network element is any one of the candidate BSF network elements; 接收所述目标BSF网元在所述终端鉴权通过后返回的秘钥;所述秘钥用于加密所述终端与目标业务服务器之间传输的目标业务的数据。Receive the secret key returned by the target BSF network element after the terminal is authenticated; the secret key is used to encrypt the data of the target service transmitted between the terminal and the target service server. 16.根据权利要求15所述的方法,其特征在于,所述候选BSF网元的信息还包括:所述候选BSF网元的负载信息;The method according to claim 15, wherein the information of the candidate BSF network element further comprises: load information of the candidate BSF network element; 在所述根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求之前,还包括:Before sending the authentication request to the target BSF network element according to the identifier of the target BSF network element, the method further includes: 根据候选BSF网元的负载信息,确定目标BSF网元。According to the load information of the candidate BSF network elements, the target BSF network element is determined. 17.根据权利要求15或16所述的方法,其特征在于,在所述接收所述设备管理网元返回的候选BSF网元列表之后,还包括:17. The method according to claim 15 or 16, wherein after receiving the candidate BSF network element list returned by the device management network element, the method further comprises: 向所述设备管理网元发送故障指示信息;所述故障指示信息用于指示所述终端与第一BSF网元建立连接失败;所述第一BSF网元为所述候选BSF网元列表中任一个,所述故障指示信息包括所述第一BSF网元的标识。Send fault indication information to the device management network element; the fault indication information is used to indicate that the terminal fails to establish a connection with the first BSF network element; the first BSF network element is any one in the candidate BSF network element list. One, the fault indication information includes the identifier of the first BSF network element. 18.一种通信装置,其特征在于,所述装置应用于设备管理网元,所述装置包括:18. A communication apparatus, wherein the apparatus is applied to a device management network element, and the apparatus comprises: 接收模块,用于接收来自终端的鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;The receiving module is used to receive an authentication and authentication request from the terminal; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the identification of the terminal and the the identification of the target business; 处理模块,用于根据所述目标业务的标识和所述终端的标识,对所述终端是否具有所述目标业务的使用权限进行认证;a processing module, configured to authenticate whether the terminal has the right to use the target service according to the identity of the target service and the identity of the terminal; 发送模块,用于在所述认证结果表征所述终端具有所述目标业务的使用权限时,向所述终端发送候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识。A sending module, configured to send a list of candidate bootstrapping service function BSF network elements to the terminal when the authentication result indicates that the terminal has the right to use the target service, where the candidate BSF network element list includes at least one candidate Information of the BSF network element; each candidate BSF network element supports target service authentication for the terminal; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element. 19.一种通信装置,其特征在于,所述装置应用于终端,所述装置包括:19. A communication device, wherein the device is applied to a terminal, and the device comprises: 第一发送模块,用于向设备管理网元发送鉴权认证请求;所述鉴权认证请求用于请求对所述终端的目标业务进行鉴权认证,所述鉴权认证请求包括:所述终端的标识和所述目标业务的标识;a first sending module, configured to send an authentication and authentication request to a device management network element; the authentication and authentication request is used to request authentication and authentication of the target service of the terminal, and the authentication and authentication request includes: the terminal and the identity of the target business; 第一接收模块,用于接收所述设备管理网元返回的候选自举服务功能BSF网元列表,所述候选BSF网元列表包括至少一个候选BSF网元的信息;每个所述候选BSF网元均支持对所述终端的目标业务鉴权;所述候选BSF网元的信息包括:所述候选BSF网元的标识;a first receiving module, configured to receive a list of candidate bootstrapping service function BSF network elements returned by the device management network element, where the candidate BSF network element list includes information about at least one candidate BSF network element; each candidate BSF network element Each element supports the authentication of the target service of the terminal; the information of the candidate BSF network element includes: the identifier of the candidate BSF network element; 第二发送模块,用于根据目标BSF网元的标识,向所述目标BSF网元发送鉴权请求,所述目标BSF网元为所述候选BSF网元列表中任一个;A second sending module, configured to send an authentication request to the target BSF network element according to the identifier of the target BSF network element, where the target BSF network element is any one of the candidate BSF network element list; 第二接收模块,用于接收所述目标BSF网元在所述终端鉴权通过后返回的秘钥;所述秘钥用于加密所述终端与目标业务服务器之间传输的目标业务的数据。The second receiving module is configured to receive the secret key returned by the target BSF network element after the terminal is authenticated; the secret key is used to encrypt the data of the target service transmitted between the terminal and the target service server. 20.一种通信系统,其特征在于,包括:如权利要求1-14任一项所述的设备管理网元、如权利要求15-17任一项所述的终端,以及,至少两个BSF网元。20. A communication system, comprising: the device management network element according to any one of claims 1-14, the terminal according to any one of claims 15-17, and at least two BSFs network element. 21.一种电子设备,其特征在于,包括:至少一个处理器、存储器、接收器、发送器;21. An electronic device, comprising: at least one processor, memory, receiver, and transmitter; 所述接收器和所述发送器均耦合至所述处理器;所述处理器控制所述接收器的接收动作,所述处理器控制所述发送器的发送动作;Both the receiver and the transmitter are coupled to the processor; the processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述电子设备执行权利要求1-17任一项所述的方法。The at least one processor executes computer-implemented instructions stored in the memory to cause the electronic device to perform the method of any of claims 1-17. 22.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机执行指令,当所述计算机执行指令被处理器执行时,实现权利要求1-17任一项所述的方法。22. A computer-readable storage medium, characterized in that, computer-executable instructions are stored on the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, any one of claims 1-17 is implemented. method described. 23.一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-17任一项所述的方法。23. A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the method of any one of claims 1-17 is implemented.
CN202110849858.5A 2021-07-27 2021-07-27 Communication method, communication apparatus, electronic device, storage medium, and program product Active CN113596830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110849858.5A CN113596830B (en) 2021-07-27 2021-07-27 Communication method, communication apparatus, electronic device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110849858.5A CN113596830B (en) 2021-07-27 2021-07-27 Communication method, communication apparatus, electronic device, storage medium, and program product

Publications (2)

Publication Number Publication Date
CN113596830A true CN113596830A (en) 2021-11-02
CN113596830B CN113596830B (en) 2023-03-24

Family

ID=78250292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110849858.5A Active CN113596830B (en) 2021-07-27 2021-07-27 Communication method, communication apparatus, electronic device, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN113596830B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815954A (en) * 2005-02-05 2006-08-09 华为技术有限公司 Method for realizing user information synchronization and identifying authority of user's terminaal
CN101039311A (en) * 2006-03-16 2007-09-19 华为技术有限公司 Identification web page service network system and its authentication method
US20090013184A1 (en) * 2006-03-14 2009-01-08 Huawei Technologies Co., Ltd. Method, System And Apparatus For Protecting A BSF Entity From Attack
CN101729998A (en) * 2008-10-29 2010-06-09 华为技术有限公司 Information transmission, common guide architecture, and authentication method, system and device
CN102065421A (en) * 2009-11-11 2011-05-18 中国移动通信集团公司 Method, device and system for updating key
US20110126017A1 (en) * 2008-07-31 2011-05-26 Telefonaktiebolaget Lm Ericsson (Publ) Methods, Nodes, System, Computer Programs and Computer Program Products for Secure User Subscription or Registration
WO2011131220A1 (en) * 2010-04-19 2011-10-27 Nokia Siemens Networks Oy Gba and ims authentication procedures
CN103004244A (en) * 2010-05-18 2013-03-27 诺基亚公司 Common bootstrap framework for use with web applications and web pages
CN103313244A (en) * 2012-03-14 2013-09-18 中国移动通信集团公司 Authentication method and device based on generic bootstrapping architecture (GBA)
CN104219196A (en) * 2013-05-29 2014-12-17 腾讯科技(深圳)有限公司 Service locking method, service unlocking method, device and system
CN106714154A (en) * 2015-07-13 2017-05-24 沃达方Ip许可有限公司 Generic bootstrapping architecture protocol
CN109995859A (en) * 2019-03-26 2019-07-09 网宿科技股份有限公司 A kind of dispatching method, dispatch server and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815954A (en) * 2005-02-05 2006-08-09 华为技术有限公司 Method for realizing user information synchronization and identifying authority of user's terminaal
US20090013184A1 (en) * 2006-03-14 2009-01-08 Huawei Technologies Co., Ltd. Method, System And Apparatus For Protecting A BSF Entity From Attack
CN101039311A (en) * 2006-03-16 2007-09-19 华为技术有限公司 Identification web page service network system and its authentication method
US20110126017A1 (en) * 2008-07-31 2011-05-26 Telefonaktiebolaget Lm Ericsson (Publ) Methods, Nodes, System, Computer Programs and Computer Program Products for Secure User Subscription or Registration
CN101729998A (en) * 2008-10-29 2010-06-09 华为技术有限公司 Information transmission, common guide architecture, and authentication method, system and device
CN102065421A (en) * 2009-11-11 2011-05-18 中国移动通信集团公司 Method, device and system for updating key
WO2011131220A1 (en) * 2010-04-19 2011-10-27 Nokia Siemens Networks Oy Gba and ims authentication procedures
CN103004244A (en) * 2010-05-18 2013-03-27 诺基亚公司 Common bootstrap framework for use with web applications and web pages
CN103313244A (en) * 2012-03-14 2013-09-18 中国移动通信集团公司 Authentication method and device based on generic bootstrapping architecture (GBA)
CN104219196A (en) * 2013-05-29 2014-12-17 腾讯科技(深圳)有限公司 Service locking method, service unlocking method, device and system
CN106714154A (en) * 2015-07-13 2017-05-24 沃达方Ip许可有限公司 Generic bootstrapping architecture protocol
CN109995859A (en) * 2019-03-26 2019-07-09 网宿科技股份有限公司 A kind of dispatching method, dispatch server and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
穆佳等: "5G信令网部署方案及演进策略研究", 《邮电设计技术》 *

Also Published As

Publication number Publication date
CN113596830B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
US9338159B2 (en) Method and apparatus for sharing wireless network subscription services
US10542433B2 (en) Connection establishment method, device, and system
CN110691384A (en) A method and device for using network slicing
CN110166201B (en) Method for indicating secondary link data and terminal equipment
CN114788344B (en) Reassign registration to accessibility and mobility management functions
CN109862525A (en) A method and device for establishing a user group
CN107948976A (en) The detection method and device of LTE network access result, computer-readable storage medium
CN113852948B (en) Method and device for transmitting application context migration information
CN116033541B (en) A network registration method and device
WO2019024102A1 (en) Method for processing session in wireless communication, and terminal device
WO2018045983A1 (en) Information processing method and device, and network system
CN111355575A (en) Communication encryption method, electronic device and readable storage medium
CN114450991A (en) Wireless communication method for registration procedure
EP2842356B1 (en) Updating subscription information
CN102761981A (en) Method and system for establishing RRC (Radio Resource Control) connection
CN116546616A (en) Network slice registration method, device, communication equipment, storage medium and product
CN111886884A (en) Method, apparatus and computer readable medium for authentication in communications
WO2020052463A1 (en) Communication method and network element
CN113596830B (en) Communication method, communication apparatus, electronic device, storage medium, and program product
CN114339622A (en) Communication method, device and storage medium of ProSe communication group
CN112087297A (en) Method, system and equipment for obtaining security context
CN112438058B (en) System message update method, device and storage medium
CN111800889B (en) Method for processing protocol data unit session, terminal equipment and network equipment
CN108600215A (en) Identifying code is anti-to steal method, apparatus and the network equipment
CN116264688B (en) Key generation method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant