Subscription method and device, equipment and storage medium

By sending status change notifications to subscribers in the 5G core network and obtaining only shared information identifiers or shared information, the problem of excessive resource usage during the NRF subscription process is solved, and efficient subscription process and information synchronization are achieved.

CN120835281APending Publication Date: 2025-10-24CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410480688.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

In the 5G core network, during the subscription process of the Network Memory Function (NRF), all information needs to be subscribed, which results in excessive transmission resource usage and reduces subscription efficiency.

Method used

By sending status change notifications to subscribers, including the changed shared information identifier and/or the changed shared information, only the shared information or the identifier of the shared information needs to be obtained, which reduces the amount of data required for subscription and keeps the subscriber synchronized with the information in NRF when the shared information changes.

Benefits of technology

It effectively reduces the resources occupied by NRF subscriptions, improves subscription efficiency, avoids the problem of subscriptions not being understood, and ensures that subscribers stay synchronized with the shared information in NRF.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120835281A_ABST
    Figure CN120835281A_ABST
Patent Text Reader

Abstract

The invention provides a subscription method and device, equipment and a storage medium, and relates to the technical field of communication. The method comprises the step of sending a state change notification to a subscriber under the condition that the shared information is changed, so that the subscriber and the shared information in an NRF can be kept synchronous, and the problem that subscription is not understood due to the fact that the subscriber and the shared information in the NRF are not synchronous is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of communication technology, and particularly relates to a subscription method, device, equipment and storage medium. BACKGROUND

[0002] The Network Repository Function (NRF) is a key component in the 5G core network, used to store and manage information related to the network, such as network services, slices, UE routing, etc. The NRF provides a service discovery mechanism for other network functions, enabling network functions to register, discover, select and communicate with other network functions. However, when other NFs subscribe to the NRF, all information of the NRF needs to be subscribed, which occupies a large amount of transmission resources and reduces the efficiency of subscription. SUMMARY

[0003] The present disclosure provides an image processing method, device, equipment and storage medium, which at least reduces the resources occupied by the NRF subscription and improves the efficiency of subscription.

[0004] Other characteristics and advantages of the present disclosure will become apparent from the following detailed description, or will be learned by practice of the present disclosure.

[0005] According to one aspect of the present disclosure, a subscription method is provided, applied to an NRF, comprising:

[0006] In the case where the shared information changes, a state change notification is sent to the subscriber, the state change notification comprising the changed shared information identifier and / or the changed shared information, and the subscriber comprising a network function (Network Function, NF) and a service communication proxy SCP.

[0007] In one embodiment of the present disclosure, the shared information comprises the same part of the plurality of NF information registered in the NRF.

[0008] In one embodiment of the present disclosure, a subscription request sent by the subscriber is received, and the subscription request comprises the shared information identifier and / or the shared information.

[0009] In one embodiment of the present disclosure, after receiving the subscription request sent by the subscriber, the method further comprises:

[0010] In the case where the subscription is determined to fail based on the subscription request, a subscription failure message is sent to the subscriber, the subscription failure message comprising at least one of redirection information, failure cause information and internal failure information.

[0011] In an embodiment of the present disclosure, the failure cause information comprises: the OAM does not configure the shared information corresponding to the shared information identifier, and the shared information corresponding to the shared information identifier is not found.

[0012] In an embodiment of the present disclosure, the method further comprises:

[0013] In a case where the subscription party fails to synchronize the shared information based on the state change notification, a synchronization failure message sent by the subscription party is received, and the synchronization failure message comprises at least one of redirection information, local absence of the shared information, and internal failure information.

[0014] According to another aspect of the present disclosure, a subscription method applied to a subscription party comprising an NF and an SCP is provided, and the method comprises:

[0015] In a case where the shared information changes, a state change notification sent by a network repository function (NRF) is received, and the state change notification comprises an identifier of the changed shared information and / or the changed shared information.

[0016] In an embodiment of the present disclosure, the shared information comprises a same part of a plurality of NF information registered in the NRF.

[0017] In an embodiment of the present disclosure, the method further comprises:

[0018] A subscription request is sent to the NRF, and the subscription request comprises the shared information identifier and / or the shared information.

[0019] In an embodiment of the present disclosure, after the subscription request is sent to the NRF, the method further comprises:

[0020] In a case where the NRF determines that the subscription fails, a subscription failure message sent by the NRF is received, and the subscription failure message comprises at least one of redirection information, failure cause information, and internal failure information.

[0021] In an embodiment of the present disclosure, the failure cause information comprises: the OAM does not configure the shared information corresponding to the shared information identifier, and the shared information corresponding to the shared information identifier is not found.

[0022] In an embodiment of the present disclosure, the method further comprises:

[0023] The shared information is synchronized based on the state change notification;

[0024] In a case where it is determined that the synchronization fails, a synchronization failure message is sent to the NRF, and the synchronization failure message comprises at least one of redirection information, local absence of the shared information, and internal failure information.

[0025] According to still another aspect of the present disclosure, a subscription apparatus is provided, applied to an NRF, comprising:

[0026] The first sending module is configured to send a state change notification to the subscriber in the case that the shared information changes, the state change notification comprising the changed shared information identifier and / or the changed shared information.

[0027] In an embodiment of the present disclosure, the shared information comprises a same part of information of a plurality of NFs registered in the NRF.

[0028] In an embodiment of the present disclosure, the apparatus further comprises:

[0029] The second receiving module is configured to receive a subscription request sent by the subscriber, the subscription request comprising the shared information identifier and / or the shared information.

[0030] In an embodiment of the present disclosure, the apparatus further comprises:

[0031] The second sending module is configured to send a subscription failure message to the subscriber in the case that the subscription is determined to fail based on the subscription request, the subscription failure message comprising at least one of redirection information, failure cause information and internal failure information.

[0032] In an embodiment of the present disclosure, the failure cause information comprises that the OAM does not configure the shared information corresponding to the shared information identifier and the shared information corresponding to the shared information identifier is not found.

[0033] In an embodiment of the present disclosure, the apparatus further comprises:

[0034] The third receiving module is configured to receive a synchronization failure message sent by the subscriber in the case that the synchronization of the shared information by the subscriber based on the state change notification fails, the synchronization failure message comprising at least one of redirection information, local nonexistence of the shared information and internal failure information.

[0035] According to still another aspect of the present disclosure, a subscription apparatus is provided, applied to a subscriber, the subscriber comprising an NF and an SCP, comprising:

[0036] The first receiving module is configured to receive a state change notification sent by an NRF in the case that the shared information changes, the state change notification comprising the changed shared information identifier and / or the changed shared information.

[0037] In an embodiment of the present disclosure, the shared information comprises common information of information of a plurality of NFs registered in the NRF.

[0038] In an embodiment of the present disclosure, the apparatus further comprises:

[0039] The third sending module is configured to send a subscription request to the NRF, the subscription request comprising the shared information identifier and / or the shared information.

[0040] In an embodiment of the present disclosure, the apparatus further comprises:

[0041] The fourth receiving module is configured to receive a subscription failure message sent by the NRF in a case where the NRF determines that the subscription fails, the subscription failure message comprising at least one of redirection information, failure cause information, and internal failure information.

[0042] In an embodiment of the present disclosure, the failure cause information comprises that the OAM does not configure the shared information corresponding to the shared information identifier and that the shared information corresponding to the shared information identifier is not found.

[0043] In an embodiment of the present disclosure, the apparatus further comprises:

[0044] The synchronizing module is configured to synchronize the shared information based on the state change notification.

[0045] The fourth sending module is configured to send a synchronization failure message to the NRF in a case where it is determined that the synchronization fails, the synchronization failure message comprising at least one of redirection information, local absence of the shared information, and internal failure information.

[0046] According to still another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned subscription method via execution of the executable instructions.

[0047] According to still another aspect of the present disclosure, a computer readable storage medium is provided, having stored thereon a computer program, the computer program being executed by a processor to implement the above-mentioned subscription method.

[0048] The subscription method, apparatus, device, and storage medium provided by the embodiments of the present disclosure can send a state change notification to a subscriber in a case where shared information changes, so that the subscriber and the shared information in the NRF can be kept synchronized, and the problem that the subscription is not understood due to the fact that the subscriber and the shared information in the NRF are not synchronized is avoided.

[0049] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0050] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments that conform to the present disclosure and, together with the description, further serve to explain the principles of the present disclosure. It is to be understood that the drawings are designed solely for purposes of illustration and are not intended to limit the scope of the present disclosure in any way.

[0051] Figure 1 A flow chart of a subscription method in an embodiment of the present disclosure is shown;

[0052] Figure 2 A flow chart of another subscription method in an embodiment of the present disclosure is shown;

[0053] Figure 3 A flow chart of still another subscription method in an embodiment of the present disclosure is shown;

[0054] Figure 4 A flow chart of yet another subscription method in an embodiment of the present disclosure is shown;

[0055] Figure 5 A flow chart of still another subscription method in an embodiment of the present disclosure is shown;

[0056] Figure 6 A flow chart of yet another subscription method in an embodiment of the present disclosure is shown;

[0057] Figure 7 A flow chart of still another subscription method in an embodiment of the present disclosure is shown;

[0058] Figure 8 A flow chart of yet another subscription method in an embodiment of the present disclosure is shown;

[0059] Figure 9 A signaling chart of a subscription method in an embodiment of the present disclosure is shown;

[0060] Figure 10 A schematic diagram of a subscription apparatus in an embodiment of the present disclosure is shown;

[0061] Figure 11 A schematic diagram of another subscription apparatus in an embodiment of the present disclosure is shown;

[0062] Figure 12 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0063] Example implementations will now be described with reference to the drawings. However, example implementations can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these implementations are provided so that this disclosure will be thorough and complete, and will fully convey the inventive concept of the example implementations to those skilled in the art. The described features, structures, or characteristics can be combined in one or more implementations in any suitable manner.

[0064] In addition, the accompanying drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification. The drawings illustrate examples of the present disclosure and, as such, a change in the size or proportion of some parts on the drawings should be understood as not a limitation on the scope of the present disclosure. Identical reference numerals in the drawings denote the same or similar elements throughout the several disclosed embodiments.

[0065] It should be understood that each of the steps in the method implementations of the present disclosure can be performed in a different order and / or in parallel. In addition, the method implementations can include additional steps and / or omit performing the steps shown. The scope of the present disclosure is not limited in this respect.

[0066] It should be noted that the terms "first", "second", and the like in the present disclosure are used only to distinguish different devices, modules, or units, and do not imply the order or interdependence of the functions performed by these devices, modules, or units.

[0067] It should be noted that the terms "one", "multiple", and the like in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that "one or more" should be understood unless the context clearly indicates otherwise.

[0068] In order to avoid the need to subscribe to all information of the NRF when other NFs subscribe to the NRF, the technical solution of sharing information is adopted in the present disclosure, which includes the same part of multiple NF information registered in the NRF. After adopting the shared information, the NF only needs to obtain the shared information or the identifier of the shared information when registering the NRF, thereby reducing the amount of data to be transmitted for subscription. However, when the shared information in the NRF changes, the NF using the shared information does not know that the shared information has changed, thereby causing information asymmetry between the NRF and the NF, and possibly causing the information sent by each other to be misunderstood.

[0069] To solve the above problems, the present disclosure provides a subscription method, device, equipment and storage medium.

[0070] In order to describe the present disclosure in detail,Figure 1 A subscription method flow chart in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to the NRF.

[0071] As shown in the subscription method can include: Figure 1

[0072] S110, in the case of sharing information changing, sending a state change notification to the subscriber, the state change notification including the changed sharing information identifier and / or the changed sharing information, the subscriber including the NF and the service communication agent (Service Communication Proxy, SCP).

[0073] In some embodiments, the reason for the change of the sharing information can include:

[0074] Other access parties modify the sharing information, the network management (Operation Administration and Maintenance, OAM) modifies the sharing information, and the current NRF or other NRF modifies the sharing information.

[0075] In some embodiments, the NRF can determine in advance with the subscriber whether the subscriber contains the corresponding sharing information, and in the case of determining that the corresponding sharing information is contained, the sharing information identifier can be contained in the state change notification sent by the NRF to the subscriber.

[0076] In some embodiments, the sharing information corresponds to the sharing information identifier one by one, and the sharing information identifier can include the sharing information ID.

[0077] In some embodiments, the NF or the SCP can be individually used as the subscriber.

[0078] In some embodiments, the sharing information includes the same part of the plurality of NF information registered in the NRF.

[0079] For example, the NFs stored in the same NF Set in the NRF have the same applicable user number segment information, and these number segment information can be taken out as a sharing information.

[0080] The NF Set is a set of control plane NFs of the same type, the same service and the same slice.

[0081] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in the case of sharing information changing, so that the subscriber and the sharing information in the NRF can be kept in synchronization, and the problem of the subscription not being understood caused by the subscriber and the sharing information in the NRF being out of synchronization can be avoided. ​

[0082] Figure 2 Another subscription method flow chart in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to the NRF.

[0083] S210, receiving a subscription request sent by a subscriber, the subscription request comprising a shared information identifier and / or shared information.

[0084] In some embodiments, the NRF and the subscriber can belong to the same PLMN or different PLMNs.

[0085] In some embodiments, the shared information can comprise a plurality of shared information, and the shared information identifier can comprise a list comprising a plurality of shared information identifiers in the form of a table.

[0086] For example, the shared information can be Share Data, and the shared information identifier can be Share Data ID or Share Data ID List. In some embodiments, the subscription request can further comprise specific data ShareData IE of the shared information.

[0087] S220, in the case where the shared information changes, sending a state change notification to the subscriber, the state change notification comprising the changed shared information identifier and / or the changed shared information, the subscriber comprising an NF and a service communication agent SCP.

[0088] In some embodiments, the subscription method before S220 can further comprise that the NRF sends a subscription success notification to the subscriber.

[0089] In some embodiments, the subscription success notification can further comprise data SubscriptionData of the subscription success.

[0090] For example, the subscription success notification can be 201 Created.

[0091] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in the case where the shared information changes, so that the subscriber and the shared information in the NRF can be kept in synchronization, and the problem that the subscription is not understood due to the fact that the subscriber and the shared information in the NRF are not synchronized can be avoided.

[0092] Figure 3 Another subscription method flow chart in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to the NRF.

[0093] S310, receiving a subscription request sent by a subscriber, the subscription request comprising a shared information identifier and / or shared information.

[0094] S320, in a case where it is determined based on the subscription request that the subscription fails, sending a subscription failure message to the subscriber, the subscription failure message including at least one of redirection information, fault cause information, and internal fault information.

[0095] In some embodiments, the fault cause information includes that the OAM does not configure the shared information corresponding to the shared information identification, and the shared information corresponding to the shared information identification is not found.

[0096] In some embodiments, the fault cause information can be ProblemDetail.

[0097] For example, if the fault cause information is that the network management OAM does not configure the shared information corresponding to the shared information identification, then at this time the ProblemDetail can be SHARED_DATA_NOT_CONFIGURED.

[0098] For example, if the fault cause information is that the shared information corresponding to the shared information identification is not found, then at this time the ProblemDetail can be SHARED_DATA_ID_UNKNOWN.

[0099] For example, the redirection information can be 3XX.

[0100] In some embodiments, 4XX can be used to represent the fault cause information and the internal fault information. Among them, the fault cause information can be 400 Bad Request, and the fault cause information can include the ProblemDetails IE.

[0101] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in a case where the shared information changes, so that the subscriber and the shared information in the NRF can be kept synchronized, and the problem that the subscription is not understood due to the fact that the subscriber and the shared information in the NRF are not synchronized is avoided.

[0102] Figure 4 A flowchart of another subscription method in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to the NRF.

[0103] S410, in a case where the shared information changes, sending a state change notification to the subscriber, the state change notification including the shared information identification that changes and / or the shared information after the change, the subscriber including an NF and a service communication agent SCP.

[0104] S420, in a case where the subscriber fails to synchronize the shared information based on the state change notification, receiving a synchronization failure message sent by the subscriber, the synchronization failure message including at least one of redirection information, local nonexistence of the shared information, and internal fault information.

[0105] In some embodiments, when the subscriber receives a status change notification, the subscriber synchronizes the locally stored shared information based on the changed shared information identifier and / or the changed shared information contained in the status change notification.

[0106] In some embodiments, when synchronizing locally stored shared information, there may be two results: synchronization failure and synchronization success.

[0107] In some embodiments, regardless of whether the synchronization succeeds or fails, the subscriber will send a synchronization response to the NRF, and the synchronization response includes a synchronization failure message.

[0108] For example, if the synchronization is successful, the subscriber can send 204 No content to the NRF. If the synchronization failure message is that the shared information does not exist locally, the subscriber can send 404 Not Found to the NRF with ProblemDetails. If the synchronization failure message is a redirection message, the subscriber can send "3XX" to the NRF. If the synchronization failure message is an internal fault message, the subscriber can send "5XX" to the NRF.

[0109] The subscription method provided by the embodiment of the present disclosure sends a status change notification to the subscriber when the shared information changes, so that the subscriber can keep the shared information in the NRF synchronized, avoiding the problem of misunderstanding of the subscription caused by the subscriber and the shared information in the NRF being out of sync.

[0110] Based on the same inventive concept, the present disclosure also provides a subscription method, such as the following embodiment. Since the principle of solving the problem in the subscription method embodiment is similar to that in the above method embodiment, the implementation of this system embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0111] Figure 5 A flowchart of another subscription method in an embodiment of the present disclosure is shown. It should be noted that the subscription method in the embodiment of the present disclosure is applied to the subscriber. The subscriber includes the NF and the SCP.

[0112] like Figure 5 As shown, the method may include:

[0113] S510 , when the shared information changes, receiving a status change notification sent by the network repository function NRF, where the status change notification includes a changed shared information identifier and / or the changed shared information.

[0114] In some embodiments, the same portion of multiple NF information is registered in the NRF.

[0115] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in the case that the shared information changes, so that the subscriber can keep synchronized with the shared information in the NRF, and the problem that the subscription is not understood due to the unsynchronized shared information in the NRF can be avoided.

[0116] Figure 6 A flowchart of another subscription method in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to a subscriber. The subscriber includes an NF and an SCP.

[0117] S610, sending a subscription request to the NRF, the subscription request including the shared information identifier and / or the shared information.

[0118] S620, receiving a state change notification sent by the network repository function NRF in the case that the shared information changes, the state change notification including the changed shared information identifier and / or the changed shared information.

[0119] In some embodiments, the subscription method before S620 can further include receiving a subscription success notification sent by the NRF.

[0120] In some embodiments, the subscription success notification can further include subscription success data SubscriptionData.

[0121] For example, the subscription success notification can be 201Created.

[0122] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in the case that the shared information changes, so that the subscriber can keep synchronized with the shared information in the NRF, and the problem that the subscription is not understood due to the unsynchronized shared information in the NRF can be avoided.

[0123] Figure 7 A flowchart of another subscription method in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to a subscriber. The subscriber includes an NF and an SCP.

[0124] S710, sending a subscription request to the NRF, the subscription request including the shared information identifier and / or the shared information.

[0125] S720, receiving a subscription failure message sent by the NRF in the case that the NRF determines that the subscription fails, the subscription failure message including at least one of redirection information, failure cause information and internal failure information.

[0126] In some embodiments, the fault cause information comprises that the OAM does not configure the shared information corresponding to the shared information identification, and the shared information corresponding to the shared information identification is not found.

[0127] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in the case where the shared information changes, so that the subscriber can keep synchronized with the shared information in the NRF, and the problem that the subscription is not understood due to the unsynchronized shared information between the subscriber and the NRF is avoided.

[0128] Figure 8 A flowchart of another subscription method in the embodiments of the present disclosure is shown. It should be noted that the subscription method in the embodiments of the present disclosure is applied to a subscriber. The subscriber comprises an NF and an SCP.

[0129] S810, in the case where the shared information changes, receiving a state change notification sent by a network repository function (NRF), the state change notification comprising shared information identification of the changed shared information and / or the changed shared information.

[0130] S820, synchronizing the shared information based on the state change notification.

[0131] S830, in the case where it is determined that the synchronization fails, sending a synchronization failure message to the NRF, the synchronization failure message comprising at least one of the following: the directed information, the local nonexistence of the shared information, and the internal fault information.

[0132] The subscription method provided by the embodiments of the present disclosure can send a state change notification to the subscriber in the case where the shared information changes, so that the subscriber can keep synchronized with the shared information in the NRF, and the problem that the subscription is not understood due to the unsynchronized shared information between the subscriber and the NRF is avoided.

[0133] In order to make a detailed description of the present disclosure, Figure 9 A signaling diagram of a subscription method in the embodiments of the present disclosure is shown. As shown in the figure, Figure 9 The method can comprise:

[0134] S910, the subscriber sends an NF information subscription request to the NRF.

[0135] In some embodiments, the NF information subscription request can comprise a shared information identification Share Data ID that needs to be subscribed, a shared information identification list Share Data ID List, and shared information Share Data IE.

[0136] S920, the NRF replies to the subscription request to the subscriber.

[0137] In some embodiments, the subscription request can comprise subscription success or subscription failure.

[0138] In the case that the subscription request includes subscription success, "201 Created" can be replied, and the data SubscriptionData of the subscription success is included.

[0139] In the case of subscription failure, a reply "3xx" indicating redirection can be included; a reply "4xx" can be included, wherein "400 Bad Request" contains a ProblemDetails IE, i.e., a fault reason, if the Share Data is configured on the NRF by OAM, but the Share Data corresponding to the Share Data ID is not configured, the ProblemDetail can be SHARED_DATA_NOT_CONFIGURED.

[0140] If the Share Data on the NRF is not configured by OAM, and the Share Data corresponding to the Share Data ID is not found, the ProblemDetail can be SHARED_DATA_ID_UNKNOWN. A reply "5xx" indicating an internal failure of the NRF can be included.

[0141] S930, the shared information changes.

[0142] In some embodiments, the Share Data in the NRF changes, and the change reason can be that the Share Data is modified by other NF / SCP, or the Share Data is modified by OAM, or the Share Data is modified by the NRF itself or other NRF.

[0143] S940, the NRF sends a state change notification to the subscriber.

[0144] In some embodiments, the NRF feeds back the changed Share Data ID and the changed Share Data value to the NF / SCP.

[0145] S950, the subscriber sends a state change notification response to the NRF.

[0146] In some embodiments, the state change notification response can include various information: the NF / SCP modifies its local Share Data according to the change value of the Share Data, and returns "204 No content". If the corresponding Share Data is not found in the local, "404 Not Found" is returned and ProblemDetails is carried to the NRF. If redirection is needed, "3xx" is returned. If there is an internal failure of the NF / SCP, "5xx" is returned.

[0147] Based on the same inventive concept, the embodiment of the present disclosure further provides a subscription device, as follows. Since the principle of solving problems of the device embodiment is similar to the above-mentioned method embodiment, the implementation of the device embodiment can be referred to the implementation of the above-mentioned method embodiment, and the repeated parts will not be described here.

[0148] The embodiment of the present disclosure provides a subscription device, and it should be noted that the device is applied to the NRF.

[0149] Figure 10 A schematic diagram of a subscription device in the embodiment of the present disclosure is shown.

[0150] As shown in Figure 10 , the device 1000 can include:

[0151] The first sending module 1010 is configured to send a state change notification to a subscription party in the case that the shared information changes, the state change notification including the changed shared information identifier and / or the changed shared information, the subscription party including an NF and an SCP.

[0152] In an embodiment of the present disclosure, the shared information includes the same part of the plurality of NF information registered in the NRF.

[0153] In an embodiment of the present disclosure, the device further includes:

[0154] The second receiving module is configured to receive a subscription request sent by the subscription party, the subscription request including the shared information identifier and / or the shared information.

[0155] In an embodiment of the present disclosure, the device further includes:

[0156] The second sending module is configured to send a subscription failure message to the subscription party in the case that it is determined that the subscription fails based on the subscription request, the subscription failure message including at least one of the redirection information, the failure cause information and the internal failure information.

[0157] In an embodiment of the present disclosure, the failure cause information includes: the OAM does not configure the shared information corresponding to the shared information identifier and the shared information corresponding to the shared information identifier is not found.

[0158] In an embodiment of the present disclosure, the device further includes:

[0159] The third receiving module is configured to receive a synchronization failure message sent by the subscription party in the case that the synchronization of the shared information by the subscription party based on the state change notification fails, the synchronization failure message including at least one of the redirection information, the local absence of the shared information and the internal failure information.

[0160] The subscription device provided by the embodiment of the present disclosure can send a state change notification to the subscriber in the case that the shared information changes, so that the subscriber can keep synchronized with the shared information in the NRF, and the problem that the subscription is not understood due to the unsynchronized shared information in the NRF can be avoided.

[0161] Another subscription device is provided in the embodiment of the present disclosure, and it should be noted that the device is applied to a subscriber, and the subscriber includes an NF and an SCP,

[0162] Figure 11 A schematic diagram of another subscription device in the embodiment of the present disclosure is shown.

[0163] As Figure 11 shown, the device 1100 can include:

[0164] The first receiving module 1110 is configured to receive a state change notification sent by a network repository function (NRF) in the case that shared information changes, and the state change notification includes an identifier of the changed shared information and / or the changed shared information.

[0165] In one embodiment of the present disclosure, the shared information includes the same part of the plurality of NF information registered in the NRF.

[0166] In one embodiment of the present disclosure, the device further includes:

[0167] The third sending module is configured to send a subscription request to the NRF, and the subscription request includes the identifier of the shared information and / or the shared information.

[0168] In one embodiment of the present disclosure, the device further includes:

[0169] The fourth receiving module is configured to receive a subscription failure message sent by the NRF in the case that the NRF determines that the subscription fails, and the subscription failure message includes at least one of redirection information, fault reason information, and internal fault information.

[0170] In one embodiment of the present disclosure, the fault reason information includes that the OAM does not configure the shared information corresponding to the identifier of the shared information and the shared information corresponding to the identifier of the shared information is not found.

[0171] In one embodiment of the present disclosure, the device further includes:

[0172] The synchronization module is configured to synchronize the shared information based on the state change notification.

[0173] The fourth sending module is configured to send a synchronization failure message to the NRF in the case that it is determined that the synchronization fails, and the synchronization failure message includes at least one of redirection information, local nonexistence of the shared information, and internal fault information.

[0174] The subscription device provided by the embodiments of the present disclosure can make the subscriber keep synchronization with the shared information in the NRF, and avoid the problem that the subscription is not understood due to the unsynchronization between the subscriber and the shared information in the NRF.

[0175] The subscription device provided by the embodiments of the present disclosure can be used to execute the positioning method provided by the above-mentioned method embodiments, and the implementation principles and technical effects are similar. For the sake of simplicity, they will not be described here again.

[0176] Those skilled in the art can understand that each aspect of the present disclosure can be implemented as a system, a method or a program product. Therefore, each aspect of the present disclosure can be specifically implemented as a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuitry", "module" or "system" here.

[0177] The electronic device 1200 according to this embodiment of the present disclosure will be described below with reference to Figure 12 Figure 12 The electronic device 1200 shown is merely an example and should not impose any limitation on the function and use range of the embodiments of the present disclosure.

[0178] As shown in Figure 12 The components of the electronic device 1200 can include, but are not limited to, the above-mentioned at least one processing unit 1210, the above-mentioned at least one storage unit 1220, and a bus 1230 connecting different system components, including the storage unit 1220 and the processing unit 1210.

[0179] The storage unit stores program code, which can be executed by the processing unit 1210, so that the processing unit 1210 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification. For example, the processing unit 1210 can execute the following steps of the above-mentioned method embodiments:

[0180] In the case where the shared information changes, a state change notification is sent to the subscriber, the state change notification including the identification of the changed shared information and / or the changed shared information, and the subscriber including the NF and the service communication proxy SCP.

[0181] Alternatively, in the case where the shared information changes, a state change notification sent by the network repository function NRF is received, the state change notification including the identification of the changed shared information and / or the changed shared information.

[0182] ​The storage unit 1220 can also include a program / utility 12204 having a set of programs / modules 12205, each of which performs one or more tasks. The programs and modules 12205 can include, but are not limited to, one or more of the following: an operating system, one or more application programs, other programs, and program data, each of which or a portion thereof, can implement a networking environment.

[0183] The bus 1230 can represent one or more of several types of bus structures, including a storage bus or bus controller, a peripheral bus, a graphics bus, a processor or local bus, using any of a variety of bus structures.

[0184] The electronic device 1200 can also be imaged with one or more input devices 1240, such as a keyboard, a pointing device, a Bluetooth device, etc. The electronic device 1200 can also be imaged with one or more devices that enable a user to interact with the electronic device 1200 and / or one or more devices that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication can be imaged through the input / output (I / O) interface 1250. Further, the electronic device 1200 can be imaged with one or more networks (such as a Local Area Network (LAN), a Wide Area Network (WAN), and / or the Internet) through a network adapter 1260. As pictured, the network adapter 1260 is in communication with the other modules of the electronic device 1200 through the bus 1230. It should be appreciated that other hardware and / or software modules can be used in connection with the electronic device 1200, including but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0185] From the above description of embodiments, it is manifest that the example embodiments described herein can be implemented by using software and / or hardware components. Accordingly, the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium, such as a CD-ROM, a USB flash disk, a mobile hard disk, or the like, or can be stored in a network storage device, and includes a number of instructions. When a computer (such as a personal computer, a server, a terminal device, or a network device) executes the instructions, the computer performs the methods according to the embodiments of the present disclosure.

[0186] In the example embodiments of the present disclosure, a computer readable storage medium is also provided, which can be a readable signal medium or a readable storage medium. A program product is stored thereon, which can implement the method of the present disclosure. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program codes for causing terminal equipment to perform the steps described in the above "example method" section according to various example embodiments of the present disclosure when the program product is run on the terminal equipment.

[0187] More specific examples of the computer readable storage medium in the present disclosure can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination of the foregoing.

[0188] In the present disclosure, the computer readable storage medium can include a data signal carried in the baseband or as a part of a carrier wave propagating through the program codes, in which the readable program codes are borne. Such a propagating data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal, or any appropriate combination of the foregoing. The readable signal medium can also be any readable medium other than the readable storage medium, which can send, propagate or transmit programs for use by or in connection with an instruction execution system, apparatus or device.

[0189] Optionally, the program codes contained on the computer readable storage medium can be transmitted by any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any appropriate combination of the foregoing.

[0190] In specific implementation, the program codes for performing the operations of the present disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program codes can be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case involving a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, through the Internet by connecting to an Internet service provider).

[0191] It should be noted that, although several modules or units of the devices for action execution are mentioned in the above detailed description, the division into such modules or units is not mandatory. Indeed, according to an embodiment of the disclosure, the features and functionalities of two or more of the above-described modules or units can be embodied in one module or unit. Conversely, the features and functionalities of one of the above-described modules or units can be further divided into several modules or units.

[0192] Furthermore, although the various steps of the methods in the disclosure are described in a particular order in the drawings, this is not required or implied as to the order of the steps or that all of the steps shown must be performed to achieve the desired result. Additionally or alternatively, certain steps can be omitted, multiple steps can be combined into one step, one step can be broken into multiple steps, etc.

[0193] From the above description of the embodiments, those skilled in the art will readily perceive that the example embodiments described herein can be implemented by software and / or by software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the methods according to the embodiments of the disclosure.

[0194] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features of the disclosure as disclosed herein. It is intended that the disclosure be construed as including any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such as come within the scope of the disclosure. The specification and examples given are intended as illustrative only and not restrictive of the true scope and spirit of the disclosure, which is set forth in the following claims.

Claims

1. A subscription method, characterized by, Applied to a network repository function, NRF, comprising: In the case of a change in shared information, a state change notification is sent to a subscriber, the state change notification comprising a shared information identifier and / or changed shared information, the subscriber comprising a network function, NF, and a service communication proxy, SCP.

2. The subscription method of claim 1, wherein, The shared information comprises a same part of a plurality of NF information registered in the NRF.

3. The subscription method of claim 1, wherein, The method further comprises: Receiving a subscription request sent by the subscriber, the subscription request comprising the shared information identifier and / or the shared information.

4. The subscription method of claim 3, wherein, After the receiving the subscription request sent by the subscriber, the method further comprises: In the case of a subscription failure determined based on the subscription request, a subscription failure message is sent to the subscriber, the subscription failure message comprising at least one of redirection information, failure cause information, and internal failure information.

5. The subscription method of claim 4, wherein, The failure cause information comprises that a shared information corresponding to the shared information identifier is not configured by an operation and maintenance, OAM, and the shared information corresponding to the shared information identifier is not found.

6. The subscription method of claim 1, wherein, The method further comprises: In the case of a synchronization failure of the shared information by the subscriber based on the state change notification, a synchronization failure message sent by the subscriber is received, the synchronization failure message comprising at least one of redirection information, a local absence of the shared information, and internal failure information.

7. A subscription method, characterized by, Applied to a subscriber, the subscriber comprising an NF and an SCP, comprising: In the case of a change in shared information, a state change notification sent by a network repository function, NRF, is received, the state change notification comprising a shared information identifier and / or changed shared information.

8. The subscription method of claim 7, wherein, The shared information comprises a same part of a plurality of NF information registered in the NRF.

9. The subscription method of claim 7, wherein, The method further comprises: A subscription request is sent to the NRF, the subscription request comprising the shared information identifier and / or the shared information.

10. The subscription method of claim 9, wherein, After the sending the subscription request to the NRF, the method further comprises: In the case of a subscription failure determined by the NRF, a subscription failure message sent by the NRF is received, the subscription failure message comprising at least one of redirection information, failure cause information, and internal failure information.

11. The subscription method of claim 10, wherein, The failure cause information comprises that a shared information corresponding to the shared information identifier is not configured by an operation and maintenance, OAM, and the shared information corresponding to the shared information identifier is not found.

12. The subscription method according to claim 7, wherein: The method further comprises: Synchronizing the shared information based on the state change notification; In the case of a determination of a synchronization failure, a synchronization failure message is sent to the NRF, the synchronization failure message comprising at least one of redirection information, a local absence of the shared information, and internal failure information.

13. A subscription device, characterized by Applied to a network repository function, NRF, comprising: A first sending module, in the case of a change in shared information, is configured to send a state change notification to a subscriber, the state change notification comprising a shared information identifier and / or changed shared information, the subscriber comprising an NF and an SCP.

14. A subscription device, characterized by Applied to a subscriber, the subscriber comprising an NF and an SCP, comprising: A first receiving module, configured to receive a state change notification sent by a network repository function (NRF) in a case where the shared information changes, the state change notification comprising an identification of the shared information that changes and / or the changed shared information.

15. An electronic device, comprising: Comprise: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the subscription method of any one of claims 1-12 via executing the executable instructions.

16. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the subscription method of any one of claims 1-12.