Analysis data protection method and device, related network function and storage medium
By updating the token ring network token when the user consent is revoked, the problem of insufficient token update mechanism in the 5G system is solved, ensuring data security and preventing malicious access.
Patent Information
- Application Number
- CN202410001899.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-10-18
AI Technical Summary
In the 5G system, when the user's consent is revoked, the client fails to actively update the token ring network (token). As a result, unauthorized services or data can still be accessed during malicious hijacking, and there is a lack of flexible token update mechanism.
When the user agrees to revoke, it receives the unsubscription message, sends an update token request to NRF, generates a new validity token, invalidates the old token, and ensures data security.
It realizes automatic update of token ring network token when user consent is revoked, preventing malicious acquisition or unauthorized access and improving data protection security.
Smart Images

Figure CN118802152A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication security technology, and in particular to an analysis data protection method, device, related network functions and storage medium based on user consent. Background Art
[0002] In the related art, there is no process for actively initiating token ring network (token) update through the client. When the user consent is revoked, the Network Data Analytic Function (NWDAF) (client) still saves the existing token. If the NWDAF is maliciously hijacked and the token is still valid, the old token can be used to access unauthorized services or data. Therefore, a flexible token update mechanism that is actively triggered by the client is urgently needed. Summary of the invention
[0003] To solve related technical problems, the embodiments of the present application provide an analysis data protection method, device, related network functions and storage medium based on user consent.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The embodiment of the present application provides an analysis data protection method based on user consent, which is applied to a network function (NF), including:
[0006] Receiving a subscription cancellation message for target data call sent by NWDAF; the subscription cancellation message includes an indication parameter of the target user's authorization consent revocation for the target data call;
[0007] Based on the indication parameter, a request message for updating the first token called by the target data is sent to the NRF; the request message is used by the NRF to generate a second token with a new validity period to invalidate the first token.
[0008] In the above scheme, the target data includes at least one of the following:
[0009] Analyze data;
[0010] Data corresponding to the machine learning (ML) model.
[0011] In the above solution, the step of sending request information for updating the first token called by the target data to the NRF based on the indication parameter includes:
[0012] Using the indication parameter to identify whether the target user's consent to revoke the target data call authorization is valid;
[0013] In a case where the indication parameter indicates that the target user's authorization consent revocation for the target data call is valid, a request message for updating the first token for the target data call is sent to the NRF based on the indication parameter.
[0014] The embodiment of the present application also provides an analysis data protection method based on user consent, which is applied to NRF, including:
[0015] Receive the request information of the first token for updating the target data sent by NF;
[0016] A second token with a new validity period is generated based on the request information to invalidate the first token.
[0017] In the above solution, the step of generating a second token with a new validity period based on the request information includes:
[0018] Revoking the first token according to the request information;
[0019] A second token with a new validity period is regenerated based on the request information.
[0020] In the above solution, the regenerating a second token with a new validity period based on the request information includes:
[0021] Obtain configuration parameters of the second token;
[0022] The second token is generated based on the request information and the configuration parameters.
[0023] In the above solution, the regenerating a second token with a new validity period based on the request information includes:
[0024] Determining a logic strategy of the second token based on the request information;
[0025] Generate the second token according to the logical policy.
[0026] The embodiment of the present application also provides an analysis data protection device based on user consent, which is set on the NF and includes:
[0027] A first receiving unit is configured to receive a subscription cancellation message for a target data call sent by the NWDAF; the subscription cancellation message includes an indication parameter indicating that the target user has revoked authorization for the target data call;
[0028] The first sending unit is used to send request information for updating the first token called by the target data to the NRF based on the indication parameter; the request information is used by the NRF to generate a second token with a new validity period to invalidate the first token.
[0029] The embodiment of the present application also provides an analysis data protection device based on user consent, which is set on the NRF and includes:
[0030] A second receiving unit is used to receive a request message of a first token ring network token for updating target data call sent by the network function NF;
[0031] A generating unit is used to generate a second token with a new validity period based on the request information to invalidate the first token.
[0032] The embodiment of the present application further provides a network function NF, including: a first processor and a first memory for storing a computer program that can be run on the processor,
[0033] Wherein, the first processor is used to execute the steps of any of the above-mentioned NF side methods when running the computer program.
[0034] The embodiment of the present application further provides an NRF, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
[0035] Wherein, the second processor is used to execute the steps of any method on the network storage function NRF side when running the computer program.
[0036] An embodiment of the present application also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods on the NF side are implemented, or the steps of any of the above-mentioned methods on the NRF side are implemented.
[0037] The analysis data protection method, device, related network function and storage medium based on user consent provided in the embodiment of the present application, NF receives a subscription cancellation message for target data call sent by NWDAF; the subscription cancellation message includes an indication parameter of the target user's authorization consent to revoke the target data call; based on the indication parameter, a request message for updating the first token for the target data call is sent to NRF; the request message is used by the NRF to generate a second token with a new validity period to invalidate the first token; accordingly; NRF receives a request message for updating the first token ring network token for the target data call sent by NF; based on the request message, a second token with a new validity period is generated to invalidate the first token; in the embodiment of the present application, a subscription cancellation message including an indication parameter of the target user's authorization consent to revoke the target data call is introduced; based on the indication parameter, a request message for updating the first token for the target data call is sent to NRF; that is, by updating the token for data acquisition at the same time when the user agrees to revoke, the analysis data is protected from malicious or unauthorized acquisition. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 Schematic diagram of the process of obtaining and withdrawing user consent when collecting data for NWDAF;
[0039] Figure 2 A flowchart of a method for protecting analytical data based on user consent for this application;
[0040] Figure 3 This is another flowchart of an analysis data protection method based on user consent according to an embodiment of the present application;
[0041] Figure 4 This is a schematic diagram of updating a token for data acquisition when the user agrees to revoke the consent in an embodiment of the present application;
[0042] Figure 5 This is a schematic diagram of the structure of an analysis data protection device based on user consent according to an embodiment of the present application;
[0043] Figure 6 This is a schematic diagram of the structure of another analysis data protection device based on user consent in an embodiment of the present application;
[0044] Figure 7 This is a schematic diagram of the NF structure of an embodiment of the present application;
[0045] Figure 8 This is a schematic diagram of the NRF structure of an embodiment of the present application;
[0046] Fig. 9This is a schematic diagram of the structure of the analysis data protection system based on user consent in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0048] Currently, the user consent for the analysis data or model acquisition of a certain user equipment (UE) needs to be requested by NWDAF to the Unified Data Management (UDM) through the Nudm_SDM_Get message. Only after obtaining the user's consent can the event be subscribed; after the UDM notifies the user of the withdrawal of consent, the subscription to the event is cancelled. Figure 1 To understand, Figure 1 Schematic diagram of the process of obtaining and withdrawing user consent when collecting data for NWDAF.
[0049] 1. NWDAF checks whether to collect data for the user. According to local policies and regulations, NWDAF checks user consent by retrieving user consent information from UDM using Nudm_SDM_Get (including data type "User consent"). If user consent is not granted, NWDAF does not subscribe to events related to this user.
[0050] 2. If the user consent is granted, NWDAF uses Nudm_SDM_Subscribe to subscribe to the UDM for change notifications of the subscription data type “User consent” for this user.
[0051] 3. NWDAF subscribes or unsubscribes to the Evnet ID by calling the Nnf_EventExposure_Subscribe / Nnf_EventExposure_Unsubscribe service operations.
[0052] 4. If NWDAF subscribes to the Event ID, the NF notifies NWDAF by calling the Nnf_EventExposure_notify service operation according to the event report information in the subscription.
[0053] 5. UDM may notify NWDAF of changes to user consent at any time after step 2.
[0054] 6-7. If the user whose data is currently being collected no longer grants user consent for specific data, NWDAF should unsubscribe from all Event IDs used to collect specific data of that user; NWDAF can unsubscribe from users whose user consent has been revoked (according to SUPI) to update its status.
[0055] Under the existing technical solution of 5G, 3GPP defines a method for revoking user consent when NWDAF collects data or models, that is, notifying NWDAF of changes in user consent through UDM, and then NWDAF cancels the event subscription and data collection of the corresponding Event ID in the corresponding NF.
[0056] If UDM notifies the user that the consent has changed (e.g. Figure 1 Step 5), the NWDAF checks whether user consent is no longer granted for the purpose of analysis or model training. If the user consent of the UE is revoked, the NWDAF will stop data collection for that UE. For analysis subscriptions with UE-related analysis targeted to that UE, the NWDAF will stop generating new analysis and stop providing the affected analysis to the service user NF.
[0057] The current user consent revocation method of NWDAF is to only revoke the user consent from UDM and cancel the subscription to the analysis data from NWDAF. When NWDAF is attacked maliciously, the NWDAF still has the token for the analysis data, which may lead to unauthorized acquisition and use of the data.
[0058] The current 5G system token update mechanism works as follows: when a user logs in, the system generates a token, which will be used to identify the user and will be sent in each request from the user. When the token expires, the system automatically refreshes the token to ensure the security and privacy of the user. The main process is as follows: First, the system pre-generates a token, which will be used to identify the user and will be sent in each request from the user. Generally speaking, a token is composed of a unique string, which can be composed of the user's ID, timestamp, random number, etc., to ensure the uniqueness of the token. The validity period of the token refers to the validity period of the token. Generally speaking, the validity period of the token can be set by the system, such as one hour, one day, or one week. When the validity period of the token expires, the system automatically updates the token.
[0059] Because the 5G system does not have a process for actively initiating token updates through the client, when the user's consent is revoked, the NWDAF (client) still saves the existing token. If the NWDAF is maliciously hijacked and the token is still valid, the old token can be used to access unauthorized services or data. Therefore, the 5G system requires a flexible token update mechanism that is actively triggered by the client.
[0060] Based on this, in various embodiments of the present application, the analysis data is protected from malicious or unauthorized acquisition by simultaneously updating the token for data acquisition when the user consents to the withdrawal.
[0061] The present application embodiment provides an analysis data protection method based on user consent, which is applied to NF. Figure 2 This is a flowchart of a method for protecting analytical data based on user consent for this application; Figure 2 As shown, the method includes:
[0062] Step 201: receiving a subscription cancellation message for target data invocation sent by NWDAF; the subscription cancellation message includes an indication parameter indicating that the target user has revoked authorization for the target data invocation;
[0063] Step 202: Sending a request message for updating the first token ring network token called by the target data to the NRF based on the indication parameter; the request message is used by the NRF to generate a second token with a new validity period to invalidate the first token.
[0064] In step 201, a subscription cancellation message for a target data call sent by NWDAF is received; wherein the target data can be determined according to actual conditions and is not limited here. As an example, the target data may include at least one of the following: analysis data; data corresponding to an ML model; for example, the target data may be understood as a user's data or model acquisition service; and the subscription cancellation message may be understood as a de-subscription message.
[0065] The unsubscribe message includes an indication parameter indicating the target user's authorization to revoke the target data call; wherein the indication parameter may be any indication parameter and is not limited here. As an example, the indication parameter may be used to tell the NF that the NWDAF has been used to revoke the user's consent.
[0066] In step 202, the specific update process in the request information for updating the first token ring network token for calling the target data, which is sent to the NRF based on the indication parameter, can be determined according to the actual situation and is not limited here. As an example, the request information for updating the first token ring network token for calling the target data, which is sent to the NRF based on the indication parameter, may include using the indication parameter to identify whether the target user's authorization to revoke the target data call is valid; when the indication parameter represents that the target user's authorization to revoke the target data call is valid, the request information for updating the first token for calling the target data is sent to the NRF based on the indication parameter. The request information may be any request information and is not limited here. As an example, the request information may be understood as update request information.
[0067] The request information is used by the NRF to generate a second token with a new validity period to invalidate the first token; wherein the first token and the second token can be determined according to actual conditions and are not limited here. As an example, the first token can be the original token, and the second token can be a regenerated token with a new validity period.
[0068] In actual applications, NWDAF initiates a desubscription message for model calls to NF to cancel the data or model acquisition service for this user that was previously subscribed to in NF. The message should contain a parameter indicating the user's consent to revoke. This parameter is used to tell NF that this NWDAF has been used to revoke the user's consent. After NF receives the desubscription message, if the message contains a parameter indicating the user's consent to revoke, it means that NWDAF no longer has the authority to obtain data or models from NF, and it is necessary to update the token in NRF to invalidate the old token. Therefore, it is necessary to initiate a token update request for this data to NRF. NRF updates the token. NRF should first revoke the original token and regenerate a token with a new validity period.
[0069] In an embodiment of the present application, an unsubscription message is introduced that includes an indication parameter indicating the target user's consent to revoke the authorization for calling the target data; based on the indication parameter, a request message for updating the first token for calling the target data is sent to the NRF; that is, when the user agrees to revoke, the token for data acquisition is simultaneously updated to protect the analysis data from malicious or unauthorized acquisition.
[0070] In one embodiment, the target data includes at least one of the following:
[0071] Analyze data;
[0072] Data corresponding to the ML model.
[0073] In this embodiment, the analysis data and the data corresponding to the ML model can be determined according to actual conditions, and are not limited here. As an example, the analysis data can be the analysis data required by the user; and the data corresponding to the ML model can be the permission data corresponding to the ML model.
[0074] In one embodiment, the sending, to the NRF, request information for updating the first token called by the target data based on the indication parameter includes:
[0075] Using the indication parameter to identify whether the target user's consent to revoke the target data call authorization is valid;
[0076] In a case where the indication parameter represents that the target user's authorization consent revocation for the target data call is valid, a request message for updating the first token ring network token for the target data call is sent to the network storage function NRF based on the indication parameter.
[0077] In this embodiment, the use of the indication parameter to identify whether the target user's revocation of the authorization consent for calling the target data is valid can be understood as using the indication parameter to identify whether the target user's revocation of the authorization consent for calling the target data is valid, and obtaining an identification result of whether the target user's revocation of the authorization consent for calling the target data is valid or invalid.
[0078] In the case where the indication parameter represents that the target user's authorization to revoke the target data call is valid, a request message for updating the first token for the target data call is sent to the NRF based on the indication parameter; wherein, the specific update process in the request message for updating the first token for the target data call sent to the NRF based on the indication parameter can be determined according to actual conditions and is not limited here. As an example, the request message for updating the first token for the target data call sent to the NRF based on the indication parameter can be understood as after the NF receives the unsubscribe message, if the message contains the user consent revocation indication parameter, it is necessary to initiate a token update request for this data to the NRF. wherein, the indication parameter can be determined according to actual conditions and is not limited here. As an example, the indication parameter can be used to tell the NF that this NWDAF has been used to cancel the user's consent.
[0079] As an example, the user consent revocation indication parameter in the unsubscribe message can be used by MTLF to effectively identify whether the user consent has been revoked. If this parameter is included, it means that the user consent has been revoked, and the key needs to be updated; if this parameter is not included, it means that the user consent has not been revoked, and the unsubscribe message may be initiated for other reasons, so the key does not need to be updated.
[0080] In actual applications, after MTLF receives the unsubscribe message, if the message contains the user consent revocation indication parameter, it means that AnLF no longer has the authority to obtain the model from MTLF, so it is necessary to update the encryption key of the model in MTLF and re-encrypt the model. The key update can be automatically or manually configured through the 5G network management system.
[0081] Accordingly, the embodiment of the present application also provides an analysis data protection method based on user consent. Figure 3 This is another flow chart of an analysis data protection method based on user consent according to an embodiment of the present application. Figure 3 As shown; Applied to NRF, including:
[0082] Step 301: Receive the request information of the first token for updating the target data call sent by the NF.
[0083] Step 302: Generate a second token with a new validity period based on the request information to invalidate the first token.
[0084] In step 301, a request message for updating the first token of the target data call sent by the NF is received; wherein the target data can be determined according to the actual situation and is not limited here. As an example, the target data can include at least one of the following: analysis data; data corresponding to the ML model; for example, the target data can be understood as the user's data or model acquisition service; the request message can be any request message and is not limited here. As an example, the request message can be understood as update request message.
[0085] In step 302, the specific generation process of generating the second token with a new validity period based on the request information can be determined according to the actual situation and is not limited here. As an example, the generation of the second token with a new validity period based on the request information may include revoking the first token according to the request information; and regenerating the second token with a new validity period based on the request information. The request information may be any request information and is not limited here. As an example, the request information may be understood as update request information.
[0086] The first token and the second token can be determined according to actual conditions and are not limited here. As an example, the first token can be an original token, and the second token can be a regenerated token with a new validity period.
[0087] In actual applications, NWDAF initiates a desubscription message for model calls to NF to cancel the data or model acquisition service for this user that was previously subscribed to in NF. The message should contain a parameter indicating user consent revocation, which is used to tell NF that this NWDAF has been used to cancel the user's consent. After NF receives the desubscription message, if the message contains a parameter indicating user consent revocation, it means that NWDAF no longer has the authority to obtain data or models from NF, and it is necessary to update the token in NRF to invalidate the old token. Therefore, it is necessary to initiate a token update request for this data to NRF. NRF updates the token. NRF should first revoke the original token and regenerate a token with a new validity period. That is, after the user agrees to cancel, synchronously request to update the token to NRF. Even if NWDAF is maliciously hijacked, it does not have the latest token and cannot access the analysis data.
[0088] In an embodiment of the present application, an unsubscription message is introduced that includes an indication parameter indicating the target user's consent to revoke the authorization for calling the target data; based on the indication parameter, a request message for updating the first token for calling the target data is sent to the NRF; that is, when the user agrees to revoke, the token for data acquisition is simultaneously updated to protect the analysis data from malicious or unauthorized acquisition.
[0089] In one embodiment, generating a second token with a new validity period based on the request information includes:
[0090] Revoking the first token according to the request information;
[0091] A second token with a new validity period is regenerated based on the request information.
[0092] In this embodiment, the first token and the second token can be determined according to actual conditions, and are not limited here. As an example, the first token can be an original token, and the second token can be a regenerated token with a new validity period.
[0093] In actual applications, after NF receives the unsubscribe message, if the message contains the user consent revocation indication parameter, it means that NWDAF no longer has the authority to obtain data or models from NF, and needs to update the token in NRF to invalidate the old token. Therefore, it is necessary to initiate a token update request for this data to NRF, and NRF updates the token. NRF should first revoke the original token and regenerate a token with a new validity period. This token revocation process can be for analytical data or ML models.
[0094] In one embodiment, the regenerating a second token with a new validity period based on the request information includes:
[0095] Obtain configuration parameters of the second token;
[0096] The second token is generated based on the request information and the configuration parameters.
[0097] In this embodiment, the configuration parameters can be determined according to actual conditions and are not limited here. As an example, the configuration parameters can be automatically configured or manually configured by the 5G network management system, or can be implemented by the internal logic of the NRF network element. As an example, the NRF locally updates the token, which can be updated through the network management or the internal logic of the NRF.
[0098] The specific generation process of generating the second token based on the request information and the configuration parameters can be determined according to the actual situation and is not limited here. As an example, the regeneration of the second token with a new validity period based on the request information may include obtaining the configuration parameters of the second token; generating the second token based on the request information and the configuration parameters.
[0099] In actual applications, NF initiates a token update request for this data to NRF, and NRF updates the token. NRF should first revoke the original token and regenerate a token with a new validity period. This process can be automatically configured or manually implemented through the 5G network management system, or it can be implemented through the internal logic of the NRF network element.
[0100] In one embodiment, the regenerating a second token with a new validity period based on the request information includes:
[0101] Determining a logic strategy of the second token based on the request information;
[0102] Generate the second token according to the logical policy.
[0103] In this embodiment, the logic strategy can be determined according to actual conditions and is not limited here. As an example, the logic strategy can be the internal logic of the network management or NRF network element.
[0104] As an example, NRF locally updates the token, which can be updated through the network management or NRF internal logic.
[0105] In practical applications, the analysis data protection method based on user consent protects the analysis data or model from malicious or unauthorized acquisition by updating the token for data acquisition at the same time when the user's consent is revoked. Figure 4 To understand, Figure 4 This is a schematic diagram of updating the token for data acquisition when the user agrees to revoke the consent in an embodiment of the present application. The specific steps are as follows:
[0106] Step 1: After the user cancels the user consent in UDM, UDM notifies NWDAF of the change in no longer granting the user consent
[0107] Step 2: NWDAF initiates a desubscription message for the model call to NF to cancel the data or model acquisition service for this user previously subscribed to in NF. The message should contain a parameter indicating the withdrawal of user consent, which is used to tell NF that this NWDAF has been used to cancel the user's consent.
[0108] Step 3: After NF receives the unsubscribe message, if the message contains a parameter indicating that the user agrees to revoke the subscription, it means that NWDAF no longer has the authority to obtain data or models from NF. It is necessary to update the token in NRF to invalidate the old token. Therefore, it is necessary to initiate a token update request for this data to NRF.
[0109] Step 4: NRF updates the token. NRF should first revoke the original token and regenerate a token with a new validity period. This process can be automatically configured or manually implemented through the 5G network management system, or it can be implemented through the internal logic of the NRF network element.
[0110] Step 5: NWDAF unsubscribes from UDM for notifications about changes in user consent, and will no longer be informed of changes in the user consent status of this user.
[0111] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an analysis data protection device based on user consent, which is set on the NF. Figure 5Schematic diagram of the structure of an analysis data protection device based on user consent according to an embodiment of the present application; Figure 5 As shown, the device 500 includes:
[0112] The first receiving unit 501 is used to receive a subscription cancellation message for target data call sent by the network data analysis function NWDAF; the subscription cancellation message includes an indication parameter of the target user's authorization consent revocation for the target data call;
[0113] The first sending unit 502 is used to send a request message for updating the first token ring network token called by the target data to the network storage function NRF based on the indication parameter; the request message is used by the NRF to generate a second token with a new validity period to invalidate the first token.
[0114] In one embodiment, the target data includes at least one of the following:
[0115] Analyze data;
[0116] Data corresponding to the machine learning ML model.
[0117] In one embodiment, the first sending unit 502 is also used to use the indication parameter to identify whether the target user's revocation of the authorization consent for the target data call is valid; when the indication parameter represents that the target user's revocation of the authorization consent for the target data call is valid, a request message for updating the first token for the target data call is sent to the NRF based on the indication parameter.
[0118] In order to implement the method on the NF side of the embodiment of the present application, the embodiment of the present application also provides an analysis data protection device based on user consent, which is set on the NRF. Figure 6 FIG. 2 is a schematic diagram of another structure of an analysis data protection device based on user consent according to an embodiment of the present application; Figure 6 As shown, the device 600 includes:
[0119] The second receiving unit 601 is used to receive the request information of the first token ring network token called by the update target data sent by the network function NF;
[0120] The generating unit 602 is configured to generate a second token with a new validity period based on the request information to invalidate the first token.
[0121] In one embodiment, the generating unit 602 is further configured to revoke the first token according to the request information; and regenerate a second token with a new validity period based on the request information.
[0122] In one embodiment, the generating unit 602 is further configured to obtain configuration parameters of the second token; and generate the second token based on the request information and the configuration parameters.
[0123] In one embodiment, the generating unit 602 is further configured to determine a logic policy of the second token based on the request information; and generate the second token according to the logic policy.
[0124] Based on the hardware implementation of the above program modules, and in order to implement the method on the NF side of the embodiment of the present application, the embodiment of the present application also provides a network function NF, Figure 7 NF structure diagram of the present application embodiment; Figure 7 As shown, the NF700 includes:
[0125] The first communication interface 701 is capable of exchanging information with the NRF;
[0126] The first processor 702 is connected to the first communication interface 701 to implement information interaction with the NRF, and is used to execute the method provided by one or more technical solutions of the NF side when running the computer program. The computer program is stored in the first memory 703.
[0127] It should be noted that the specific processing process of the first processor 702 and the first communication interface 701 can be understood by referring to the above method.
[0128] Of course, in actual application, the various components in the network function NF700 are coupled together through the bus system 704. It can be understood that the bus system 704 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 704 .
[0129] The first memory 703 in the embodiment of the present application is used to store various types of data to support the operation of the network function NF 700. Examples of such data include: any computer program used to operate on the network function NF 700.
[0130] The method disclosed in the above embodiment of the present application can be applied to the first processor 702, or implemented by the first processor 702. The first processor 702 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the first processor 702. The above-mentioned first processor 702 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 702 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 703, and the first processor 702 reads the information in the first memory 703 and completes the steps of the above method in combination with its hardware.
[0131] In an exemplary embodiment, the network function NF700 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0132] Based on the hardware implementation of the above program modules, and in order to implement the method on the NRF side of the embodiment of the present application, the embodiment of the present application also provides an NRF, Figure 8 Schematic diagram of the NRF structure of the present application embodiment; Figure 8 As shown, the NRF800 includes:
[0133] The second communication interface 801 is capable of exchanging information with the NF;
[0134] The second processor 802 is connected to the second communication interface 801 to implement information interaction with the network storage function NF, and is used to execute the method provided by one or more technical solutions of the NRF side when running the computer program. The computer program is stored in the second memory 803.
[0135] It should be noted that the specific processing process of the second communication interface 801 and the second processor 802 can be understood by referring to the above method.
[0136] Of course, in actual application, the various components in the NRF are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .
[0137] The second memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the NRF 800. Examples of such data include: any computer program used to operate on the NRF 800.
[0138] The method disclosed in the above embodiment of the present application can be applied to the second processor 802, or implemented by the second processor 802. The second processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 802. The above-mentioned second processor 802 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 802 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the second memory 803. The second processor 802 reads the information in the second memory 803 and completes the steps of the above method in combination with its hardware.
[0139] In an exemplary embodiment, NRF 800 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0140] It can be understood that the memory (first memory 703, second memory 803) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0141] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an analysis data protection system based on user consent. Fig. 9 Schematic diagram of the structure of the analysis data protection system based on user consent in the embodiment of the present application; Fig. 9 As shown, the system includes: NF901 and NRF902.
[0142] Here, it should be noted that the specific processing process of NF901 and NRF902 has been described in detail above and will not be repeated here.
[0143] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 703 storing a computer program, and the above-mentioned computer program can be executed by the first processor 702 of the network function NF700 to complete the steps described in the aforementioned network storage function NRF side method. For another example, it includes a second memory 803 storing a computer program, and the above-mentioned computer program can be executed by the second processor 802 of the network storage function NRF800 to complete the steps described in the aforementioned network function NF side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0144] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0145] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0146] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A method for protecting analytical data based on user consent, characterized in that: Applied to network functions NF, including: Receiving a subscription cancellation message for target data call sent by the network data analysis function NWDAF; the subscription cancellation message includes an indication parameter of the target user's authorization consent revocation for the target data call; Based on the indication parameter, a request message for updating the first token ring network token called by the target data is sent to the network storage function NRF; the request message is used by the NRF to generate a second token with a new validity period to invalidate the first token.
2. The method according to claim 1, characterized in that The target data includes at least one of the following: Analyze data; Data corresponding to the machine learning ML model.
3. The method according to claim 1, characterized in that The sending, based on the indication parameter, to the network storage function NRF, request information for updating the first token ring network token called by the target data, comprises: Using the indication parameter to identify whether the target user's consent to revoke the target data call authorization is valid; In a case where the indication parameter represents that the target user's authorization consent revocation for the target data call is valid, a request message for updating the first token ring network token for the target data call is sent to the network storage function NRF based on the indication parameter.
4. A method for protecting analytical data based on user consent, characterized in that: Applied to the network storage function NRF, including: Receiving request information of a first token ring network token for updating target data call sent by the network function NF; A second token with a new validity period is generated based on the request information to invalidate the first token.
5. The method according to claim 4, characterized in that The generating a second token having a new validity period based on the request information includes: Revoking the first token according to the request information; A second token with a new validity period is regenerated based on the request information.
6. The method according to claim 5, characterized in that The regenerating a second token with a new validity period based on the request information includes: Obtain configuration parameters of the second token; The second token is generated based on the request information and the configuration parameters.
7. The method according to claim 5, characterized in that The regenerating a second token with a new validity period based on the request information includes: Determining a logic strategy of the second token based on the request information; Generate the second token according to the logical policy.
8. An analytical data protection device with user consent, characterized in that: The settings are on the network function NF, including: A first receiving unit is used to receive a subscription cancellation message for a target data call sent by a network data analysis function NWDAF; the subscription cancellation message includes an indication parameter of the target user's authorization consent revocation for the target data call; The first sending unit is used to send a request message for updating the first token ring network token called by the target data to the network storage function NRF based on the indication parameter; the request message is used by the NRF to generate a second token with a new validity period to invalidate the first token.
9. An analytical data protection device based on user consent, characterized in that: The settings are on the network storage function NRF, including: A second receiving unit is used to receive a request message of a first token ring network token for updating target data call sent by the network function NF; A generating unit is used to generate a second token with a new validity period based on the request information to invalidate the first token.
10. A network function NF, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 3 are executed.
11. A network storage function NRF, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, it executes the steps of the method according to any one of claims 4 to 7.
12. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 3, or implements the steps of the method according to any one of claims 4 to 7.
