Method and device for subscribing to network open information, communication equipment and storage medium
By sending a subscription request to the first network element at the first node and instructing the first network element to store batch subscription information to the second node, the problem of waste of signaling resources in the prior art is solved, and the conservation of signaling resources is realized and Improved utilization.
Patent Information
- Application Number
- CN202310952467.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-14
AI Technical Summary
There is a problem of wasting signaling resources in the existing batch subscription network open information process, especially when multiple AF network elements send subscription requests to all SM-PCF network elements at the same time, which may lead to waste of redundant information and resources.
By sending a subscription request to the first network element at the first node, the first network element is instructed to store the batch subscription information to the second node, and the second network element obtains the batch subscription information from the second node and sends the subscription data to the first node. It avoids sending subscription requests to each network element, and only sending requests to one network element of the same type.
This method effectively saves signaling resources, improves the utilization rate of signaling resources, and improves the efficiency of batch subscription network open information, reducing unnecessary information occupancy in the network element of data provision.
Smart Images

Figure CN119450439A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, apparatus, communication device and storage medium for subscribing to network open information. Background Art
[0002] With the continuous development of communication technology, the 5G (5th Generation Mobile Communication Technology) core network can provide open protocol-based network data, such as detection reports of specific events, to AF (Application Function) network elements. With the continuous iteration of technology, more and more types of data can be provided to AF.
[0003] In order to improve the efficiency of obtaining and transmitting subscription data, R18 adds a new AF network element that can request data from multiple terminal devices at one time from the network through bulk subscription. However, considering the complexity of the network, the data of different terminal devices in bulk subscription may be distributed on multiple network elements. For example, when the AF network element reports the start and end of the actual traffic of the network subscription user, the AF network element needs to send a subscription message to the SM-PCF (Session Management-Policy Control Function, responsible for session management policy and billing control function) network element that provides the report to all network elements in the network. If multiple AF network elements send the request to all SM-PCF network elements in the network at the same time, redundant information will inevitably appear, that is, some SM-PCFs may not be responsible for the target user at all. Therefore, there is a problem of waste of signaling resources in the existing batch subscription network open information process.
[0004] Based on this, how to avoid wasting signaling resources has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] Based on this, it is necessary to provide a method, apparatus, communication device and storage medium for subscribing to network open information that can save signaling resources in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for subscribing to network open information, which is applied to a first node. The method comprises:
[0007] Sending a first subscription request to a first network element; wherein the first subscription request is used for the first network element to store batch subscription information to a second node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function;
[0008] Receive subscription data sent by the second network element; wherein the subscription data is sent when the second network element obtains the batch subscription information from the second node.
[0009] In one of the embodiments, the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
[0010] In one embodiment, the first subscription request includes the following information:
[0011] identification information of the terminal device;
[0012] the content of the subscription event; and
[0013] The validity period of the subscription event.
[0014] In one embodiment, sending a subscription request to the first network element includes:
[0015] The subscription request is sent to a third node, so that the third node forwards the subscription request to the first network element, and the third node is a node that provides a network opening function.
[0016] In one embodiment, the receiving the subscription data sent by the second network element includes:
[0017] Receive subscription data forwarded by a third node; wherein the subscription data forwarded by the third node comes from the second network element.
[0018] In one embodiment, the method further comprises:
[0019] Send a second subscription request to the first network element; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event, so that the first network element updates the batch subscription information stored on the second node, and the second node sends the updated batch subscription information to the second network element.
[0020] In a second aspect, the present application provides a method for subscribing to network open information, which is applied to a first network element. The method includes:
[0021] Receiving a first subscription request sent by a first node; wherein the first node is a node providing an application service function;
[0022] According to the first subscription request, the batch subscription information is stored in a second node; wherein the second network element is a network element of the same type as the first network element, and the second node is a node that provides a data storage function.
[0023] In one of the embodiments, the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
[0024] In one embodiment, receiving a subscription request sent by a first node includes:
[0025] Receive a first subscription request forwarded by a third node; wherein the first subscription request forwarded by the third node comes from the first node, and the third node is a node that provides a network opening function.
[0026] In one embodiment, the method further comprises:
[0027] receiving a second subscription request sent by the first node; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event;
[0028] According to the second subscription request, the batch subscription information stored on the second node is updated.
[0029] In one embodiment, updating the batch subscription information stored on the second node according to the second subscription request includes:
[0030] Send an information update message to the second node; wherein the information update message is used to instruct the second node to modify or delete the batch subscription information, and enable the second node to send the updated batch subscription information to the second network element.
[0031] In one embodiment, the method further comprises:
[0032] acquiring the batch subscription information from the second node when detecting that the terminal device is registered with the network and establishing a service association with the terminal device;
[0033] When it is detected that the subscription event occurs in the terminal device, subscription data is sent to the first node according to the batch subscription information.
[0034] In one embodiment, the acquiring the batch subscription information from the second node includes:
[0035] Sending a request for obtaining the contract information to the second node;
[0036] Receive the contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes the batch subscription information.
[0037] In one embodiment, sending subscription data to the first node according to the batch subscription information includes:
[0038] The subscription data is sent to a third node according to the batch subscription information, so that the third node forwards the subscription data to the first node.
[0039] In one embodiment, the first subscription request includes the following information:
[0040] identification information of the terminal device;
[0041] the content of the subscription event; and
[0042] The validity period of the subscription event.
[0043] In a third aspect, the present application provides a method for subscribing to network open information, which is applied to a second node. The method includes:
[0044] Store batch subscription information sent by the first network element; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node; the second network element is a network element of the same type as the first network element, the first node is a node providing application service functions, and the second node is a node providing data storage functions.
[0045] In one of the embodiments, the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
[0046] In one embodiment, the method further comprises:
[0047] Receiving a request for obtaining the contract information sent by the second network element;
[0048] In response to the contract information acquisition request, the contract information is sent to the second network element; wherein the contract information includes the batch subscription information.
[0049] In one embodiment, the method further comprises:
[0050] receiving an information update message sent by the first network element; wherein the information update message is sent when the first network element receives a second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel a subscription event;
[0051] Modify or delete the batch subscription information according to the information update message to obtain updated batch subscription information;
[0052] The updated batch subscription information is sent to the second network element.
[0053] In one embodiment, the first subscription request includes the following information:
[0054] identification information of the terminal device;
[0055] the content of the subscription event; and
[0056] The validity period of the subscription event.
[0057] In a fourth aspect, the present application provides a method for subscribing to network open information, which is applied to a second network element. The method includes:
[0058] Acquire batch subscription information from the second node; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function;
[0059] The subscription data is sent to the first node according to the batch subscription information.
[0060] In one of the embodiments, the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
[0061] In one embodiment, the obtaining batch subscription information from the second node includes:
[0062] When it is detected that the terminal device is registered with the network and a service association is established with the terminal device, the batch subscription information is obtained from the second node.
[0063] In one embodiment, the acquiring the batch subscription information from the second node includes:
[0064] Sending a request for obtaining the contract information to the second node;
[0065] Receive the contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes the batch subscription information.
[0066] In one embodiment, sending the subscription data to the first node according to the batch subscription information includes:
[0067] When it is detected that the subscription event occurs in the terminal device, the subscription data is sent to the first node according to the batch subscription information.
[0068] In one embodiment, sending the subscription data to the first node according to the batch subscription information includes:
[0069] According to the batch subscription information, the subscription data is sent to a third node, so that the third node forwards the subscription data to the first node, and the third node is a node that provides a network opening function.
[0070] In one embodiment, the first subscription request includes the following information:
[0071] identification information of the terminal device;
[0072] the content of the subscription event; and
[0073] The validity period of the subscription event.
[0074] In one embodiment, the method further comprises:
[0075] receiving updated batch subscription information sent by the second node; wherein the updated batch subscription information is obtained by the first network element updating the batch subscription information stored in the second node according to the second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel a subscription event;
[0076] Send subscription data to the first node according to the updated batch subscription information.
[0077] In a fifth aspect, the present application further provides a device for subscribing to network open information, which is applied to a first node side. The device includes:
[0078] A request sending module, configured to send a first subscription request to a first network element; wherein the first subscription request is used for the first network element to store batch subscription information in a second node of a unified database; the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in a terminal device to the first node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function;
[0079] The first receiving module is used to receive subscription data sent by the second network element; wherein the subscription data is sent when the second network element obtains the batch subscription information from the second node.
[0080] In a sixth aspect, the present application further provides a device for subscribing to network open information, which is applied to a first network element side. The device includes:
[0081] A second receiving module is used to receive a first subscription request sent by a first node; wherein the first node is a node providing an application service function;
[0082] The first storage module is used to store batch subscription information to the second node according to the first subscription request; wherein the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is a network element of the same type as the first network element, and the second node is a node that provides data storage function.
[0083] In a seventh aspect, the present application further provides a device for subscribing to network open information, which is applied to a second node side. The device includes:
[0084] A second storage module is used to store batch subscription information sent by the first network element; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send the subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is a network element of the same type as the first network element, the first node is a node that provides application service functions, and the second node is a node that provides data storage functions.
[0085] In an eighth aspect, the present application further provides a device for subscribing to network open information, which is applied to a second network element side. The device includes:
[0086] an acquisition module, configured to acquire batch subscription information from a second node; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function;
[0087] A data sending module is used to send the subscription data to the first node according to the batch subscription information.
[0088] In a ninth aspect, the present application further provides a communication device. The communication device comprises a memory, a transceiver and a processor, wherein the memory stores a computer program, the transceiver is used to perform operations of receiving data or sending data under the control of the processor, and the processor implements the steps of the above-mentioned method of subscribing to network open information when executing the computer program.
[0089] In a tenth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for subscribing to network open information are implemented.
[0090] In an eleventh aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method for subscribing to network open information are implemented.
[0091] The above-mentioned method, device, communication equipment and storage medium for subscribing to network open information, the method includes: the first node sends a first subscription request to the first network element, instructing the first network element to store batch subscription information to the second node, and the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; when the second network element obtains relevant information of the terminal device from the second node, the second node sends the batch subscription information to the second network element to instruct the second network element to send subscription data to the first node according to the batch subscription information. Compared with the existing batch subscription process for network open information, the present application does not need to send a subscription request to each network element, but only sends a subscription request to one network element of the same type, so as to realize batch subscription of data, save signaling resources, and at the same time, improve the utilization rate of signaling resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] Figure 1 An application environment diagram of a method for subscribing to network open information in one embodiment;
[0093] Figure 2 A flowchart of a method for subscribing to network open information in one embodiment;
[0094] Figure 3 A flowchart of a method for subscribing to network open information in another embodiment;
[0095] Figure 4 A flowchart of a method for subscribing to network open information in another embodiment;
[0096] Figure 5 A flowchart of a method for subscribing to network open information in another embodiment;
[0097] Figure 6 A flowchart of a method for subscribing to network open information in another embodiment;
[0098] Figure 7 A structural block diagram of a device for subscribing to network open information in one embodiment;
[0099] Figure 8 It is a structural block diagram of a device for subscribing to network open information in another embodiment;
[0100] Fig. 9 It is a structural block diagram of a device for subscribing to network open information in another embodiment;
[0101] Fig.10 It is a structural block diagram of a device for subscribing to network open information in another embodiment;
[0102] Fig.11 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION
[0103] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0104] As mentioned in the above background technology, when the AF network element reports the start and end of the actual traffic of the network subscription user, the AF network element needs to send a subscription message to the SM-PCF network element that provides the report to all network elements in the network. If multiple AF network elements send the request to all SM-PCF network elements in the network at the same time, redundant information will inevitably appear, that is, some SM-PCFs may not be responsible for the target user at all. Therefore, there is a problem of signaling resource waste in the existing batch subscription network open information process.
[0105] Based on this, the present application provides a method, apparatus, communication equipment and storage medium for subscribing to network open information. When the AF network element needs to request the network to obtain open data of multiple terminal devices from the network, that is, batch subscription, the AF network element can first send a subscription request to one of the target type network elements, and the network element processes the relevant request information content, and stores the batch subscription information applicable to all network elements of the same type in the network's unified data storage network element. When the terminal device goes online and establishes a connection with the target type network element, and reads user information from the unified data storage network element, the relevant batch subscription information will be newly read, and then the target type network element that actually establishes a connection with the user can send the corresponding subscription data to the AF based on the batch subscription information. The AF network element of the present application does not need to send a subscription request to each network element to realize batch subscription to network open information, which saves signaling resources, improves the utilization rate of signaling resources, and improves the efficiency of batch subscription to network open information.
[0106] The solution of this application can be applied to but not limited to the following scenarios:
[0107] Scenario 1: The SMS system in the operator's IMS (Information Management System) can subscribe to the usage of a specified application, such as the cumulative usage time of the application. Based on the cumulative usage time information, the SMS system can push the corresponding package information to the terminal device to achieve service value-added.
[0108] Scenario 2: Some applications will use idle time to upgrade services. The existing method is to use the background traffic function to negotiate the transmission time and rate with the network in advance. However, it is possible that users will suddenly use other high-value and high-bandwidth demand services within the preset time. If the background traffic application AF can subscribe to the start / end status report of a specific service to the network, the transmission of the background traffic service can be adjusted or suspended in real time. This optimizes the resource utilization on the AF side and the network side.
[0109] Figure 1 A schematic diagram showing an exemplary system architecture of a method or device for subscribing to network open information that can be applied to an embodiment of the present application.
[0110] Some relevant functional entities included in the communication system are introduced below.
[0111] The user terminal (UE) accesses the data network (DN) and the like by accessing the operator network, and can use the services provided by the operator or a third party on the DN. For the convenience of explanation, the user terminal, user equipment, terminal equipment or terminal in the embodiments of the present application may be collectively referred to as UE. That is, unless otherwise specified, the UE described in the embodiments of the present application can be replaced by a user terminal, user equipment, terminal equipment or terminal, and of course they can also be interchanged.
[0112] (R)AN: (Radio) access network (R)AN) mainly controls UE's wireless access to the mobile communication network.
[0113] Access and Mobility Management Function (AMF) is a control plane function in 3GPP network, which is mainly responsible for access control and mobility management of UE accessing operator network. Among them, Security Anchor Function (SEAF) can be deployed in AMF, or SEAF may also be deployed in another device different from AMF, taking SEAF being deployed in AMF as an example. When SEAF is deployed in AMF, SEAF and AMF can be collectively referred to as AMF.
[0114] SMF (Session Management Function) is a control plane function in 3GPP network. SMF is mainly responsible for managing UE's packet data unit (PDU) session. PDU session is a channel for transmitting PDU. UE can send PDU to DN through PDU session. SMF is responsible for the establishment, maintenance and deletion of PDU session.
[0115] The data network (DN), also known as the packet data network (PDN), is a network located outside the 3GPP network. The 3GPP network can access multiple DNs, and a variety of services provided by operators or third parties can be deployed on the DN. For example, a DN is a private network of a smart factory. The sensors installed in the workshop of the smart factory play the role of UE, and the control server of the sensor is deployed in the DN. The UE communicates with the control server. After obtaining the instructions of the control server, the UE can pass the collected data to the control server according to the instructions. For another example, the DN is an internal office network of a company, and the terminals used by the company's employees can play the role of UE, and this UE can access the company's internal information and other resources.
[0116] Among them, the Unified Data Management (UDM) is also a control plane function in the 3GPP network. UDM is mainly responsible for storing the subscription data, credentials and permanent identity (SUPI) of the subscriber (UE) in the 3GPP network. These data can be used for authentication and authorization of UE access to the operator's 3GPP network.
[0117] Among them, the Network Exposure Function (NEF) is also a control plane function in the 3GPP network. NEF is mainly responsible for opening the external interface of the 3GPP network to third parties in a secure manner. Among them, when functional entities such as SMF need to communicate with third-party network elements, NEF can be used as a communication relay. Among them, during relaying, NEF can translate internal and external identifiers. For example, when the UE's SUPI is sent from the 3GPP network to a third party, NEF can translate the SUPI into its corresponding external identity (ID). Conversely, NEF can translate the external identity ID into the corresponding SUPI when sending it to the 3GPP network.
[0118] Among them, the network storage function (NRF, Network Repository Function) is also a control plane function in the 3GPP network. It is mainly responsible for storing the configuration and service information (profile) of the accessible network function (NF) and providing network function discovery services for other functional entities.
[0119] The user plane function UPF is the gateway for communication between the 3GPP network and the DN.
[0120] The Policy Control Function (PCF) is a control plane function in the 3GPP network, which is used to provide the SMF with the PDU session policy. The policy may include billing, Quality of Service (QoS), authorization-related policies, etc.
[0121] The Network Slice Selection Function (NSSF) is responsible for selecting network slices for the UE.
[0122] Application Function (AF) is responsible for user application management.
[0123] 3GPP network refers to a network that complies with 3GPP standards. Figure 1 The parts other than UE and DN can be regarded as 3GPP networks. 3GPP networks are not limited to 5G networks defined by 3GPP, but can also include 2G, 3G, and 4G networks. Usually 3GPP networks are operated by operators. Figure 1 N1, N2, N3, N4, N6, etc. in the illustrated architecture represent reference points between related network entities / network functions.
[0124] The present exemplary implementation is described in detail below with reference to the accompanying drawings and embodiments.
[0125] In one embodiment, Figure 2 As shown, a method for subscribing to network open information is provided, and the method is applied to Figure 1 The AF in the example is used to illustrate, including the following steps:
[0126] S202: Send a first subscription request to a first network element.
[0127] Among them, the first subscription request is used for the first network element to store batch subscription information to the second node; the batch subscription information is used to instruct the second network element to send the subscription data generated when the terminal device has a subscription event to the first node; the second network element is the first network element or a network element of the same type as the first network element; the first node is a node that provides application service functions, for example, the first node can be an AF network element or other network element with application service functions; the second node is a node that provides data storage functions, for example, the second node can be a UDM network element, a UDR network element or other network element with data storage functions. The first network element can be a PCF network element, a UPF network element, an AMF network element or an AAnF (akma anchor Function) network element, etc. Similarly, the second network element can be a PCF network element, a UPF network element, an AMF network element or an AAnF network element, etc. deployed in different areas.
[0128] Optionally, the first subscription request may include the following information: identification information of the terminal device, content of the subscription event, and validity period of the subscription event. The identification information may be a network identifier or a device identifier, for example, the IMEI (International Mobile Station Equipment Identity) of the terminal device, IMSI (International Mobile Subscriber Identity), DNN (Data Network Name), network slice or group ID (Identity).
[0129] Optionally, the first node can directly send the first subscription request to the first network element, or forward the first subscription request to the first network element through an intermediate device. For example, taking the first node as an AF network element as an example, when the AF network element is a trusted network element, the AF network element directly sends the first subscription request to the first network element; when the AF network element is a non-trusted network element, optionally, sending a subscription request to the first network element includes: sending the subscription request to a third node, so that the third node forwards the subscription request to the first network element, and the third node is a node that provides network opening functions. The AF network element first sends the first subscription request to the third node, and the third node forwards the first subscription request to the first network element. Here, the third node can be an NEF network element or other intermediate device with message or data forwarding function. The present application distinguishes whether the first node is a trusted node. When the first node is a non-trusted node, the first node cannot directly send the first subscription request to the first network element. The first node first sends the first subscription request to the intermediate device, and then forwards the first subscription request to the first network element through the intermediate device to avoid attacks on the first network element by non-trusted nodes, thereby reducing network security risks.
[0130] S204: Receive subscription data sent by the second network element.
[0131] The subscription data is sent when the second network element obtains batch subscription information from the second node.
[0132] Optionally, when the first node is a trusted node, the first node can directly receive the subscription data sent by the second network element; when the first node is an untrusted node, receiving the subscription data sent by the second network element includes: receiving the subscription data forwarded by the third node; wherein the subscription data forwarded by the third node comes from the second network element. This application ensures the security of data transmission by referring to the forwarding of subscription data by the third node.
[0133] In this embodiment, the first node instructs the first network element to store batch subscription information to the second node by sending a first subscription request to the first network element. The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; when the second network element obtains relevant information of the terminal device from the second node, the second node sends the batch subscription information to the second network element to instruct the second network element to send subscription data to the first node according to the batch subscription information. In the process of batch subscription of network open information in this application, there is no need to send a subscription request to each network element. Only a subscription request is sent to one network element of the same type of network element to achieve batch subscription of data, which saves signaling resources and improves the utilization rate of signaling resources.
[0134] Optionally, the method further includes: sending a second subscription request to the first network element; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event, so that the first network element updates the batch subscription information stored on the second node, and the second node sends the updated batch subscription information to the second network element. The second subscription request may include an indication of modifying or canceling a subscription event.
[0135] When the first node needs to modify a subscription event or cancel a subscription event, the first node sends a second subscription request to the first network element to notify the first network element to modify or cancel the subscription event. The first network element updates the batch subscription information stored on the second node and instructs the second node to send the updated batch subscription information to the second network element. The second network element can monitor the latest subscription event of the first node based on the updated batch subscription information. When the latest subscription event occurs in the terminal device, the second network element sends the subscription data related to the latest subscription event to the first node. This application can change the subscription event in time to meet the actual subscription needs of subscribing to network open information.
[0136] It should be noted that, assuming there are 3 PCF network elements in the network, the AF network element needs the PCF network elements of the network to provide subscription data of 3 terminal devices. According to the existing solution, the AF network element needs to send subscription requests containing 3 terminal devices to the 3 PCF network elements, and each PCF network element will process and save the subscription requests corresponding to each terminal device. In the solution of the present application, the AF network element can select a PCF network element (which can be preset in the AF network element), send the subscription request to the default PCF network element, and the default PCF network element generates batch subscription information based on the subscription request, and sends the batch subscription information to the UDR network element for storage. The default PCF network element can choose to delete the locally saved subscription request after sending it to the UDR network element.
[0137] Similarly, for example, there are N PCFs in the network and n terminal devices; using the existing solution, the required signaling amount is N (assuming that one signaling can contain subscription requests from n terminal devices), and the storage amount corresponding to batch subscription is n×N. However, using the solution of the present application, the required signaling amount is 2, and the storage amount corresponding to batch subscription is n. Therefore, the present application greatly reduces the signaling overhead and avoids a large amount of unnecessary information occupancy in the data providing network element (such as PCF network element).
[0138] In one embodiment, Figure 3 As shown, a method for subscribing to network open information is provided, and the method is applied to Figure 1 The PCF in the example is used to illustrate, including the following steps:
[0139] S302: Receive a first subscription request sent by a first node.
[0140] The first node is a node that provides application service functions;
[0141] Optionally, when the first node is a trusted node, the first network element may directly receive the first subscription request sent by the first node; when the first node is an untrusted node, receiving the subscription request sent by the first node includes: receiving the first subscription request forwarded by a third node; wherein the first subscription request forwarded by the third node comes from the first node, and the third node is a node providing network opening function.
[0142] S304: Store the batch subscription information in the second node according to the first subscription request.
[0143] Among them, the batch subscription information is used to instruct the second network element to send the subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element, and the second node is a node that provides data storage function.
[0144] Optionally, according to the first subscription request, storing the batch subscription information to the second node includes: generating the batch subscription information according to the first subscription request; sending the batch subscription information to the second node so that the second node stores the batch subscription information. Alternatively, the first network element sends a storage request carrying the batch subscription information to the second node, and the second node locally stores the batch subscription information in response to the storage request. The storage request is used to instruct the second node to store the batch subscription information.
[0145] In this embodiment, the first node sends a first subscription request to the first network element, instructing the first network element to store batch subscription information to the second node. The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; when the second network element obtains relevant information of the terminal device from the second node, the second node sends the batch subscription information to the second network element to instruct the second network element to send subscription data to the first node according to the batch subscription information. In the process of batch subscription to network open information in this application, there is no need to send a subscription request to each network element. Only a subscription request is sent to one network element of the same type of network element to achieve batch subscription of data, which saves signaling resources and improves the utilization rate of signaling resources.
[0146] Optionally, the method further includes: receiving a second subscription request sent by the first node; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event; and updating the batch subscription information stored on the second node according to the second subscription request.
[0147] Optionally, updating the batch subscription information stored on the second node according to the second subscription request includes: sending an information update message to the second node; wherein the information update message is used to instruct the second node to modify or delete the batch subscription information, and enables the second node to send the updated batch subscription information to the second network element.
[0148] Optionally, the method further includes: obtaining batch subscription information from the second node when detecting that the terminal device is registered to the network and establishing a service association with the terminal device; and sending subscription data to the first node according to the batch subscription information when detecting that a subscription event occurs in the terminal device. After the terminal device is online, a registration process is initiated, the terminal device establishes a service association with the first network element, the first network element requests the second node to obtain relevant information of the terminal device, and the second node returns relevant information carrying the batch subscription information to the first network element.
[0149] Optionally, obtaining batch subscription information from the second node includes: sending a contract information acquisition request to the second node; receiving contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes batch subscription information. The first network element sends a contract information acquisition request to the second node; the second node returns contract information carrying batch subscription information to the first network element in response to the contract information acquisition request. Batch subscription information is added to the contract information of the terminal device of the present application to instruct the first network element to return subscription data to the first node. The second node does not need to send batch subscription information to the first network element separately, thereby avoiding waste of signaling resources and improving the utilization of signaling resources.
[0150] Optionally, sending subscription data to the first node according to the batch subscription information includes: sending the subscription data to a third node according to the batch subscription information, so that the third node forwards the subscription data to the first node. This application is for an untrusted first node, and forwards the subscription data to the first node through a third node to improve the security of data transmission.
[0151] In one embodiment, Figure 4 As shown, a method for subscribing to network open information is provided, and the method is applied to a UDR network element as an example for explanation, including the following steps:
[0152] S402: Store the batch subscription information sent by the first network element.
[0153] Among them, the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send the subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element, the first node is a node providing application service functions, and the second node is a node providing data storage functions.
[0154] In this embodiment, the first node instructs the first network element to store batch subscription information to the second node by sending a first subscription request to the first network element. The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; when the second network element obtains relevant information of the terminal device from the second node, the second node sends the batch subscription information to the second network element to instruct the second network element to send subscription data to the first node according to the batch subscription information. In the process of batch subscription of network open information in this application, there is no need to send a subscription request to each network element. Only a subscription request is sent to one network element of the same type of network element to achieve batch subscription of data, which saves signaling resources and improves the utilization rate of signaling resources.
[0155] Optionally, the method further includes: receiving a contract information acquisition request sent by the second network element; in response to the contract information acquisition request, sending contract information to the second network element; wherein the contract information includes batch subscription information.
[0156] Optionally, the method further includes: receiving an information update message sent by the first network element; wherein the information update message is sent when the first network element receives a second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel a subscription event; according to the information update message, modify or delete the batch subscription information to obtain updated batch subscription information; and send the updated batch subscription information to the second network element. This application updates the batch subscription information to meet the actual subscription needs of the first node to subscribe to network open information.
[0157] In one embodiment, Figure 5 As shown, a method for subscribing to network open information is provided, and the method is applied to Figure 1 The PCF in the example is used to illustrate, including the following steps:
[0158] S502: Obtain batch subscription information from the second node.
[0159] Among them, the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send the subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element; the first node is a node that provides application service functions, and the second node is a node that provides data storage functions.
[0160] Optionally, obtaining the batch subscription information from the second node includes: obtaining the batch subscription information from the second node when it is detected that the terminal device is registered to the network and a service association is established with the terminal device.
[0161] Optionally, obtaining batch subscription information from the second node includes: sending a contract information acquisition request to the second node; receiving contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes batch subscription information. The present application adds the transmission of batch subscription information to the contract information acquisition process of the terminal device to improve the utilization rate of signaling resources.
[0162] S504: Send subscription data to the first node according to the batch subscription information.
[0163] Optionally, sending the subscription data to the first node according to the batch subscription information includes: when a subscription event is detected in the terminal device, sending the subscription data to the first node according to the batch subscription information.
[0164] Optionally, when the first node is a trusted node, the second network element directly sends the batch subscription information to the first node; when the first node is an untrusted node, the second network element sends the subscription data to the first node according to the batch subscription information, including: sending the subscription data to a third node according to the batch subscription information, so that the third node forwards the subscription data to the first node, and the third node is a node that provides network opening functions.
[0165] In this embodiment, the first node instructs the first network element to store batch subscription information to the second node by sending a first subscription request to the first network element. The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; when the second network element obtains relevant information of the terminal device from the second node, the second node sends the batch subscription information to the second network element to instruct the second network element to send subscription data to the first node according to the batch subscription information. In the process of batch subscription of network open information in this application, there is no need to send a subscription request to each network element. Only a subscription request is sent to one network element of the same type of network element to achieve batch subscription of data, which saves signaling resources and improves the utilization rate of signaling resources.
[0166] Optionally, the method further includes: receiving updated batch subscription information sent by the second node; wherein the updated batch subscription information is obtained by the first network element updating the batch subscription information stored in the second node according to the second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel a subscription event; and according to the updated batch subscription information, sending subscription data to the first node. In this application, by updating the batch subscription information, the second network element sends subscription data to the first node according to the updated batch subscription information to meet the actual subscription needs of the first node to subscribe to network open information.
[0167] Exemplarily, this embodiment provides an optional implementation process based on the above embodiment, taking the first node as an AF network element and the second node as a UDR network element as an example, see Figure 6 The flowchart of another method for subscribing to network open information is shown in FIG. 1 , and the process specifically includes the following steps:
[0168] S602: The AF network element sends a first subscription request to the first network element.
[0169] The first subscription request may include the following information: identification information of the terminal device, content of the subscription event, and validity period of the subscription event.
[0170] S604: The first network element sends batch subscription information to the UDR network element according to the first subscription request.
[0171] The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node. In this example, the first node is the AF network element.
[0172] S606, UE1 registers to the network and establishes a service association with the second network element.
[0173] Among them, UE1 is the first terminal device, and establishing a service association may be establishing a network connection or a service relationship.
[0174] S608: The second network element sends a request for obtaining the contract information to the UDR network element.
[0175] Among them, the contract information acquisition request is used to obtain the contract information of the terminal device.
[0176] S610, the UDR network element sends batch subscription information to the second network element.
[0177] S612: The second network element detects that a subscription event occurs in UE1.
[0178] S614: The second network element sends subscription data to the AF network element.
[0179] Optionally, the second network element may send subscription data to the AF network element according to the batch subscription information.
[0180] S616, UE2 registers to the network and establishes a service association with the first network element.
[0181] Among them, UE2 is the second terminal device.
[0182] S618, the first network element sends a request for obtaining contract information to the UDR network element.
[0183] S620: The UDR network element sends batch subscription information to the first network element.
[0184] S622: The first network element detects that a subscription event occurs in UE2.
[0185] S624, the first network element sends subscription data to the AF network element.
[0186] The specific process of S602-S624 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0187] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0188] Based on the same inventive concept, the embodiment of the present application also provides a device for subscribing to open network information for implementing the method for subscribing to open network information involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of one or more embodiments of the device for subscribing to open network information provided below can refer to the limitations of the method for subscribing to open network information above, and will not be repeated here.
[0189] In one embodiment, Figure 7 As shown, a device for subscribing to network open information is provided, which is applied to a first node side and includes:
[0190] The request sending module 710 is used to send a first subscription request to the first network element; wherein the first subscription request is used for the first network element to store batch subscription information to the second node of the unified database; the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element; the first node is a node that provides application service functions, and the second node is a node that provides data storage functions;
[0191] The first receiving module 720 is configured to receive subscription data sent by the second network element; wherein the subscription data is sent when the second network element obtains batch subscription information from the second node.
[0192] In one embodiment, the request sending module 710 is further used to send the subscription request to a third node, so that the third node forwards the subscription request to the first network element, and the third node is a node providing a network opening function.
[0193] In one embodiment, the first receiving module 720 is further configured to receive subscription data forwarded by a third node; wherein the subscription data forwarded by the third node comes from the second network element.
[0194] In one embodiment, the request sending module 710 is also used to send a second subscription request to the first network element; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event, so that the first network element updates the batch subscription information stored on the second node, and the second node sends the updated batch subscription information to the second network element.
[0195] In one embodiment, Figure 8 As shown, another device for subscribing to network open information is provided, which is applied to a first network element side, and includes:
[0196] The second receiving module 810 is used to receive a first subscription request sent by a first node; wherein the first node is a node providing an application service function;
[0197] The first storage module 820 is used to store batch subscription information to the second node according to the first subscription request; wherein the batch subscription information is used to instruct the second network element to send the subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element, and the second node is a node that provides data storage function.
[0198] In one embodiment, the second receiving module 810 is further used to receive a first subscription request forwarded by a third node; wherein the first subscription request forwarded by the third node comes from the first node, and the third node is a node providing a network opening function.
[0199] In one embodiment, the above-mentioned device also includes an information update module, and the second receiving module 810 is also used to receive a second subscription request sent by the first node; wherein the second subscription request is used to indicate that the first network element modifies or cancels the subscription event; the information update module is used to update the batch subscription information stored on the second node according to the second subscription request.
[0200] In one of the embodiments, the information update module is specifically used to send an information update message to the second node; wherein the information update message is used to instruct the second node to modify or delete the batch subscription information, and enable the second node to send the updated batch subscription information to the second network element.
[0201] In one of the embodiments, the above-mentioned device also includes a subscription information acquisition module and a subscription data sending module. The subscription information acquisition module is used to obtain batch subscription information from the second node when it is detected that the terminal device is registered to the network and a service association is established with the terminal device; the subscription data sending module is used to send subscription data to the first node according to the batch subscription information when it is detected that a subscription event occurs in the terminal device.
[0202] In one of the embodiments, the subscription information acquisition module is further used to send a contract information acquisition request to the second node; receive contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes batch subscription information.
[0203] In one of the embodiments, the subscription data sending module is further used to send the subscription data to the third node according to the batch subscription information, so that the third node forwards the subscription data to the first node.
[0204] In one embodiment, Fig. 9 As shown, another device for subscribing to network open information is provided, which is applied to the second node side and includes:
[0205] The second storage module 910 is used to store batch subscription information sent by the first network element; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send the subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element, the first node is a node that provides application service functions, and the second node is a node that provides data storage functions.
[0206] In one of the embodiments, the above-mentioned device also includes a contract signing request receiving module and a contract signing information sending module, wherein the contract signing request receiving module is used to receive a contract signing information acquisition request sent by the second network element; the contract signing information sending module is used to send contract signing information to the second network element in response to the contract signing information acquisition request; wherein the contract signing information includes batch subscription information.
[0207] In one of the embodiments, the above-mentioned device also includes an update message receiving module, an update information determination module and an update information sending module, the update message receiving module is used to receive an information update message sent by the first network element; wherein the information update message is sent when the first network element receives a second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel the subscription event; the update information determination module is used to modify or delete the batch subscription information according to the information update message to obtain the updated batch subscription information; the update information sending module is used to send the updated batch subscription information to the second network element.
[0208] In one embodiment, Fig.10 As shown, another device for subscribing to network open information is provided, which is applied to the second network element side, including:
[0209] The acquisition module 1010 is used to acquire batch subscription information from the second node; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function;
[0210] The data sending module 1020 is used to send subscription data to the first node according to the batch subscription information.
[0211] In one of the embodiments, the acquisition module 1010 is further configured to acquire batch subscription information from the second node when it is detected that the terminal device is registered to the network and a service association is established with the terminal device.
[0212] In one of the embodiments, the acquisition module 1010 further sends a contract information acquisition request to the second node; and receives contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes batch subscription information.
[0213] In one of the embodiments, the data sending module 1020 is further configured to send subscription data to the first node according to the batch subscription information when a subscription event is detected in the terminal device.
[0214] In one embodiment, the data sending module 1020 is further used to send the subscription data to a third node according to the batch subscription information, so that the third node forwards the subscription data to the first node, and the third node is a node providing a network opening function.
[0215] In one embodiment, the above-mentioned device also includes an update information receiving module, which is used to receive updated batch subscription information sent by the second node; wherein the updated batch subscription information is obtained by the first network element updating the batch subscription information stored in the second node according to the second subscription request sent by the first node; the second subscription request is used to indicate that the first network element modifies or cancels the subscription event; the data sending module 1020 is also used to send subscription data to the first node according to the updated batch subscription information.
[0216] Each module in the above-mentioned device for subscribing to network open information can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the communication device in the form of hardware, or can be stored in the memory in the communication device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0217] In one embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as follows: Fig.11 As shown. The communication device includes a processor, a memory, a network interface and a transceiver (not shown in the figure) connected through a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store data such as a first subscription request, a second subscription request and batch subscription information. The transceiver of the communication device is used to perform operations of receiving data or sending data under the control of the processor. The network interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for subscribing to network open information is implemented.
[0218] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0219] In one embodiment, a communication device is provided, a memory, a transceiver and a processor, a computer program is stored in the memory, and when the processor executes the processing logic in the computer program, the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present application can be implemented. For example, when the processor executes the processing logic in the computer program, the following steps are also implemented: sending a first subscription request to a first network element; wherein the first subscription request is used for the first network element to store batch subscription information to a second node; the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in a terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element; the first node is a node that provides application service functions, and the second node is a node that provides data storage functions; receiving subscription data sent by the second network element; wherein the subscription data is sent when the second network element obtains the batch subscription information from the second node.
[0220] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the processing logic in the computer program is executed by a processor, the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present application can be implemented. For example, when the processing logic in the computer program is executed by the processor, the following steps are also implemented: receiving a first subscription request sent by a first node; wherein the first node is a node that provides application service functions; according to the first subscription request, storing batch subscription information to a second node; wherein the batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in a terminal device to the first node; the second network element is the first network element or a network element of the same type as the first network element, and the second node is a node that provides data storage functions.
[0221] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, can implement the steps described in the above "Exemplary Method" section of this specification according to various exemplary implementations of the present application. For example, when the computer program is executed by the processor, the following steps are also implemented: obtaining batch subscription information from the second node; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node, and the batch subscription information is used to instruct the second network element to send the subscription data generated when the terminal device has a subscription event to the first node; the second network element is the first network element or a network element of the same type as the first network element; the first node is a node that provides application service functions, and the second node is a node that provides data storage functions; according to the batch subscription information, the subscription data is sent to the first node.
[0222] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0223] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0224] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for subscribing to network open information, characterized in that: Applied to the first node, the method comprises: Sending a first subscription request to a first network element; wherein the first subscription request is used for the first network element to store batch subscription information to a second node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function; Receive subscription data sent by the second network element; wherein the subscription data is sent when the second network element obtains the batch subscription information from the second node.
2. The method according to claim 1, characterized in that: The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
3. The method according to claim 1, characterized in that The first subscription request includes the following information: Identification information of the terminal device; the content of the subscription event; and The validity period of the subscription event.
4. The method according to claim 1, characterized in that The sending a subscription request to the first network element includes: The subscription request is sent to a third node, so that the third node forwards the subscription request to the first network element, and the third node is a node that provides a network opening function.
5. The method according to claim 1, characterized in that The receiving the subscription data sent by the second network element includes: Receive subscription data forwarded by a third node; wherein the subscription data forwarded by the third node comes from the second network element.
6. The method according to claim 1, characterized in that The method further comprises: Send a second subscription request to the first network element; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event, so that the first network element updates the batch subscription information stored on the second node, and the second node sends the updated batch subscription information to the second network element.
7. A method for subscribing to network open information, characterized in that: Applied to a first network element, the method includes: Receiving a first subscription request sent by a first node; wherein the first node is a node providing an application service function; According to the first subscription request, the batch subscription information is stored in a second node; wherein the second network element is a network element of the same type as the first network element, and the second node is a node that provides a data storage function.
8. The method according to claim 7, characterized in that The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
9. The method according to claim 7, characterized in that: The receiving a subscription request sent by the first node includes: A first subscription request forwarded by a third node is received; wherein the first subscription request forwarded by the third node comes from the first node, and the third node is a node providing a network opening function.
10. The method according to claim 7, characterized in that The method further comprises: receiving a second subscription request sent by the first node; wherein the second subscription request is used to instruct the first network element to modify or cancel a subscription event; According to the second subscription request, the batch subscription information stored on the second node is updated.
11. The method according to claim 10, characterized in that The updating, according to the second subscription request, the batch subscription information stored on the second node includes: Send an information update message to the second node; wherein the information update message is used to instruct the second node to modify or delete the batch subscription information, and enable the second node to send the updated batch subscription information to the second network element.
12. The method according to claim 7, characterized in that The method further comprises: acquiring the batch subscription information from the second node when detecting that the terminal device is registered with the network and establishing a service association with the terminal device; When it is detected that the subscription event occurs in the terminal device, subscription data is sent to the first node according to the batch subscription information.
13. The method according to claim 12, characterized in that The acquiring the batch subscription information from the second node includes: Sending a request for obtaining the contract information to the second node; Receive the contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes the batch subscription information.
14. The method according to claim 12, characterized in that The sending subscription data to the first node according to the batch subscription information includes: The subscription data is sent to a third node according to the batch subscription information, so that the third node forwards the subscription data to the first node.
15. The method according to claim 7, characterized in that The first subscription request includes the following information: Identification information of the terminal device; the content of the subscription event; and The validity period of the subscription event.
16. A method for subscribing to network open information, characterized in that: Applied to the second node, the method comprises: Store batch subscription information sent by the first network element; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node; the second network element is a network element of the same type as the first network element, the first node is a node providing application service functions, and the second node is a node providing data storage functions.
17. The method according to claim 16, characterized in that The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
18. The method according to claim 16, characterized in that The method further comprises: Receiving a request for obtaining the contract information sent by the second network element; In response to the contract information acquisition request, the contract information is sent to the second network element; wherein the contract information includes the batch subscription information.
19. The method according to claim 16, characterized in that The method further comprises: receiving an information update message sent by the first network element; wherein the information update message is sent when the first network element receives a second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel a subscription event; Modify or delete the batch subscription information according to the information update message to obtain updated batch subscription information; The updated batch subscription information is sent to the second network element.
20. The method according to claim 16, characterized in that The first subscription request includes the following information: Identification information of the terminal device; the content of the subscription event; and The validity period of the subscription event.
21. A method for subscribing to network open information, characterized in that: Applied to a second network element, the method comprises: Acquire batch subscription information from the second node; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function; The subscription data is sent to the first node according to the batch subscription information.
22. The method according to claim 21, characterized in that The batch subscription information is used to instruct the second network element to send subscription data generated when a subscription event occurs in the terminal device to the first node.
23. The method according to claim 21, characterized in that The obtaining batch subscription information from the second node includes: When it is detected that the terminal device is registered with the network and a service association is established with the terminal device, the batch subscription information is obtained from the second node.
24. The method according to claim 23, characterized in that The acquiring the batch subscription information from the second node includes: Sending a request for obtaining the contract information to the second node; Receive the contract information returned by the second node in response to the contract information acquisition request; wherein the contract information includes the batch subscription information.
25. The method according to claim 21, characterized in that The sending the subscription data to the first node according to the batch subscription information includes: When it is detected that the subscription event occurs in the terminal device, the subscription data is sent to the first node according to the batch subscription information.
26. The method according to claim 21 or 25, characterized in that The sending the subscription data to the first node according to the batch subscription information includes: According to the batch subscription information, the subscription data is sent to a third node, so that the third node forwards the subscription data to the first node, and the third node is a node that provides a network opening function.
27. The method according to claim 21, characterized in that The first subscription request includes the following information: Identification information of the terminal device; the content of the subscription event; and The validity period of the subscription event.
28. The method according to claim 21, characterized in that The method further comprises: receiving updated batch subscription information sent by the second node; wherein the updated batch subscription information is obtained by the first network element updating the batch subscription information stored in the second node according to the second subscription request sent by the first node; the second subscription request is used to instruct the first network element to modify or cancel a subscription event; Send subscription data to the first node according to the updated batch subscription information.
29. A device for subscribing to network open information, characterized in that: Applied to the first node side, the device includes: A request sending module, configured to send a first subscription request to a first network element; wherein the first subscription request is used for the first network element to store batch subscription information in a second node of a unified database; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function; The first receiving module is used to receive subscription data sent by the second network element; wherein the subscription data is sent when the second network element obtains the batch subscription information from the second node.
30. A device for subscribing to network open information, characterized in that: Applied to the first network element side, the device includes: A second receiving module is used to receive a first subscription request sent by a first node; wherein the first node is a node providing an application service function; The first storage module is used to store the batch subscription information to the second node according to the first subscription request; wherein the second network element is a network element of the same type as the first network element, and the second node is a node that provides data storage function.
31. A device for subscribing to network open information, characterized in that: Applied to the second node side, the device includes: The second storage module is used to store batch subscription information sent by the first network element; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node; the second network element is a network element of the same type as the first network element, the first node is a node providing application service functions, and the second node is a node providing data storage functions.
32. A device for subscribing to network open information, characterized in that: Applied to the second network element side, the device includes: an acquisition module, configured to acquire batch subscription information from a second node; wherein the batch subscription information is generated by the first network element according to the first subscription request sent by the first node; the second network element is a network element of the same type as the first network element; the first node is a node providing an application service function, and the second node is a node providing a data storage function; A data sending module is used to send the subscription data to the first node according to the batch subscription information.
33. A communication device, comprising a memory, a transceiver and a processor, wherein the memory stores a computer program, characterized in that: The processor implements the steps of the method described in any one of claims 1 to 6 when executing the computer program, or implements the steps of the method described in any one of claims 7 to 15 when executing the computer program, or implements the steps of the method described in any one of claims 16 to 20 when executing the computer program, or implements the steps of the method described in any one of claims 21 to 28 when executing the computer program, and the transceiver is used to perform operations of receiving data or sending data under the control of the processor.
34. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 24 are implemented.
35. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 24 are implemented.