Communication method and apparatus
Patent Information
- Application Number
- CN202210050678.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2042-01-17
AI Technical Summary
此种数据获取的方式容易导致资源浪费
Smart Images

Figure CN116489632B_ABST
Abstract
Claims
1. A communication method, characterized in that, include: The first network element receives a first message and a second message, wherein the first message is used to subscribe to first data and the second message is used to subscribe to second data; The first network element subscribes to the first data from the second network element based on the first message; The first network element determines whether it can obtain the second data based on the first data, wherein the method of obtaining the second data based on the first data includes: processing the first data to obtain the second data; Based on the result of the judgment, the first network element determines not to subscribe to all or part of the data in the second data that can be obtained from the first data.
2. The method according to claim 1, characterized in that, The first message includes a first association identifier, and the first network element subscribes to the first data from the second network element, including: The first network element sends a third message to the second network element, the third message being used to subscribe to the first data, and the third message including a third association identifier; The method further includes: The first network element receives a first notification message from the second network element, the first notification message including the first data and the third association identifier; The first network element determines that the third association identifier in the first notification message corresponds to the first association identifier based on the first relationship, where the first relationship is the correspondence between the first association identifier and the third association identifier; The first network element sends the first data according to the first association identifier.
3. The method according to claim 2, characterized in that, The result of the determination is that the second data can be obtained based on the first data, the second message includes a second association identifier, and the method further includes: The first network element determines a first method for obtaining the second data based on the first data; The first network element determines, based on the second relationship, that the third association identifier in the first notification message corresponds to the second association identifier and the first method, whereby the second relationship is the correspondence between the second association identifier, the third association identifier, and the first method. The first network element obtains the second data according to the first method and the first data; The first network element sends the second data according to the second association identifier.
4. The method according to claim 2, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The method further includes: The first network element determines a second method for obtaining the first portion of data based on the first data; The first network element sends a fourth message to the second network element, the fourth message being used to subscribe to the second part of data, and the fourth message including a fourth association identifier; The first notification message also includes the second part of data and the fourth association identifier. The first network element determines that the fourth association identifier in the first notification message corresponds to the second association identifier according to the third relationship. The third relationship is the correspondence between the second association identifier and the fourth association identifier. The first network element determines, based on the fourth relationship, that the third association identifier in the first notification message corresponds to the second association identifier and the second method, wherein the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method; The first network element obtains the first portion of data according to the second method and the first data; The first network element sends the first part of data and the second part of data according to the second association identifier.
5. The method according to claim 2, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The method further includes: The first network element sends a fifth message to the second network element according to the second message. The fifth message is used to subscribe to the second data from the second network element. The fifth message includes a fourth association identifier. The first network element determines a second method for obtaining the first portion of data based on the first data; The first notification message also includes the second part of data and the fourth association identifier. The first network element determines that the fourth association identifier in the first notification message corresponds to the second association identifier according to the third relationship. The third relationship is the correspondence between the second association identifier and the fourth association identifier. The first network element determines, based on the fourth relationship, that the third association identifier in the first notification message corresponds to the second association identifier and the second method, wherein the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method; The first network element obtains the first portion of data according to the second method and the first data; The first network element sends the first part of data and the second part of data according to the second association identifier.
6. The method according to claim 5, characterized in that, The third message is also used to unsubscribe the first part of the data from the second network element.
7. The method according to claim 1, characterized in that, The first message includes a first association identifier, and the first network element subscribes to the first data from the second network element, including: The first network element sends a third message to the second network element. The third message is used to subscribe to the first data from the second network element. The third message includes a third association identifier and the identifier of the third network element. The method further includes: The first network element sends a first relationship to the third network element, wherein the first relationship is the correspondence between the first association identifier and the third association identifier.
8. The method according to claim 7, characterized in that, The second message includes a second association identifier, and the result of the determination is that the second data can be obtained based on the first data. The method further includes: The first network element determines a first method for obtaining the second data based on the first data; The first network element sends a second relationship to the third network element. The second relationship is the correspondence between the second association identifier, the third association identifier, and the first method.
9. The method according to claim 7, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The method further includes: The first network element determines a second method for obtaining the first portion of data based on the first data; The first network element sends a fourth message to the second network element, the fourth message being used to subscribe to the second part of data, and the fourth message including a fourth association identifier; The first network element sends a third relationship and a fourth relationship to the third network element. The third relationship is the correspondence between the second association identifier and the fourth association identifier, and the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method.
10. The method according to claim 7, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The method further includes: The first network element sends a fifth message to the second network element according to the second message. The fifth message is used to subscribe to the second data from the second network element. The fifth message includes a fourth association identifier. The first network element determines a second method for obtaining the first portion of data based on the first data; The first network element sends a third relationship and a fourth relationship to the third network element. The third relationship is the correspondence between the second association identifier and the fourth association identifier, and the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method.
11. The method according to claim 10, characterized in that, The third message is also used to unsubscribe the first part of the data from the second network element.
12. The method according to claim 3 or 8, characterized in that, The method further includes: The first network element sends a fifth message to the second network element according to the second message. The fifth message is used to subscribe to the second data with the second network element, and the fifth message includes a fourth association identifier. The third message is also used to unsubscribe from the second data with the second network element.
13. The method according to any one of claims 1-11, characterized in that, The first message also includes multiple data types associated with the first data, multiple reporting conditions, and the logical relationships between the multiple reporting conditions; wherein, the multiple data types correspond one-to-one with the multiple reporting conditions; The method further includes: When the logical relationship is satisfied, the first network element receives the first data from the second network element.
14. The method according to any one of claims 1-11, characterized in that, The first network element is a data collection and coordination function network element, the second network element is a user plane function network element, and the third network element is a message framework adapter function network element. The first network element receives a first message and a second message, including: The first network element receives the first message from the first network data analysis function network element and the second message from the second network data analysis function network element.
15. The method according to any one of claims 1-11, characterized in that, The data granularity of the first data is smaller than that of the second data.
16. A communication device, characterized in that, include: A transceiver unit and a processing unit connected to the transceiver unit; The transceiver unit is used to receive a first message and a second message, wherein the first message is used to subscribe to first data and the second message is used to subscribe to second data; The transceiver unit is further configured to subscribe to the first data from the second network element according to the first message; The processing unit is used to determine whether the second data can be obtained based on the first data, wherein the method of obtaining the second data based on the first data includes: processing the first data to obtain the second data; The processing unit is further configured to determine, based on the result of the judgment, not to subscribe to all or part of the data in the second data that can be obtained from the first data.
17. The apparatus according to claim 16, characterized in that, The first message includes a first association identifier; The transceiver unit is further configured to send a third message to the second network element, the third message being used to subscribe to the first data, and the third message including a third association identifier; The transceiver unit is further configured to receive a first notification message from the second network element, wherein the first notification message includes the first data and the third association identifier; The processing unit is further configured to determine, based on a first relationship, that the third association identifier in the first notification message corresponds to the first association identifier, wherein the first relationship is a correspondence between the first association identifier and the third association identifier; The transceiver unit is further configured to send the first data according to the first association identifier.
18. The apparatus according to claim 17, characterized in that, The result of the judgment is that the second data can be obtained based on the first data, and the second message includes a second association identifier; The processing unit is further configured to determine a first method for obtaining the second data based on the first data; The processing unit is further configured to determine, based on the second relationship, that the third association identifier in the first notification message corresponds to the second association identifier and the first method, wherein the second relationship is the correspondence between the second association identifier, the third association identifier, and the first method; The processing unit is further configured to acquire the second data according to the first method and the first data; The transceiver unit is further configured to send the second data according to the second association identifier.
19. The apparatus according to claim 17, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The processing unit is further configured to determine a second method for obtaining the first portion of data based on the first data; The transceiver unit is further configured to send a fourth message to the second network element, the fourth message being used to subscribe to the second part of data, and the fourth message including a fourth association identifier; The first notification message also includes the second part of data and the fourth association identifier. The processing unit is further configured to determine, according to a third relationship, that the fourth association identifier in the first notification message corresponds to the second association identifier. The third relationship is the correspondence between the second association identifier and the fourth association identifier. The processing unit is further configured to determine, based on a fourth relationship, that the third association identifier in the first notification message corresponds to the second association identifier and the second method, wherein the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method; The processing unit is further configured to acquire the first portion of data according to the second method and the first data; The transceiver unit is further configured to send the first part of the data and the second part of the data according to the second association identifier.
20. The apparatus according to claim 17, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The transceiver unit is further configured to send a fifth message to the second network element according to the second message, the fifth message being used to subscribe to the second data from the second network element, and the fifth message including a fourth association identifier; The processing unit is further configured to determine a second method for obtaining the first portion of data based on the first data; The first notification message also includes the second part of data and the fourth association identifier. The processing unit is further configured to determine, according to a third relationship, that the fourth association identifier in the first notification message corresponds to the second association identifier. The third relationship is the correspondence between the second association identifier and the fourth association identifier. The processing unit is further configured to determine, based on a fourth relationship, that the third association identifier in the first notification message corresponds to the second association identifier and the second method, wherein the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method; The processing unit is further configured to acquire the first portion of data according to the second method and the first data; The transceiver unit is further configured to send the first part of the data and the second part of the data according to the second association identifier.
21. The apparatus according to claim 20, characterized in that, The third message is also used to unsubscribe the first part of the data from the second network element.
22. The apparatus according to claim 16, characterized in that, The first message includes a first association identifier; The transceiver unit is further configured to send a third message to the second network element, the third message being used to subscribe to the first data from the second network element, the third message including a third association identifier and an identifier of the third network element; The transceiver unit is further configured to send a first relationship to the third network element, wherein the first relationship is the correspondence between the first association identifier and the third association identifier.
23. The apparatus according to claim 22, characterized in that, The second message includes a second association identifier, and the result of the judgment is that the second data can be obtained based on the first data; The processing unit is further configured to determine a first method for obtaining the second data based on the first data; The transceiver unit is further configured to send a second relationship to the third network element, wherein the second relationship is the correspondence between the second association identifier, the third association identifier, and the first method.
24. The apparatus according to claim 22, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The processing unit is further configured to determine a second method for obtaining the first portion of data based on the first data; The transceiver unit is further configured to send a fourth message to the second network element, the fourth message being used to subscribe to the second part of data, and the fourth message including a fourth association identifier; The transceiver unit is further configured to send a third relationship and a fourth relationship to the third network element, wherein the third relationship is the correspondence between the second association identifier and the fourth association identifier, and the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method.
25. The apparatus according to claim 22, characterized in that, The second message includes a second association identifier, and the second data includes a first part of data and a second part of data; the result of the judgment is that the first part of data can be obtained based on the first data, but the second part of data cannot be obtained based on the first data. The transceiver unit is further configured to send a fifth message to the second network element according to the second message, the fifth message being used to subscribe to the second data from the second network element, and the fifth message including a fourth association identifier; The processing unit is further configured to determine a second method for obtaining the first portion of data based on the first data; The transceiver unit is further configured to send a third relationship and a fourth relationship to the third network element, wherein the third relationship is the correspondence between the second association identifier and the fourth association identifier, and the fourth relationship is the correspondence between the second association identifier, the third association identifier, and the second method.
26. The apparatus according to claim 25, characterized in that, The third message is also used to unsubscribe the first part of the data from the second network element.
27. The apparatus according to claim 18 or 23, characterized in that, The transceiver unit is further configured to send a fifth message to the second network element according to the second message, the fifth message being used to subscribe to the second data from the second network element, and the fifth message including a fourth association identifier; The third message is also used to unsubscribe the second data from the second network element.
28. The apparatus according to any one of claims 16-26, characterized in that, The first message also includes multiple data types associated with the first data, multiple reporting conditions, and the logical relationships between the multiple reporting conditions; wherein, the multiple data types correspond one-to-one with the multiple reporting conditions; If the logical relationship is satisfied, the transceiver unit is further configured to receive the first data from the second network element.
29. The apparatus according to any one of claims 16-26, characterized in that, The communication device is a data collection and coordination function network element, the second network element is a user plane function network element, and the third network element is a message frame adapter function network element. The transceiver unit is further configured to receive the first message from the first network data analysis function network element and the second message from the second network data analysis function network element.
30. The apparatus according to any one of claims 16-26, characterized in that, The data granularity of the first data is smaller than that of the second data.
31. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-15.
32. A computer program product, characterized in that, Includes instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-15.
33. A communication system, characterized in that, include: The first network element is configured to perform the method as described in any one of claims 1-15; as well as The second network element is used to send the subscribed data to the first network element.