Data collection method and related apparatus
By acquiring the energy information of the target network element and matching it with the data collection strategy, the problem of excessive energy consumption of the target network element during the data collection process was solved, and more efficient energy utilization was achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-11-21
- Publication Date
- 2026-07-09
AI Technical Summary
In existing technologies, data consuming network elements do not consider the energy consumption capacity of the target network element when configuring data collection parameters. This may cause the target network element to consume additional energy beyond its capacity during data collection operations, affecting its operation.
The data collection network element obtains the energy information of the target network element, determines the data collection strategy that matches its energy consumption based on the information, and sends an indicative request to the target network element to control energy consumption and avoid additional consumption beyond its capacity.
This enables target network elements to control energy consumption more flexibly during data collection, avoids excessive consumption caused by mismatched strategies, and optimizes the operating efficiency of target network elements.
Smart Images

Figure CN2025136649_09072026_PF_FP_ABST
Abstract
Description
Data collection methods and related devices
[0001] This application claims priority to Chinese Patent Application No. 202411999743.4, filed with the State Intellectual Property Office of China on December 31, 2024, entitled “Data Collection Method and Related Apparatus”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communication technology, and in particular to a data collection method and related apparatus. Background Technology
[0003] In the research of intelligent networks, the foundation of network intelligence is data collection. Intelligent network elements need to know various data of the network, and then perform analysis, model training and other methods to predict the network's behavior, thereby assisting in network optimization.
[0004] Currently, data-consuming network elements (such as intelligent network elements) configure data collection parameters directly according to their own data needs when they need to collect data from target network elements. For example, data collection parameters include the reporting cycle of the target network element; the shorter the reporting cycle, i.e., the more frequent the data reporting, the more energy the target network element consumes during data collection. Then, a data collection request is sent to the target network element, carrying the aforementioned data collection parameters. The data collection request instructs the target network element to collect data according to the configured data collection parameters and return the data.
[0005] However, data consuming network elements only consider their own data needs when configuring data collection parameters. This means that regardless of the target network element's actual energy consumption capacity for data collection operations, data must be collected and returned according to the specified parameters. For the target network element, this data collection operation may result in additional energy consumption beyond its capacity. Excessive additional resource consumption can adversely affect the target network element's operation. Therefore, minimizing the energy consumption of the target network element in data collection scenarios is a pressing issue that needs to be addressed. Summary of the Invention
[0006] This application provides a data collection method and related apparatus. It enables target network elements to minimize additional energy consumption beyond their actual energy capacity when collecting data based on a target data collection strategy.
[0007] The first aspect of this application provides a data collection method that can be applied to data collection network elements. In the network architecture, the data collection network element has a data collection coordination function, used to coordinate the collection and distribution of data requested by data consuming network elements. Data consuming network elements can be understood as network elements in the network architecture that have data collection needs. Energy information network elements can be understood as network elements with the function of acquiring the energy consumption of target network elements and determining the energy information of target network elements.
[0008] The method specifically includes:
[0009] The data collection network element acquires energy information from the target network element, which characterizes the energy consumption of the target network element. Based on the energy information of the target network element, a target data collection strategy for the target network element is determined from at least one data collection strategy, and the target data collection strategy matches the energy information of the target network element. A first data collection request is sent to the target network element, the first data collection request including the target data collection strategy, and the first data collection request is used to instruct the target network element to return target data, which is determined based on the target data collection strategy.
[0010] This application acquires energy information of a target network element through a data collection network element, and then determines a target data collection strategy that matches the actual energy consumption of the target network element based on this energy information. This makes the target network element more flexible in collecting data based on the target data collection strategy. In other words, because the technical solution of this application refers to the energy information of the target network element when determining the target data collection strategy, and the energy information can reflect the energy consumption of the target network element, a target data collection strategy that matches the energy consumption can be selected from at least one data collection strategy.
[0011] Therefore, target network elements can collect target data based on a target data collection strategy that matches their own energy consumption. In the data collection scenario, the energy consumption of the target network element caused by the data collection operation should be controlled as much as possible to avoid the target network element generating additional energy consumption beyond its actual energy consumption capacity during data collection due to a data collection strategy that does not match its energy consumption.
[0012] In one possible implementation, the energy information of the target network element can be any one or more of the following: energy consumption value, energy consumption level, energy saving status, energy saving strategy, and proportion of new energy sources.
[0013] In this implementation, energy information can characterize the energy consumption of the target network element. When the energy information is matched with the target data collection strategy, the target data collection strategy instructs the target network element to collect data, and controls the target network element to consume more energy than its actual energy consumption can bear as much as possible.
[0014] In one possible implementation, the data collection network element determines the target data collection strategy from at least one data collection strategy based on the energy information of the target network element. This can be achieved by acquiring at least one data collection strategy and at least one energy condition, wherein each of the at least one data collection strategy corresponds to each of the at least one energy condition. Then, the energy information is matched against the at least one energy condition. If the energy information of the target network element satisfies a first energy condition among the at least one energy condition, then the data collection network element determines the data collection strategy from the at least one data collection strategy that corresponds to the first energy condition as the target data collection strategy.
[0015] In this implementation, at least one data collection strategy is configured in the data collection network element. To match energy information with the target data collection strategy, at least one energy condition is set, corresponding to each of the at least one data collection strategy. If the energy information of the target network element can be matched with a first energy condition among the at least one energy condition, then the target data collection strategy corresponding to the first energy condition is considered to match the energy information of the target network element. This determines the target data collection strategy that matches the energy information of the target network element. Here, the first energy condition can be understood as any one or more of the at least one energy condition.
[0016] Optionally, when configuring at least one data collection strategy, the data collection network element can configure the same set of data collection strategies for multiple target network elements or all target network elements, wherein the set of data collection strategies includes at least one data collection strategy. The data collection network element can also configure different sets of data collection strategies for each of one or more target network elements, wherein each set of data collection strategies includes at least one data collection strategy, and different sets of data collection strategies may include different data collection strategies.
[0017] In one possible implementation, after receiving a second data collection request from a data consuming network element, the energy information of the target network element can be obtained from the energy information of at least one first network element in the data collection network element. The energy information of the at least one first network element is obtained by the data collection network element in advance from the energy information network element. The at least one first network element can be understood as multiple or all network elements capable of communicating with the energy information network element and collecting data.
[0018] The data collection network element sends an energy information subscription request to the energy information network element. The energy information subscription request includes information from at least one first network element and instructs the energy information network element to return energy information from at least one first network element, including a target network element. Subsequently, the energy information from at least one first network element is received from the energy information network element.
[0019] Optionally, the second data collection request includes information about the target network element. The data collection network element then determines the energy information of the target network element from the energy information of at least one pre-acquired first network element, based on the information about the target network element.
[0020] In this implementation, the data collection network element can first obtain energy information of at least one first network element from the energy information network element and save it to local memory. When the data collection network element receives a second data collection request from the data consumption network element, it then obtains the energy information of the target network element from the energy information of at least one first network element stored in local memory. This improves the efficiency of obtaining the target network element's energy information. After receiving the second data collection request from the data consumption network element, there is no need to wait for the energy information network element to return the target network element's energy information.
[0021] In one possible implementation, the energy information subscription request includes first information and / or second information. The first information instructs the energy information network element to return energy information from at least one first network element at a specified period. The second information instructs the energy information network element to return energy information from the first network element when the energy information from the first network element meets set conditions. Here, "first network element" can be understood as any one of at least one first network element.
[0022] Optionally, the set condition can be that the energy consumption value in the energy information is greater than a threshold, or that the energy-saving status in the energy information has changed, or that the energy consumption level in the energy information has changed, or that the proportion of new energy sources in the energy information is greater than a set value. The threshold and set value can both be customized by the data collection network element.
[0023] In one possible implementation, the data collection network element can also obtain energy information of the target network element from the energy information network element after receiving a second data collection request from the data consumption network element. Specifically, this includes: the data collection network element receiving a second data collection request from the data consumption network element, the second data collection request containing information about the target network element. Then, the data collection network element sends an energy information subscription request to the energy information network element, the energy information subscription request including information about the target network element, and the energy information subscription request instructing the energy information network element to return the energy information of the target network element.
[0024] In this implementation, the energy information subscription request is triggered by a second data collection request from the data consuming network element. That is, after receiving the second data collection request, the data collection network element sends an energy information subscription request to the energy information network element to obtain the target network element's energy information. This saves communication resources between the energy information network element and the data collection network element and ensures the timeliness of the target network element's energy information.
[0025] A second aspect of this application provides a data collection method applicable to energy information network elements. In a network architecture, an energy information network element can be understood as a network element capable of calculating the energy consumption generated by data-producing network elements and determining their energy information. The method specifically includes:
[0026] The energy information network element receives an energy information subscription request from the data collection network element. This request includes information about the target network element. The energy information network element then determines the target network element's energy information based on this information, which characterizes the target network element's energy consumption. This energy information is then sent to the data collection network element to determine the target data collection strategy for that network element.
[0027] This application determines the energy information of a target network element and sends this energy information to a data collection network element, enabling the data collection network element to determine a target data collection strategy for the target network element based on the energy information. Since energy information characterizes the energy consumption of the target network element, the determined target data collection strategy is also compatible with the target network element's energy consumption. Therefore, in data collection scenarios, this avoids data collection strategies that are mismatched with energy consumption, preventing the target network element from incurring additional energy consumption beyond its actual capacity during data collection.
[0028] In one possible implementation, energy information may include any one or more of the following: energy consumption value, energy consumption level, energy saving status, energy saving strategy, and proportion of new energy sources.
[0029] A third aspect of this application provides a data processing method that can be applied to energy information network elements. The method specifically includes:
[0030] An energy information network element receives a first request from a first network element. The first request includes information from at least one second network element and is used to obtain a target data collection strategy from the at least one second network element. Based on the information from the second network element, energy information of the second network element is determined, representing its energy consumption. Based on the energy information of the second network element, a data collection strategy for the second network element is determined from at least one data collection strategy, and the target data collection strategy matches the energy information of the second network element. The data collection strategy is then sent to the first network element. Here, "second network element" can be understood as any one of the at least one second network element.
[0031] Optionally, the first network element can be a data collection network element, or the first network element can be a data production network element. The second network element can be a data production network element.
[0032] In one possible implementation, the energy information network element determines the data collection strategy of the second network element from at least one data collection strategy based on the energy information of the second network element. This can be achieved by acquiring at least one data collection strategy and at least one energy condition, wherein each of the at least one data collection strategy corresponds to each of the at least one energy condition. Then, the energy information is matched against the at least one energy condition. If the energy information of the second network element satisfies a first energy condition among the at least one energy condition, then the energy information network element determines the data collection strategy from the at least one data collection strategy that corresponds to the first energy condition as the data collection strategy of the second network element.
[0033] In this implementation, at least one data collection strategy is configured in the energy information network element. To match energy information with the target data collection strategy, at least one energy condition is set, corresponding to each of the at least one data collection strategy. If the energy information of the target network element can be matched with a first energy condition among the at least one energy conditions, then the data collection strategy corresponding to the first energy condition is considered to match the energy information of the second network element. This determines the data collection strategy that matches the energy information of the second network element. Here, the first energy condition can be understood as any one or more of the at least one energy conditions.
[0034] Optionally, when configuring at least one data collection strategy for an energy information network element, the same set of data collection strategies can be configured for multiple target network elements or all target network elements, wherein the set of data collection strategies includes at least one data collection strategy. The data collection network element can also configure different sets of data collection strategies for each of one or more target network elements, wherein each set of data collection strategies includes at least one data collection strategy, and different sets of data collection strategies can include different data collection strategies.
[0035] In one possible implementation, the first request includes first information and / or second information. The first information is used to instruct the target data collection strategy of the second network element to be sent to the first network element according to a specified period. The second information is used to instruct the target data collection strategy of the target network element to be sent when the energy information of the second network element meets the set conditions.
[0036] Optionally, the set condition can be that the energy consumption value in the energy information is greater than a threshold, or that the energy-saving status in the energy information has changed, or that the energy consumption level in the energy information has changed, or that the proportion of new energy sources in the energy information is greater than a set value. The threshold and set value can both be customized by the data collection network element.
[0037] A fourth aspect of this application provides a data collection method that can be applied to a data collection network element. The method includes:
[0038] The data collection network element acquires the target data collection strategy from the target network element. The target data collection strategy is determined from at least one data collection strategy based on the target network element's energy information. The energy information of the target network element characterizes its energy consumption, and the target data collection strategy matches the target network element's energy information. Then, the data collection network element sends a first data collection request to the target network element. The first data collection request includes the target data collection strategy and instructs the target network element to collect and return target data, which is determined based on the target data collection strategy.
[0039] In one possible implementation, before the data collection network element acquires the target data collection strategy of the target network element, the method may further include: the data collection network element receiving a second data collection request from a data consumption network element, the second data collection request including information about the target network element. Acquiring the target data collection strategy of the target network element includes: the data collection network element sending a first request to the energy information network element, the first request being used to request the target data collection strategy of the target network element, the first request including information about the target network element. The method also includes receiving the target data collection strategy from the energy information network element.
[0040] In one possible implementation, the first request includes first information and / or second information, wherein the first information is used to instruct the energy information network element to send the target data collection strategy according to a specified period, and the second information is used to instruct the energy information network element to send the target data collection strategy when the energy information of the target network element meets the set conditions.
[0041] A fifth aspect of this application provides a data collection method applicable to data production network elements. In a network architecture, these elements generate a large amount of data. The "data" can refer to data generated and sent to the data production network element by a terminal device or other device communicatively connected to it, or it can refer to the data of the data production network element itself. The method includes:
[0042] The data production network element sends a first request to the energy information network element, instructing the energy information network element to return a target data collection strategy. This target data collection strategy is determined based on the energy information of the data production network element, which characterizes the energy consumption of the data production network element, and the determined target data collection strategy matches the energy information of the data production network element. Subsequently, the data production network element receives the target data collection strategy from the energy information network element. The data production network element then collects target data based on the target data collection strategy.
[0043] In one possible implementation, the data production network element receives a data collection request before sending the first request to the energy information network element. That is, the data production network element first receives a data collection request from the data collection network element, and the data collection request includes first information instructing the data production network element to collect target data based on a target data collection strategy. After the data production network element collects the target data based on the target data collection strategy, it then returns the target data to the data collection network element.
[0044] A sixth aspect of this application provides a communication device, which includes a unit or module for performing the data collection method described in any implementation of the first aspect.
[0045] A seventh aspect of this application provides a communication device, which includes a unit or module for performing the data collection method described in any implementation of the second aspect.
[0046] An eighth aspect of this application provides a communication device, which includes a unit or module for performing the data collection method described in any implementation of the second aspect.
[0047] A ninth aspect of this application provides a communication device, which includes a unit or module for performing the data collection method described in any implementation of the second aspect.
[0048] A tenth aspect of this application provides a communication device, which includes a unit or module for performing the data collection method described in any implementation of the second aspect.
[0049] The eleventh aspect of this application provides a communication device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is run on the processor, the processor executes a data collection method as described in any embodiment of the first aspect.
[0050] The twelfth aspect of this application provides a communication device including a processor and a memory, the memory storing a computer program that, when executed on the processor, performs a data collection method as described in any embodiment of the second aspect.
[0051] The thirteenth aspect of this application provides a communication device including a processor and a memory, the memory storing a computer program, which, when run on the processor, executes a data collection method as described in any embodiment of the third aspect.
[0052] The fourteenth aspect of this application provides a communication device including a processor and a memory, the memory storing a computer program, which, when executed on the processor, performs a data collection method as described in any embodiment of the fourth aspect.
[0053] The fifteenth aspect of this application provides a communication device including a processor and a memory, the memory storing a computer program, which, when executed on the processor, performs a data collection method as described in any embodiment of the fifth aspect.
[0054] The sixteenth aspect of this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform a data collection method as described in any of the first, second, third, fourth, or fifth aspects.
[0055] The seventeenth aspect of this application provides a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform a data collection method as described in any of the first, second, third, fourth, or fifth aspects.
[0056] An eighteenth aspect of this application provides a communication system including a first communication device and a second communication device. The first communication device is used to execute a data collection method as described in any implementation of the first aspect, and the second communication device is used to execute a data collection method as described in any implementation of the second aspect.
[0057] The nineteenth aspect of this application provides a communication system including a first communication device and a second communication device. The first communication device is used to perform a data collection method as described in any implementation of the third aspect, and the second communication device is used to perform a data collection method as described in any implementation of the fourth or fifth aspect. Attached Figure Description
[0058] Figure 1 is a schematic diagram of the network architecture provided in this application;
[0059] Figure 2 is a flowchart illustrating a data collection method provided in an embodiment of this application.
[0060] Figure 3 is another flowchart illustrating the data collection method provided in an embodiment of this application;
[0061] Figure 4 is another flowchart illustrating the data collection method provided in an embodiment of this application;
[0062] Figure 5 is another flowchart illustrating the data collection method provided in an embodiment of this application;
[0063] Figure 6 is another flowchart illustrating the data collection method provided in an embodiment of this application;
[0064] Figure 7 is a schematic diagram of a communication device provided in an embodiment of this application;
[0065] Figure 8 is another structural schematic diagram of the communication device provided in an embodiment of this application;
[0066] Figure 9 is another structural schematic diagram of the communication device provided in an embodiment of this application;
[0067] Figure 10 is a schematic diagram of a communication device provided in an embodiment of this application. Detailed Implementation
[0068] The embodiments of this application are described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. As those skilled in the art will understand, with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0069] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0070] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.
[0071] This application provides a data collection method that enables a target network element (e.g., a data production network element) to collect data based on a data collection strategy that matches its energy consumption. This avoids the target network element incurring additional energy consumption beyond its actual energy capacity during data collection due to a mismatch between the data collection strategy and its energy consumption. This application also provides corresponding electronic devices, network devices, and computer-readable storage media. To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0072] This application embodiment can be applied to a network architecture diagram as shown in Figure 1. This network architecture includes data consumption network elements, data collection network elements, energy information network elements, and data production network elements. The data consumption network elements, energy information network elements, and data production network elements can communicate with each other through the data collection network element or directly. The data production network element can also communicate with terminal devices, for example, through a wireless access network. These will be described in detail below:
[0073] 1. Data-consuming network elements can be understood as network elements that have data collection needs.
[0074] Data consuming network elements can obtain data from data producing network elements by sending data collection requests. For example, a network data analytics function (NWDAF) network element has a data collection requirement; once the data is acquired, it can be used to provide network data analytics functions. In other words, other network elements can communicate with the NWDAF to obtain its data analysis results. For instance, operations, administration, and management (OAM) network elements can request network data analysis results from the NWDAF network element. Upon receiving the request, the NWDAF network element collects data from relevant network elements, trains an AI model, performs data inference using the AI model, and then feeds the inference results back to the corresponding OAM network element.
[0075] 2. Data production network element, which can be understood as a network element that generates data in the network.
[0076] "Data" can refer to data generated by terminal devices, VR devices, etc., that communicate with and connect to data production network elements, or it can refer to data generated by the data production network elements themselves. For example, data production network elements may include access and mobility management function (AMF) network elements. AMF network elements can process access requests from terminal devices and monitor the mobility status of terminal devices. Therefore, the data of AMF network elements may include the number of terminal devices registered with the AMF network element, the connection status of the terminal devices, location information, mobility status, etc.
[0077] For example, there's the User Plane Function (UPF) network element. A UPF network element can route and forward data packets between terminal devices and the data network, collect and report traffic usage, and provide a basis for network management and billing. Therefore, the data of a UPF network element could include the number of sessions currently managed by the UPF network element, traffic data for different users and different service types, etc. Understandably, data production network elements can also include other network elements, such as Session Management Function (SMF) network elements.
[0078] 3. Data collection network element, which can be understood as a network element with data collection and coordination functions.
[0079] Data collection network elements can coordinate and assist data collection operations among data consuming network elements, energy information network elements, and data producing network elements in the network. For example, a data collection network element may include a data collection coordination function (DCCF). The DCCF can coordinate the collection and distribution of data requested by data consuming network elements, avoid duplicate data collection, and also has the function of preprocessing the collected data according to parameters or information specified by the data consuming network elements, etc.
[0080] 4. Energy information network element can be understood as a network element that has the function of calculating the energy consumption generated by the data production network element and determining energy information.
[0081] Energy information network elements can interface with external energy devices to collect data from these devices, which monitor the energy consumption of the data production network elements. This data is then used to further calculate and determine the energy information of target network elements. For example, an energy information network element may include an energy information function (EIF) network element. An EIF network element can collect energy consumption data from data production network elements, calculate energy information at the terminal device level, protocol data unit (PDU) session level, and quality of service flow level, and store and share this energy information with authorized data consuming or data collecting network elements. Another example is an OAM network element, which can collect and calculate energy consumption and energy efficiency information at the network element level. Yet another example is a management data analytics function (MDAF) network element, which can provide energy consumption data at the network element level and perform energy information analysis.
[0082] It should be noted that the terms "data consuming network element," "data producing network element," "data collecting network element," and "data production network element" mentioned above are merely general terms for network elements or devices that perform the corresponding functions, and do not specifically refer to any one or more network elements or devices. In practical applications, network elements performing the above functions may be replaced with other names, for example, "data producing network element" may be replaced with "data source," and "data collecting network element" may be replaced with "data coordination network element." Specificity is not limited here; this application embodiment uses the network element names described in the above network architecture as examples. It is understood that in practical applications, the above network elements can be either individual devices or a group of functional entities on other devices (such as servers). In addition to performing the corresponding functions mentioned above, the above network elements may also perform other functions, which are not specifically limited here.
[0083] The data collection method of this application will be described in detail below through several embodiments. However, before that, we will first introduce the specific explanations of some terms or custom terms involved in the various embodiments of this application:
[0084] Energy consumption can be understood as the energy consumed by communication devices (e.g., data production network elements) after power-on or during business processing; or it can include the energy consumption generated by additional energy equipment required to ensure the normal operation of communication devices, such as the energy consumption generated by air conditioning equipment. Energy can be new energy sources, such as renewable resources like solar and wind power, or traditional energy sources, such as non-renewable resources like coal and oil.
[0085] Energy information can be understood as information that reflects the actual energy consumption (or resource usage, energy usage) of data production network elements. Energy information may include any one or more of the following parameters: energy consumption, energy consumption level, proportion of new energy sources, energy-saving status, and energy-saving strategies. Understandably, energy information may include other information that can characterize the energy usage of the first network element, such as the CPU resource utilization rate; specific details are not limited here.
[0086] Energy consumption level can be understood as the energy consumption level corresponding to the unit of data generated by the data production network element. For example, the energy consumption corresponding to the specific unit of data generated can be divided into multiple energy consumption ranges, with different energy consumption ranges corresponding to different energy consumption levels. The corresponding energy consumption level is determined based on the energy consumption corresponding to the unit of data generated by the data production network element. The renewable energy ratio can be understood as the proportion of renewable energy (e.g., solar energy) used by the data production network element out of all energy used. The energy-saving status and the expected time to enter energy-saving mode can be determined based on the energy-saving strategy of the data production network element itself. It is understandable that the determination of the aforementioned energy consumption level (or the division of energy consumption ranges) can be customized by the operator; specific details are not limited here.
[0087] A data collection strategy instructs data-producing network elements on how to collect data. A data collection strategy may include any one or more of the following parameters: data type, data collection time, sampling ratio, and reporting cycle. Data collection strategies are correlated with energy conditions; if the energy information of a target network element meets a certain energy condition, then the data collection strategy corresponding to that energy condition will be used as the data collection strategy for that target network element. Understandably, a data collection strategy may also include other parameters, such as the frequency of data collection, but this is not specifically limited here.
[0088] Understandably, data collection strategies and energy conditions can have a one-to-one correspondence, or one data collection strategy can correspond to multiple energy conditions, or one energy condition can correspond to multiple data collection strategies; the specifics are not limited here.
[0089] Referring to Table 1, the correspondence between data collection strategies and energy conditions can be shown in Table 1 below.
[0090] Understandably, Table 1 below is only one example of the correspondence between data collection strategies and energy conditions. In practical applications, it can take other forms and may include other energy conditions and data collection strategies. For example, the energy conditions may not include the proportion of new energy sources, or the energy conditions may include: "Energy consumption level is level 3, energy-saving status is in energy-saving state, and the expected time to enter energy-saving state is now", and its corresponding data collection strategy is "Data type: location, data collection ratio: 20%, reporting cycle: 5 minutes". Specific details are not limited here.
[0091] Table 1
[0092] In this context, "data type" can be understood as the data type generated or collected by the data production network element. For example, "data volume" usually refers to the amount of data, representing the total amount of data transmitted or stored in the network. "Location" refers to the location information of the terminal device. "Data collection time" indicates the time or time period during which the data production network element collects data. "Sampling ratio" can be understood as the proportion of terminal devices sampled when data is sampled from terminal devices connected to the data production network element, out of the total number of terminal devices. "Reporting cycle" can be understood as the cycle during which the data production network element sends data to the energy information network element after data sampling, or it can be understood as the cycle during which the data production network element samples data (sending the sampled data to the energy information network element after each sampling).
[0093] When all parameters in the energy information meet energy condition 1, the corresponding data collection strategy is determined as follows: "Data collection time: excluding 9:00-10:00; Data type: location / data volume; Sampling ratio: 80%; Reporting cycle: 4 minutes". Similarly, when all parameters in the energy information meet energy condition 2, the corresponding data collection strategy is determined as follows: "Sampling ratio: 80%; Reporting cycle: 4 minutes; Data collection time: excluding 9:00-10:00 pm". When all parameters in the energy information meet energy condition 3, the determined data collection strategy is as follows: "Data type 1: data volume, data collection not supported; Data type 2: location, data collection supported; Data collection ratio: 10%; Reporting cycle: 10 minutes".
[0094] Understandably, when determining whether the parameters contained in the energy information meet the corresponding energy conditions, it is not necessary for the energy information to satisfy the conditions corresponding to each parameter in the energy conditions in order to determine the corresponding data collection strategy as the data collection strategy for the target network element. For example, if the energy information includes the parameters "energy level, energy saving status" but not the parameter "expected energy saving time", then it is only necessary to determine which energy condition is satisfied by "energy level, energy saving status", without needing to determine whether "expected energy saving time" also satisfies that energy condition.
[0095] Understandably, the correspondence between energy conditions and data collection strategies can be configured in the form of Table 1 above in the energy information network element or data collection network element to determine the data collection strategy of the target network element. For specific implementation process, please refer to the steps in Embodiments 1 and 2 below.
[0096] It should be noted that the specific definitions of the above terms or custom terms have the same meaning in the various embodiments provided in this application, and will not be repeated hereafter. It is understood that the above explanation does not limit the above terms or custom terms to the above interpretations. In practical applications, corresponding extended interpretations can be made in combination with the actual situation. For example, in addition to the explanations described above, energy consumption can also refer to the computer resource consumption generated by the communication device (e.g., data production network element) during use.
[0097] After explaining the relevant definitions of the above terms or custom terms, the following sections will detail the implementation process of the data collection method provided in this application through several embodiments:
[0098] In this embodiment, based on the logical functions of each network element, the data collection network element can determine the target data collection strategy for the target network element from at least one data collection strategy based on energy information (or, configure at least one data collection strategy in the data collection network element). Alternatively, the energy information network element can determine the target data collection strategy for the target network element from at least one data collection strategy based on energy information (or, configure at least one data collection strategy in the energy information network element). These will be explained below:
[0099] Example 1: The target data collection strategy of the target network element is determined by the data collection network element from at least one data collection strategy based on energy information.
[0100] Before determining the target data collection strategy for a target network element, the data collection network element needs to determine the energy information of the target network element. The data collection network element can determine the energy information of the target network element in two different ways: First, the data collection network element can pre-obtain the energy information of at least one first network element from the energy information network element. Then, when the data collection network element receives a second data collection request from a data consumption network element, it determines the energy information of the target network element from the pre-obtained energy information of at least one first network element based on the target network element information in the second data consumption request. Alternatively, the data collection network element can directly obtain the energy information of the target network element from the energy information network element after receiving the second data collection request from the data consumption network element.
[0101] Understandably, a first network element can be understood as multiple or all data-producing network elements that are communicatively connected to an energy information network element; alternatively, a first network element can be understood as multiple or all data-producing network elements that are coordinated by a data collection network element in data collection and distribution. A first network element can also be understood as any one of at least one first network element.
[0102] The following two different methods for obtaining energy information of target network elements are described below through the following embodiments (1) and (2):
[0103] Example (1): Referring to Figure 2, Figure 2 is a flowchart of a data processing method provided in the embodiment of this application.
[0104] The data collection network element can pre-obtain energy information of at least one first network element from the energy information network element. When the data collection network element receives a second data collection request from the data consumption network element, it then determines the energy information of the target network element from the pre-obtained energy information of at least one first network element based on the target network element information in the second data consumption request. The specific implementation process is as follows:
[0105] Step 201: The data collection network element sends an energy information subscription request to the energy information network element.
[0106] For example, the energy information subscription request includes information from at least one first network element. The energy information subscription request is used to instruct the energy information network element to send energy information from at least one first network element to the data collection network element. The information of the first network element can be understood as information capable of identifying the first network element, or as information capable of distinguishing between different first network elements.
[0107] Optionally, the information of the first network element includes its identifier. For example, the ID of the first network element, or a descriptive label for the first network element. The information of the first network element may also include its address, such as its IP address or Full Qualified Domain Name (FQDN) address. Understandably, the information of the first network element may also include other information that can distinguish it, such as its connection information; specific details are not limited here.
[0108] Optionally, the information of at least one first network element can be represented as a target NFs list, which contains the IDs of at least one first network element. For example, the target NFs list can be a set of network element instance lists, such as "AMF instance IDs," "SMF instance IDs," and "UPF instance IDs." Understandably, the information of at least one first network element can also be other information that can represent a first network element; specific details are not limited here.
[0109] For example, the energy information subscription request may further include first information and / or second information. The first information is used to instruct the energy information network element to send at least one first network element's energy information to the data collection network element at a specified period. The second information is used to instruct the energy information network element to send the first network element's energy information to the data collection network element when the first network element's energy information meets set conditions.
[0110] Optionally, the specified period can be included in the first information of the energy information subscription request. Understandably, the specified period can be defined by the data collection network element. If the specified period is determined by the data collection network element, then it can be included in the energy information subscription request. For example, the specified period can be 1 minute, 4 minutes, or 10 minutes; no specific limitation is made here.
[0111] Optionally, the setting conditions include: the energy consumption difference of the data production network element is greater than a threshold, or the energy-saving status of the data production network element changes. The energy consumption difference can be understood as the difference between the energy consumption generated by the data production network element at different times. For example, the energy consumption difference is the difference between the energy consumption determined by the data production network element at the current time and the energy consumption determined at the last time; or, the energy consumption difference can be the absolute value of this difference. The threshold can be determined by the data collection network element, or it can be determined by the energy information network element itself. If the threshold is determined by the data collection network element, then the threshold can be carried in the energy information subscription request. Understandably, the setting conditions can also include a new energy ratio greater than a set value, where the set value can be customized by the data collection network element, for example, a set value of 20%, which is not specifically limited here.
[0112] Step 202: The energy information network element determines the energy information of at least one first network element based on the energy information subscription request.
[0113] For example, after receiving an energy information subscription request, an energy information network element determines the energy information of at least one first network element based on the information of at least one first network element in the energy information subscription request. The energy information represents the energy consumption of the first network element.
[0114] Optionally, energy information may include any one or more of the following: energy consumption, energy consumption level, proportion of renewable energy, energy saving status, and energy saving strategies. Understandably, energy information may also include other information, but this is not specifically limited here.
[0115] Based on the parameters contained in the energy information, each parameter can characterize the energy consumption of the first grid element. Energy consumption directly represents the specific value of energy consumed by the first grid element, and energy consumption level can represent different energy consumption patterns of the first grid element. For example, a higher energy consumption level indicates that the first grid element consumes more energy per unit of data generated. The renewable energy ratio can characterize the energy consumption of the first grid element using renewable energy sources; for example, a higher renewable energy ratio indicates that the first grid element consumes more renewable energy among all types of energy consumed. Energy-saving status can characterize different energy consumption patterns of the first grid element by whether it is in an energy-saving state; for example, the energy consumption of the first grid element is less when it is in an energy-saving state than when it is not. Energy-saving strategies can characterize the energy consumption of the first grid element by the time it enters an energy-saving state; for example, the energy consumption of the first grid element during the time it enters an energy-saving state is less than the energy consumption of the first grid element during other time periods.
[0116] For example, an energy information network element can connect and communicate with energy equipment via an external interface, and the energy equipment is used to monitor the energy consumption of the data production network element. The energy information network element can obtain the energy consumption of the first network element from the energy equipment connected to the first network element based on information from at least one first network element in the energy information subscription request. Then, the energy information network element calculates and determines the energy information corresponding to the first network element based on its energy consumption.
[0117] For example, the energy information network element is the OAM network element, and the first network element is the AMF network element. Energy devices can be smart meters or energy metering instruments. Smart meters can be installed at the power input of the AMF network element to measure its power consumption and provide real-time energy consumption data to the energy information network element. Alternatively, if the AMF network element is deployed in a data center, a data center energy management system can be used to monitor and manage its energy consumption. A data center energy management system typically includes energy monitoring instruments, data acquisition equipment, and management software, enabling real-time monitoring of the data center's energy consumption. The OAM network element can obtain the specific energy consumption of the AMF network element from the data center energy management system. After obtaining the energy consumption of the AMF network element, the OAM network element can further determine the AMF network element's energy consumption level and the proportion of renewable energy sources.
[0118] Understandably, energy information network elements can also communicate with data production network elements to obtain energy-saving strategies or energy-saving status from the data production network elements, but this is not specifically limited here.
[0119] Step 203: The energy information network element sends at least one energy information of the first network element to the data collection network element.
[0120] For example, an energy information network element sends the energy information of at least one first network element to a data collection network element based on the information of at least one first network element in the energy information subscription request.
[0121] Referring to the relevant introduction regarding energy information subscription requests in step 201, an energy information subscription request may include first information and / or second information. Therefore, after receiving the energy information subscription request and determining the energy information of the first network element, the energy information network element will send the energy information of the first network element to the data collection network element based on the instructions of the first information and / or the second information. Two examples will be provided to illustrate how energy information is sent in different situations:
[0122] 1. In one example, the energy information subscription request includes first information as described in step 201, which instructs the energy information network element to send the energy information of the first network element to the data collection network element at a specified period.
[0123] Sending the energy information of the first network element to the data collection network element according to a specified period can be understood as the energy information network element determining the energy information of the first network element in each specified period and sending it to the data collection network element. Optionally, the specified period can be included in the first information of the energy information subscription request. Optionally, the specified period can be customized by the data collection network element. For example, the specified period can be 1 minute, 4 minutes, or 10 minutes; the specific period is not limited here.
[0124] It should be noted that, based on the initial information, the energy information of the first network element sent by the energy information network element to the data collection network element may differ in different specified periods. For example, if the specified period is 10 minutes, when the energy information network element receives an energy subscription request, it determines the energy information of the first network element and sends it to the data collection network element. This energy information includes "in energy-saving mode, renewable energy ratio is 20%". In the next specified period, the energy information of the first network element in the current specified period is determined again. At this time, the energy information of the first network element changes, and the energy information includes "in energy-saving mode, renewable energy ratio is 30%".
[0125] 2. In another example, the energy information subscription request carries second information as described in step 201, which instructs the energy information network element to return the energy information of the first network element when the energy information of the first network element meets the set conditions.
[0126] Optionally, the energy information network element can determine the energy information of the first network element according to a specified period, and send the energy information of the first network element to the data collection network element when the energy information of the first network element meets the set conditions. Understandably, the determination of energy information can be periodic. For example, energy information is determined once every specified time interval, which can be indicated by the first information, and is not limited here.
[0127] For example, if the condition is that the energy consumption difference of the first network element is greater than a threshold, then after determining the energy consumption value A of the first network element at the current moment, the energy information network element will calculate the energy consumption difference between energy consumption value A and the previously determined energy consumption value B of the first network element. If the energy consumption difference is greater than the threshold at this time, it means that it is necessary to further determine the energy information of the first network element at the current moment or in the current specified period and send it to the data collection network element.
[0128] If the set condition is that the energy-saving status of the first network element changes, then the energy information network element determines that the energy-saving status of the data production network element is energy-saving at the current time or in the current specified period, while the previously determined energy-saving status of the first network element was non-energy-saving. Therefore, it is considered that the energy-saving status of the first network element has changed (i.e., from non-energy-saving to energy-saving) at the current time or in the current specified period, thus satisfying the set condition. This means that the energy information of the first network element has been updated, and it is necessary to further determine the energy information of the first network element at the current time or in the current specified period and send it to the data collection network element.
[0129] Understandably, in the above example, "current moment" can refer to the moment when the energy information network element currently receives the energy information subscription request, and "last time" can refer to the moment when the energy information network element last received the energy information subscription request or the moment when it last sent the energy information of the first network element to the data collection network element. The specific meaning is not limited here.
[0130] Understandably, detailed information about energy information and setting conditions can be found in the detailed descriptions in steps 201 and 202 above, and will not be repeated here.
[0131] Step 204: The data consumption network element sends a second data collection request to the data collection network element.
[0132] For example, when a data consuming network element needs to collect data from a target network element, it can send a second data collection request to the data collecting network element.
[0133] Optionally, the second data collection request may include information about the target network element. The target network element information may be a list of network element instances, such as "AMF instance IDs, SMF instance IDs". The aforementioned at least one first network element includes the target network element. The target network element may be one or more data-producing network elements from at least one first network element, or it may be all data-producing network elements from at least one first network element.
[0134] Optionally, the second data collection request may include service operation information and data parameters. This service operation information identifies the service operation that enables the data collection network element to obtain or analyze data from the data production network element, allowing the data collection network element to determine the target network element based on this service operation information. For example, the service operation could be a subscription operation for the AMF network element event exposure service (Namf_EventExposure_Subscrib), allowing network function service users to subscribe to notifications about events such as the location information and mobility status of terminal devices. Alternatively, the service operation could be a subscription operation for the NWDAF network element analysis subscription service (Nnwdaf_AnalyticsSubscription_Subscribe), allowing network function service users to subscribe to notifications about analytical information such as network performance, slice load levels, service experience, and user data congestion.
[0135] Data parameters refer to the parameters that a data consuming network element needs to configure when specifying the aforementioned service operation. They are used to identify the data types and scope of data that the data consuming network element needs to collect. Optionally, data parameters may include analytics IDs, which are used to identify the types of analytics results that NWDAF can provide. For example, analytics ID = "Service Experience" indicates a service experience analytics result, and analytics ID = "UE Mobility" indicates a UE mobility analytics result.
[0136] Optionally, the data parameters may also include event IDs supported by the network. These event IDs identify the types of events that the network element supports reporting. For example, AMF network elements support location reports, user equipment reachability status, user state information in 5GS, user equipment access behavior trends, and access type. Another example is SMF network elements supporting PDU session establishment and quality of service monitoring. Alternatively, UPF network elements may support user data usage measures or user data usage trends.
[0137] Understandably, data parameters can also include targets for analytics reporting, targets for event reporting, analytics filters, event filters, etc., without specific limitations here. The analytics reporting target indicates the target corresponding to the analytics information; it can indicate a specific UE, a group of UEs, or any UE. The event reporting target indicates the target corresponding to the event information; it can indicate a specific UE, a group of UEs, or any UE. Analytics filters indicate the conditions that the analytics information must meet, or the corresponding scope of the analytics information. For example, an analytics filter including an area of interest (AoI) indicates that the analytics results are obtained within the AoI. Another example is an analytics filter including single network slice selection assistance information (S-NSSAI), indicating that the analytics results are obtained within a specific slice indicated by the S-NSSAI. Event filters are used to indicate the conditions that event information must meet, or the corresponding range of event information. For example, if an event filter includes AoI, it means that event information within AoI is obtained. Another example is that if an event filter includes S-NSSAI, it means that event information within a specific slice indicated by S-NSSAI is obtained.
[0138] Understandably, the relevant information about the target network element can be found in the detailed description of the first network element in step 201, and will not be repeated here.
[0139] Step 205: The data collection network element determines the energy information of the target network element from the energy information of at least one first network element based on the second data collection request from the data consumption network element.
[0140] For example, before the data collection network element receives the second data collection request from the data consumption network element, the data collection network element has already obtained energy information from at least one first network element of the energy information network element.
[0141] Optionally, after the data collection network element receives the second data collection request, it can determine the energy information of the target network element from the energy information of at least one first network element based on the information of the target network element in the second data collection request (e.g., the ID of the target network element), so as to determine the target data collection strategy of the target network element in subsequent steps.
[0142] Optionally, the data collection network element can determine the target network element from at least one first network element based on the service operation information and data parameters in the second data collection request, and then determine the energy information of the target network element.
[0143] It should be noted that after receiving energy information from at least one first network element, the data collection network element can store it in its local storage or upload it to its cloud server. When the data collection network element receives a second data collection request from a data consumption network element, it then determines the energy information of the target network element from the energy information of at least one first network element stored in its local storage or cloud server.
[0144] Understandably, detailed information about the energy information of the target network element can be found in the relevant introduction to the energy information of the first network element in step 201 or step 202, and will not be repeated here.
[0145] Step 206: Based on the energy information of the identified target network element, the data collection network element determines the target data collection strategy of the target network element from at least one data collection strategy.
[0146] For example, a data collection network element is configured with at least one data collection strategy, and each data collection strategy corresponds to at least one energy condition. After acquiring the energy information of the target network element, the data collection network element matches the target network element's energy information with the at least one energy condition. If the energy information satisfies a first energy condition among the at least one energy condition, the data collection strategy corresponding to that first energy condition is determined as the target data collection strategy for the target network element.
[0147] Optionally, when configuring at least one data collection strategy for a data collection network element, the configuration can be based on network element granularity. That is, for each first network element, at least one data collection strategy corresponding to the first network element is configured, along with a correspondence between the at least one data collection strategy and at least one energy condition. When a data collection network element determines the data collection strategy for a target network element based on its energy information, it first queries the at least one data collection strategy corresponding to the target network element. Then, from the at least one data collection strategy corresponding to the target network element, it determines the data collection strategy corresponding to the first energy condition that the energy information of the target network element can satisfy as the target data collection strategy.
[0148] Optionally, when configuring at least one data collection strategy, the data collection network element can configure it at the granularity of the data collection strategy. That is, it configures at least one data collection strategy and the correspondence between the at least one data collection strategy and at least one energy condition. This configuration is applicable to all first network elements. When the data collection network element determines the target data collection strategy based on the energy information of the target network element, it directly selects the data collection strategy corresponding to the first energy condition that the energy information of the target network element can satisfy from the at least one data collection strategy as the target data collection strategy.
[0149] Optionally, the correspondence between at least one data collection strategy and at least one energy condition can be a one-to-one correspondence, or one data collection strategy can correspond to multiple energy conditions, or one energy condition can correspond to multiple data collection strategies. Understandably, detailed explanations of data collection strategies, energy conditions, and their correspondences can be found in the foregoing explanations of terms or custom terms, and will not be repeated here.
[0150] Referring to Table 1 above, which illustrates one form of the correspondence between energy conditions and data collection strategies, for example, when the data collection request from a data collection network element contains the data type "location" and the target network element's identifier is the AMF instance IDs of an AMF network element, the data collection network element determines the energy information corresponding to the AMF instance IDs from the energy information of at least the first network element. This energy information includes the following parameters: energy consumption level, renewable energy ratio, energy-saving status, and the time to enter the energy-saving status. Specifically, the AMF network element's energy consumption level is level 1, the renewable energy ratio is 20%, the energy-saving status is not in energy-saving status, and the expected time to enter the energy-saving status is 9:00 pm - 10:00 pm. Based on this energy information, the correspondence in Table 1 is queried, and it is determined that this energy information meets energy condition 1. Therefore, the data collection strategy corresponding to energy condition 1 is determined as the target data collection strategy for the AMF network element. That is, when the AMF network element collects data based on the target data collection strategy, the data collection time is the time excluding 9:00pm-10:00pm, the data collection ratio is 80%, and the reporting cycle is set to 4 minutes.
[0151] For example, when the second data collection request from a data collection network element contains a data type of "location" and the target network element's identifier is the AMF instance IDs of the AMF network element, the data collection network element determines the energy information corresponding to the AMF instance IDs from the energy information of at least the first network element. This energy information includes the following parameters: energy consumption level, energy-saving status, and the time of entering the energy-saving status. Specifically, the energy consumption level of the AMF instance IDs is level 5, the energy-saving status is currently in energy-saving mode, and the expected time of entering the energy-saving status is the present. Based on this energy information, the corresponding relationship shown in Table 1 is queried, and it is determined that this energy information meets energy condition 3. Therefore, the data collection strategy corresponding to energy condition 3 is determined as the target data collection strategy for the AMF network element, namely, "Data type 1: data volume, data collection not supported; Data type 2: location, data collection supported, data collection ratio: 10%, reporting cycle: 10 minutes". Since the second data collection request contains a data type of "location", the AMF network element supports data collection of this data type, and the data collection ratio is 10%, with the reporting cycle set to 10 minutes.
[0152] Understandably, the configuration of data collection strategies, energy conditions, and their corresponding relationships can be customized by the operator of the data collection network element, and is not limited here. The above examples are merely illustrative and are not limited to the form and content shown in Table 1.
[0153] Step 207: The data collection network element sends a first data collection request to the target network element. The first data collection request includes the target data collection strategy.
[0154] For example, after determining the target data collection strategy, the data collection network element sends a first data collection request to the target network element. The first data collection request includes the target data collection strategy. Optionally, the first data collection request may also include information about the target network element.
[0155] Optionally, the first data collection request may also include the data type of the target data. The data type is determined by the data consuming network element.
[0156] Optionally, the first data collection request may further include information about the target data consuming network element. This information may include the address of the target data consuming network element. This allows the target network element to report target data directly to the target data consuming network element based on this information. For example, the first data collection request may include the IP address or FQDN address of the target data consuming network element. The target data consuming network element can be the one that sent the second data collection request in step 201.
[0157] Optionally, the data collection network element may carry the target data collection strategy in a first data collection request and send the first data collection request to the target network element. Alternatively, the data collection network element may send the target data collection strategy and the first data collection request to the target network element separately.
[0158] Step 208: The target network element collects target data based on the target data collection strategy.
[0159] For example, when a target network element receives a target data collection strategy, it can collect target data according to the strategy and then return the data to the data collection network element. Here, the target network element can be understood as the data-producing network element corresponding to the information about the target network element included in the first data collection request. For instance, if the information about the target network element is the address of an AMF network element, then the data-producing network element corresponding to that information is the AMF network element.
[0160] For example, if the target data collection strategy is "data collection time is excluding 9:00pm-10:00pm, the data collection ratio is 80%, and the reporting cycle is set to 4 minutes", then the data production network element will collect data from the terminal devices at the 80% collection ratio during the time outside of 9:00pm-10:00pm (if the data collection request carries a data type, then the target data to be collected at this time needs to be data of that data type), and after the collection is completed, it will report to the data collection network element in the current reporting cycle; then, in the next reporting cycle (i.e. after 4 minutes), it will continue to collect data and report, and so on.
[0161] Step 209: The target network element sends the target data to the data consumption network element.
[0162] Optionally, since the role of the data collection network element is to coordinate the transmission and reception of information and data between the data consumption network element, the data production network element, and the energy information network element during the data collection process, the data production network element can first send the target data to the data collection network element. Then, the data production network element can send the target data to the data consumption network element.
[0163] Optionally, the data production network element may also report the target data directly to the target data consumption network element based on the information of the target data consumption network element in the first data collection request.
[0164] Understandably, step 204 is optional. The data collection network element itself can also be a data consumption network element. That is, step 204 is not required; the data collection network element can directly determine the energy information of the target network element from the energy information of at least one first network element based on its own data collection needs. Furthermore, in step 209, the target network element sending the target data to the data consumption network element can be understood as the target network element directly sending the target data to the data collection network element. For example, if the data collection network element is an NWDAF, and the NWDAF triggers data collection to perform data analysis, in this case, the NWDAF simultaneously acts as both a data consumption network element and a data collection network element to perform the above steps, and step 204 is not required. Simultaneously, in step 209, the target network element can directly send the target data to the data collection network element.
[0165] The above embodiment (1) describes a data collection network element that pre-acquires energy information of at least one first network element. Upon receiving a second data collection request (carrying information about the target network element) from a data consumption network element, it determines the energy information of the target network element from the energy information of the at least one first network element based on the target network element's information. Then, it determines the target data collection strategy for the target network element based on the energy information. Since the data collection network element has pre-acquired the energy information of at least one first network element before receiving the second data collection request, it does not need to wait for the energy information network element to return the target network element's energy information when determining the target network element's energy information.
[0166] In addition, after receiving a second data collection request sent by a data consumption network element, the data collection network element can request the energy information of the target network element from the energy information network element based on the second data collection request (which carries the information of the target network element). Then, based on the energy information of the target network element returned by the energy information network element, the target data collection strategy is determined. The specific process is as shown in Example (2):
[0167] Example (2): Referring to Figure 3, Figure 3 is another flowchart of the data processing method provided in the embodiment of this application.
[0168] Step 301: The data consumption network element sends a second data collection request to the data collection network element.
[0169] Optionally, the second data collection request may include information about the target network element.
[0170] Optionally, the second data collection request may include service operation information and data parameters, so that the data collection network element can determine the target network element based on the service operation information and data parameters.
[0171] For example, when a data consuming network element needs to use data from a target network element, it sends a second data collection request to the data collecting network element, carrying information about the target network element in the second data collection request. Optionally, the information about the target network element can be its identifier or address. For example, the information about the target network element can be a list of instance identifiers.
[0172] Understandably, the information of the target network element can also be other information that can identify the target network element. For information about the target network element, service operation information and data parameters, please refer to the relevant introduction in step 201 of embodiment (1), and for information about the second data collection request, please refer to the detailed description in step 204 of embodiment (1). The specific details will not be repeated here.
[0173] Step 302: After receiving the second data collection request, the data collection network element sends an energy information subscription request to the energy information network element.
[0174] For example, after receiving the second data collection request, the data collection network element can send an energy information subscription request to the energy information network element based on the target network element information carried in the first data collection request. The energy information subscription request also includes the target network element information.
[0175] In other words, unlike embodiment (1), in this embodiment, the energy information subscription request sent by the data collection network element is triggered by the first data collection request. In embodiment (1), the energy information subscription request is sent autonomously by the data collection network element before receiving the first data collection request.
[0176] Optionally, the energy information subscription request may include first information and / or second information. The first information is used to instruct the energy information network element to send its energy information at a specified period. The second information is used to instruct the energy information network element to send the first network element's energy information when the first network element's energy information meets the set update conditions.
[0177] Understandably, for details regarding energy information subscription requests, please refer to the detailed description of step 201 in embodiment (1), which will not be repeated here.
[0178] Step 303: After receiving the energy information subscription request, the energy information network element determines the energy information of the target network element.
[0179] Upon receiving an energy information subscription request, the energy information network element determines the target network element's energy information based on the target network element's information in the subscription request. This energy information characterizes the target network element's energy consumption. Optionally, the energy information may include any one or more of the following: energy consumption, energy consumption level, proportion of renewable energy, energy-saving status, and energy-saving strategies. Understandably, energy information can also be other types of information; specific details are not limited here.
[0180] Understandably, for information on how energy information network elements determine the energy information of target network elements, please refer to the detailed description of how energy information network elements determine the energy information of the first network element in step 202 of embodiment (1), which will not be repeated here.
[0181] Step 304: The energy information network element sends the energy information of the target network element to the data collection network element.
[0182] Optionally, the energy information network element sends the target network element's energy information to the data collection network element based on the first and / or second information in the energy information subscription request.
[0183] In one example, if the energy information subscription request includes first information, then the energy information network element sends the target network element's energy information to the data collection network element according to a specified period.
[0184] In another example, if the energy information subscription request includes a second piece of information, then the energy information network element sends the target network element's energy information to the data collection network element when the target network element's energy information meets the set conditions.
[0185] Understandably, the specific implementation process of step 304 can be referred to the detailed implementation process of step 203 in embodiment (1), in which the energy information network element sends at least one first network element's energy information to the data collection network element based on the energy information subscription request, and will not be repeated here.
[0186] Step 305: Based on the energy information of the target network element, the data collection network element determines the target data collection strategy of the target network element from at least one data collection strategy.
[0187] For example, the data collection network element is configured with at least one data collection strategy. Furthermore, the at least one data collection strategy corresponds to at least one energy condition. When the data collection network element receives energy information of the target network element from the energy information network element, it can match the target network element's energy information with at least one energy condition based on the target network element's energy information. If the target network element's energy information satisfies a first energy condition among the at least one energy condition, then the data collection strategy corresponding to the first energy condition is determined as the target data collection strategy for the target network element.
[0188] Optionally, when a data collection network element is configured with at least one data collection strategy, the configuration can be based on the network element granularity. Alternatively, when a data collection network element is configured with at least one data collection strategy, the configuration can be based on the data collection strategy granularity.
[0189] Understandably, the data collection strategy and the correspondence between the data collection strategy and energy conditions can be found in the detailed description in step 206 of embodiment (1), and will not be repeated here.
[0190] Step 306: The data collection network element sends a first data collection request to the target network element. The first data collection request includes the target data collection strategy.
[0191] Optionally, the target data collection strategy can be carried in the first data collection request, or it can be sent separately to the data production network element independent of the first data collection request.
[0192] Optionally, the first data collection request may also include a data type. The data type can be understood as the data type of the target data collected by the data-producing network element when it collects data based on the target data collection strategy.
[0193] Step 307: The target network element collects target data based on the target data collection strategy.
[0194] Step 308: The target network element sends the target data to the data consuming network element.
[0195] Understandably, the specific implementation process of steps 306 to 308 can be referred to the detailed description of steps 207 to 209 in embodiment (1), and will not be repeated here.
[0196] Understandably, step 301 is optional. The data collection network element itself can also be a data consumption network element. That is, step 301 is not required; the data collection network element can directly send an energy information subscription request to the energy information network element according to its own data collection needs. Furthermore, in step 308, the target network element sending the target data to the data consumption network element can be understood as the target network element directly sending the target data to the data collection network element.
[0197] The preceding section described how a data collection network element determines the data collection strategy for a target network element from at least one data collection strategy. In other words, since the data collection network element is configured with at least one data collection strategy, it first needs to request the energy information of the target network element from the energy information network element.
[0198] In addition, the energy information network element can determine the target data collection strategy of the target network element from at least one data collection strategy configured within the energy information network element. That is, the energy information network element does not need to send energy information to the data collection network element. The energy information network element can directly determine the energy information of the target network element based on its information, and thus determine the target data collection strategy for the target network element. The implementation process is illustrated below using Example 2:
[0199] Example 2: The energy information network element determines the data collection strategy of the target network element from at least one data collection strategy.
[0200] The energy information network element is configured with at least one data collection strategy. Upon receiving a first request, the energy information network element determines the energy information of the target network element based on the first request, and then determines the target network element's data collection strategy based on the target network element's energy information. The first request instructs the energy information network element to return the target network element's data collection strategy.
[0201] Optionally, the first request may originate from a data collection network element or from one or more data production network elements (i.e., target network elements). If the first request originates from a data collection network element, it includes information and / or data type of at least one target network element. If the first request originates from a data production network element, it includes information about that data production network element. These are explained below:
[0202] (1) The first request comes from the data collection network element:
[0203] In one possible implementation, after receiving a second data collection request from a data consuming network element, the data collection network element sends a first request to the energy information network element. The second data collection request includes information about the target network element and / or the data type of the target data. The first request includes information about at least one target network element and / or the data type of the target data.
[0204] Based on this, after receiving a second data collection request from a data consuming network element, the data collection network element can directly send a first request to the energy information network element to obtain the data collection strategy of the target network element. Alternatively, the data collection network element can pre-obtain the data collection strategy of at least one first network element, and then, upon receiving a second data collection request from a data consuming network element, determine the data collection strategy of the target network element from the data collection strategies of the at least one first network element. These will be explained in detail below:
[0205] 1. After receiving the second data collection request sent by the data consumption network element, the data collection network element obtains the data collection strategy of the target network element from the energy information network element.
[0206] Referring to Figure 4, Figure 4 is another schematic flowchart of the data collection method provided in the embodiments of this application.
[0207] Step 401: The data consumption network element sends a second data collection request to the data collection network element.
[0208] Optionally, the second data collection request may include information about the target network element.
[0209] Optionally, the second data collection request may include service operation information and data parameters, so that the data collection network element can determine the target network element based on the service operation information and data parameters.
[0210] For example, when a data consuming network element needs to collect data from a target network element, it can send a second data collection request to the data collecting network element. The second data collection request contains information about the target network element.
[0211] Optionally, the second data collection request may also include the data type of the target data required by the data consuming network element.
[0212] Understandably, information about the target network element, service operation information and data parameters can be found in the relevant description in step 201 of embodiment (1), and information about the second data collection request can be found in the detailed description of step 204 of embodiment (1) in embodiment one, which will not be repeated here.
[0213] Step 402: After receiving the second data collection request, the data collection network element sends the first request to the energy information network element.
[0214] For example, the second data collection request is used to instruct the energy information network element to send the target data collection strategy of the target network element. Optionally, the second data collection request includes information about the target network element and / or the data type of the target data.
[0215] Optionally, the first request includes information about the target network element and / or the data type of the target data.
[0216] Optionally, the first request may further include first information and / or second information, wherein the first information is used to instruct the energy information network element to return the target data collection strategy of the target network element according to a specified period. The second information is used to instruct the energy information network element to return the target data collection strategy of the target network element when the energy information of the target network element meets the set conditions.
[0217] Optionally, the specified period can be included in the first information of the first request. The specified period can be defined by the data collection network element.
[0218] Optionally, the set conditions include: the energy consumption difference of the data production network element is greater than a threshold, or the energy-saving status of the data production network element changes. The threshold can be customized by the data collection network element and can be included in the first information of the first request.
[0219] Understandably, the first request is similar to the energy information subscription request in embodiment (1) of embodiment one. For a detailed description of the energy information subscription request, please refer to step 201 of embodiment (1) of embodiment one, which will not be repeated here.
[0220] Step 403: Based on the first request, the energy information network element determines the energy information of the target network element;
[0221] For example, after receiving the first request, the energy information network element determines the energy information of the target network element based on the information of the target network element in the first request.
[0222] Optionally, energy information may include any one or more of the following: energy consumption, energy consumption level, proportion of renewable energy, energy saving status, and energy saving strategies. Understandably, energy information may also include other information, which is not specifically limited here.
[0223] Understandably, for information on energy information, please refer to the detailed description of step 202 in Example (1) of Example 1. For the implementation process of determining the energy information of the target network element, please refer to the detailed description of the energy information network element determining the energy information of the first network element in step 202 of Example (1) of Example 1. It will not be repeated here.
[0224] Step 404: Based on the energy information of the determined target network element, the energy information network element determines the target data collection strategy of the target network element from at least one data collection strategy.
[0225] For example, an energy information network element is configured with at least one data collection strategy. Furthermore, each data collection strategy corresponds to at least one energy condition. When the energy information network element determines the energy information of a target network element, it matches the target network element's energy information with the at least one energy condition. If the target network element's energy information satisfies a first energy condition among the at least one energy condition, then the data collection strategy corresponding to the first energy condition is determined as the target data collection strategy for the target network element.
[0226] Optionally, when configuring at least one data collection strategy for an energy information network element, the configuration can be based on the network element granularity. Alternatively, when configuring at least one data collection strategy for an energy information network element, the configuration can be based on the data collection strategy granularity.
[0227] Understandably, the configuration of at least one data collection strategy and the correspondence between the data collection strategy and energy conditions can be found in the detailed description of step 206 in embodiment (1) of embodiment one, and will not be repeated here.
[0228] Step 405: The energy information network element sends the target data collection strategy to the data collection network element.
[0229] Optionally, the energy information network element sends the target data collection strategy of the target network element to the data collection network element based on the first information and / or the second information in the first request.
[0230] Optionally, when an energy information network element sends a target data collection strategy to a data collection network element, the target data collection strategy may be carried in a first message, which may also include information about the target network element and / or the data type of the target data.
[0231] In one example, the first request includes first information. Then, the energy information network element sends the target data collection strategy of the target network element to the data collection network element according to the specified period.
[0232] In another example, the first request includes the second information. Then, when the energy information of the target network element meets the set conditions, the energy information network element sends the target data collection strategy of the target network element to the data collection network element.
[0233] Understandably, the specific implementation process of step 405 can be referred to the detailed implementation process of step 203 in embodiment (1), in which the energy information network element sends at least one energy information of the first network element to the data collection network element based on the energy information subscription request, and will not be repeated here.
[0234] Step 406: After receiving the target data collection strategy, the data collection network element sends a first data collection request to the target network element. The first data collection request includes the target data collection strategy.
[0235] Optionally, the data collection network element may carry the target data collection strategy in a first data collection request and send the first data collection request to the target network element. Alternatively, the data collection network element may send the target data collection strategy and the first data collection request to the target network element separately.
[0236] Optionally, the first data collection request may also include a data type. The data type can be understood as the data type of the target data collected by the data-producing network element when it collects data based on the target data collection strategy.
[0237] Step 407: The target network element collects target data based on the target data collection strategy.
[0238] Step 408: The target network element sends the target data to the data consuming network element.
[0239] Understandably, the specific implementation process of steps 406 to 408 can be referred to the detailed description of steps 207 to 209 in embodiment (1), and will not be repeated here.
[0240] Understandably, step 401 is optional. The data collection network element itself can also be a data consumption network element. That is, step 401 is not required; the data collection network element can directly send an energy information subscription request to the energy information network element according to its own data collection needs. Furthermore, in step 408, the target network element sending the target data to the data consumption network element can be understood as the target network element directly sending the target data to the data collection network element.
[0241] 2. The data collection network element pre-obtains the data collection strategy of at least one first network element, and after receiving the second data collection request sent by the data consumption network element, determines the data collection strategy of the target network element from the data collection strategies of at least one first network element.
[0242] Referring to Figure 5, Figure 5 is another schematic flowchart of the data collection method provided in the embodiments of this application.
[0243] Step 501: The data collection network element sends a first request to the energy information network element. The first request includes information from at least one first network element.
[0244] Optionally, the information of the first network element may include the identifier of the first network element, or the address of the first network element.
[0245] Optionally, the first request may include first information and / or second information. The first information is used to instruct the energy information network element to return the data collection strategy of at least one first network element according to a specified period. The second information is used to instruct the energy information network element to return the data collection strategy of the first network element when the energy information of the first network element meets the set conditions.
[0246] Understandably, information about at least the first network element, the first network element, and the first request can be found in the detailed description of step 201 of embodiment (1), which will not be repeated here.
[0247] Step 502: After receiving the first request, the energy information network element determines the energy information of at least one first network element based on the information of at least one first network element in the first request.
[0248] Understandably, the specific implementation process of step 502 can be referred to the detailed description of step 202 in embodiment (1) of embodiment one, and will not be repeated here.
[0249] Step 503: The energy information network element determines the data collection strategy of at least one first network element based on the energy information of at least one first network element.
[0250] Understandably, the specific implementation process of step 503 can be referred to the detailed description of step 206 in embodiment (1) of embodiment one, and will not be repeated here.
[0251] Step 504: The energy information network element sends at least one data collection strategy of the first network element to the data collection network element.
[0252] Step 505: The data consumption network element sends a second data collection request to the data collection network element.
[0253] Optionally, the second data collection request includes information about the target network element. Wherein, at least one of the aforementioned first network elements includes the target network element.
[0254] Optionally, the second data collection request may include service operation information and data parameters, so that the data collection network element can determine the target network element based on the service operation information and data parameters.
[0255] Optionally, the second data collection request may also include the data type of the target data.
[0256] Understandably, information about the target network element, service operation information and data parameters can be found in the relevant description in step 201 of embodiment (1), and information about the second data collection request can be found in the detailed description in step 204 of embodiment (1). The specific details will not be repeated here.
[0257] Step 506: Based on the information of the target network element in the second data collection request, the data collection network element determines the target data collection strategy of the target network element from the data collection strategies of at least one first network element.
[0258] For example, the data collection network element has already pre-acquired the data collection strategy of at least one first network element. When a second data collection request is received, the target data collection strategy of the target network element can be determined based on the information of the target network element.
[0259] It should be noted that after receiving energy information from at least one first network element, the data collection network element can store it in its local storage or upload it to its cloud server. When the data collection network element receives a second data collection request from a data consumption network element, it then determines the energy information of the target network element from the energy information of at least one first network element stored in its local storage or cloud server.
[0260] Step 507: The data collection network element sends a first data collection request to the target network element. The first data collection request includes the target data collection strategy.
[0261] Optionally, the data collection network element may carry the target data collection strategy in a first data collection request and send the first data collection request to the target network element. Alternatively, the data collection network element may send the target data collection strategy and the first data collection request to the target network element separately.
[0262] Optionally, the second data collection request may also include a data type. The data type can be understood as the data type of the target data collected when the data-producing network element collects data based on the target data collection strategy.
[0263] Step 508: The target network element collects target data based on the target data collection strategy.
[0264] Step 509: The target network element sends the target data to the data consuming network element.
[0265] Understandably, the specific implementation process of steps 507 to 509 can be referred to the detailed description of steps 207 to 209 in embodiment (1), and will not be repeated here.
[0266] Understandably, step 505 is optional. The data collection network element itself can also be a data consumption network element, meaning that step 505 is not required. The data collection network element can determine the target data collection strategy from the data collection strategies of at least one first network element based on its own data collection needs. Furthermore, in step 509, the target network element sending the target data to the data consumption network element can be understood as the target network element directly sending the target data to the data collection network element.
[0267] The foregoing implementation method describes the process when a data collection network element sends a first request to an energy information network element. The following describes the implementation process when a data production network element sends a first request to an energy information network element:
[0268] (2) The first request comes from the data production network element:
[0269] In one possible implementation, after receiving a second data collection request from a data consuming network element, the data collection network element sends a first data collection request to each target network element based on the target network element information in the second data collection request, instructing the data producing network element to collect data based on the target data collection strategy. Upon receiving the first data collection request, the data producing network element (i.e., the target network element) sends a first request to the energy information network element, requesting the energy information network element to send the target data collection strategy corresponding to the data producing network element.
[0270] Referring to Figure 6, Figure 6 is another schematic flowchart of the data collection method provided in the embodiments of this application.
[0271] Step 601: The data consuming network element sends a second data collection request to the data collecting network element. The second data collection request contains information about the target network element.
[0272] For example, when a data consuming network element needs to use data from a target network element, it sends a second data collection request to the data collecting network element.
[0273] Optionally, the second data collection request may include information about the target network element. Optionally, the target network element information may be an identifier or address of the target network element. For example, the target network element information may be a list of identifiers.
[0274] Optionally, the second data collection request may include service operation information and data parameters, so that the data collection network element can determine the target network element based on the service operation information and data parameters.
[0275] Understandably, the information of the target network element can also be other information that can identify the target network element. For information about the target network element, service operation information and data parameters, please refer to the relevant introduction of information about at least one first network element in step 201 of embodiment (1), and for relevant introduction of the second data collection request, please refer to the detailed description in step 204 of embodiment (1), which will not be repeated here.
[0276] Step 602: After receiving the second data collection request, the data collection network element sends the first data collection request to the data production network element.
[0277] Optionally, the first data collection request includes first information, which instructs the data production network element to collect target data based on the target data collection strategy corresponding to the data production network element.
[0278] Optionally, the first data collection request may also include the data type of the target data.
[0279] Step 603: After receiving the first data collection request from the data collection network element, the data production network element sends the first request to the energy information network element.
[0280] For example, the first request is used to request the energy information network element to send the target data collection strategy of the data production network element, and the target data collection strategy is determined based on the energy information of the data production network element. In order to collect data using the target data collection strategy determined based on the energy information of the data production network element, the data production network element needs to send the first request to the energy information network element to obtain the target data collection strategy.
[0281] Optionally, the first request may include first information and / or second information. The first information is used to instruct the energy information network element to send the target data collection strategy of the data production network element according to a specified period. The second information is used to instruct the energy information network element to send the target data collection strategy of the data production network element when the energy information of the data production network element meets the set conditions.
[0282] Optionally, the first request may also include the data type of the target data.
[0283] Understandably, the first request is similar to the energy information subscription request in embodiment (1) of embodiment one. For a detailed description of the energy information subscription request, please refer to step 201 of embodiment (1) of embodiment one, which will not be repeated here.
[0284] Step 604: Based on the first request, the energy information network element determines the energy information of the data production network element.
[0285] For example, after receiving the first request, the energy information network element determines the energy information of the data production network element.
[0286] Optionally, energy information may include any one or more of the following: energy consumption, energy consumption level, proportion of renewable energy, energy saving status, and energy saving strategies. Understandably, energy information may also include other information, which is not specifically limited here.
[0287] Understandably, for information on energy information, please refer to the detailed description of step 202 in Example (1) of Example 1. For the implementation process of determining the energy information of the data production network element, please refer to the detailed description of the energy information network element determining the energy information of the first network element in step 202 of Example (1) of Example 1. It will not be repeated here.
[0288] Step 605: Based on the energy information of the determined data production network element, the energy information network element determines the target data collection strategy of the data production network element from at least one data collection strategy.
[0289] For example, an energy information network element is configured with at least one data collection strategy. Furthermore, each data collection strategy corresponds to at least one energy condition. After the energy information network element determines the energy information of the data production network element, it can match the energy information of the data production network element with at least one energy condition. If the energy information of the data production network element satisfies a first energy condition among the at least one energy condition, then the data collection strategy corresponding to the first energy condition is determined as the target data collection strategy for the data production network element.
[0290] Optionally, when configuring at least one data collection strategy for an energy information network element, the configuration can be based on the network element granularity. Alternatively, when configuring at least one data collection strategy for an energy information network element, the configuration can be based on the data collection strategy granularity.
[0291] Understandably, the configuration of at least one data collection strategy and the correspondence between the data collection strategy and energy conditions can be found in the detailed description of step 206 in embodiment (1) of embodiment one, and will not be repeated here.
[0292] Step 606: The energy information network element sends the target data collection strategy to the data production network element.
[0293] Optionally, the energy information network element sends the target data collection strategy to the data production network element based on the first information and / or the second information in the first request.
[0294] Optionally, when the energy information network element sends the target data collection strategy to the data collection network element, the target data collection strategy can be carried in the first message, and the first message can also include the data type of the target data.
[0295] In one example, the first request includes the first information, then the energy information network element sends the target data collection strategy to the data production network element according to the specified cycle.
[0296] In another example, if the first request includes the second information, then the energy information network element sends the target data collection strategy to the data production network element when the energy information of the data production network element meets the set conditions.
[0297] Understandably, the specific implementation process of step 606 can be referred to the detailed implementation process of step 203 in embodiment (1), in which the energy information network element sends at least one first network element's energy information to the data collection network element based on the energy information subscription request, and will not be repeated here.
[0298] Step 607: After receiving the target data collection strategy, the data production network element performs target data collection.
[0299] Step 608: The data production network element sends the target data to the data consumption network element.
[0300] Understandably, the specific implementation process of steps 606 to 608 can be referred to the detailed description of steps 207 to 209 in embodiment (1) of embodiment one, and will not be repeated here.
[0301] Understandably, step 601 is optional. The data collection network element itself can also be a data consumption network element, meaning that step 601 is not required. The data collection network element can directly send the first data collection request to the data production network element according to its own data collection needs. Furthermore, in step 608, the data production network element sending the target data to the data consumption network element can be understood as the data production network element directly sending the target data to the data collection network element.
[0302] It should be noted that when a data consuming network element sends a request to cancel data collection to a data collecting network element, the data collecting network element will then forward this request to a data producing network element. This cancellation request includes information about the data producing network element and the data type of the target data. The data producing network element then sends a second request to the energy information network element, instructing it to stop sending the target data collection strategy from the data producing network element. In other words, the energy information network element will no longer send data collection strategies to the data producing network element until it receives the first request again.
[0303] Corresponding to the solutions given in the preceding method embodiments, this application provides corresponding communication devices. This application provides a communication device comprising units or modules for executing the methods described in any of the embodiments depicted in Figures 2 to 6. The modules or units may be software, hardware, or a combination of software and hardware. The following is only a brief description of the communication device and communication system; for details of the implementation, please refer to the descriptions of the foregoing method embodiments, which will not be repeated below.
[0304] As shown in Figure 7, Figure 7 is a structural schematic diagram of a communication device provided in an embodiment of this application. This communication device can be used to implement the function of the data collection network element in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments.
[0305] The communication device 700 shown in Figure 7 includes a processing unit 701 and a transceiver unit 702.
[0306] When the communication device 700 is used to implement the function of the data collection network element in the embodiments of Figure 2 or Figure 3 above:
[0307] The transceiver unit 702 is used to acquire the energy information of the target network element, and the energy information represents the energy consumption of the target network element.
[0308] The processing unit 701 is used to determine the target data collection strategy of the target network element from at least one data collection strategy based on energy information, wherein the target data collection strategy is matched with the energy information of the target network element.
[0309] The transceiver unit 702 sends a first data collection request to the target network element. The first data collection request includes a target data collection strategy. The first data collection request is used to instruct the target network element to return target data. The target data is determined based on the target data collection strategy.
[0310] When the communication device 700 is used to implement the function of the data collection network element in the embodiments of Figure 4 or Figure 5 above:
[0311] The transceiver unit 702 is used to acquire the target data collection strategy of the target network element. The target data collection strategy is determined from at least one data collection strategy based on the energy information of the target network element. The energy information of the target network element represents the energy consumption of the target network element. The target data collection strategy is matched with the energy information of the target network element.
[0312] The transceiver unit 702 is used to send a first data collection request to the target network element. The first data collection request includes a target data collection strategy. The first data collection request is used to instruct the target network element to collect and return target data. The target data is determined based on the target data collection strategy.
[0313] As shown in Figure 8, Figure 8 is another structural schematic diagram of the communication device provided in an embodiment of this application. This communication device can be used to implement the functions of the energy information network element in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments.
[0314] When the communication device 800 is used to implement the function of the energy information network element in the embodiments of Figure 2 or Figure 3 above:
[0315] The transceiver unit 802 is used to receive energy information subscription requests from data collection network elements, and the energy information subscription requests include information about the target network element.
[0316] The processing unit 801 is used to determine the energy information of the target network element based on the information of the target network element. The energy information of the target network element represents the energy consumption of the target network element.
[0317] The transceiver unit 802 is also used to send the energy information of the target network element to the data collection network element. The energy information is used to determine the data collection strategy of the target network element.
[0318] When the communication device 800 is used to implement the functions of the energy information network element in the embodiments of Figures 4 to 6 above:
[0319] The transceiver unit 802 is used to receive a first request from a first network element, the first request including information from at least one second network element, and the first request is used to obtain the data collection strategy of at least one second network element;
[0320] The processing unit 801 is used to determine the energy information of the second network element based on the information of the second network element. The energy information represents the energy consumption of the second network element.
[0321] The processing unit 801 is also configured to determine the data collection strategy of the second network element from at least one data collection strategy based on the energy information of the second network element, wherein the data collection strategy of the at least one second network element is matched with the energy information of the second network element.
[0322] The transceiver unit 802 is also used to send at least one data collection strategy of the second network element to the first network element.
[0323] As shown in Figure 9, Figure 9 is a structural schematic diagram of a communication device provided in an embodiment of this application. This communication device can be used to implement the function of the data production network element in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments.
[0324] When the communication device 900 is used to implement the function of the data production network element in the embodiment of Figure 6 above:
[0325] The transceiver unit 902 is used to send a first request to the energy information network element. The first request is used to instruct the energy information network element to return a target data collection strategy. The target data collection strategy is determined based on the energy information of the data production network element. The energy information represents the energy consumption of the data production network element. The target data collection strategy is matched with the energy information.
[0326] The transceiver unit 902 is also used to receive the target data collection strategy; the processing unit 901 is used to collect target data based on the target data collection strategy.
[0327] Based on the above description of the communication device in the embodiments of this application, the communication device can also be specifically a communication equipment. This application also provides a communication equipment 1000. The communication equipment 1000 is used to implement the functions of the data collection network element, energy information network element, or data production network element in the above method embodiments.
[0328] Please refer to Figure 10, which is a schematic diagram of a communication device provided in an embodiment of this application. The communication device 1000 may include one or more central processing units 1001, memory 1002, input / output interfaces 1003, wired or wireless network interfaces 1004, and power supplies 1005.
[0329] Memory 1002 can be temporary or persistent storage. Furthermore, the central processing unit 1001 can be configured to communicate with memory 1002 and execute a series of instruction operations stored in memory 1002. Memory 1002 may include read-only memory and random access memory, and provides instructions and data to processor 1001. A portion of memory 1002 may also include non-volatile random access memory (NVRAM). Memory 1002 stores processor and operation instructions, executable modules, or data structures, or subsets thereof, or extended sets thereof, wherein the operation instructions may include various operation instructions for implementing various operations.
[0330] The processor 1001 controls the operation of the communication equipment. In specific applications, the various components of the communication equipment are coupled together through a bus system, which may include not only a data bus but also a power bus, a control bus, and a status signal bus. However, for clarity, all buses are referred to as a bus system in the figures. In this embodiment, the central processing unit 1001 can execute the operations performed by the data collection network element, energy information network element, or data production network element in the embodiments shown in Figures 2 to 6, which will not be elaborated here.
[0331] In this embodiment, the specific functional module division in the central processing unit 1001 can be similar to the functional module division of the processing unit 701, transceiver unit 702, processing unit 801, transceiver unit 802, processing unit 901, transceiver unit 902, etc. described in Figures 7 to 9 above, and will not be repeated here.
[0332] The central processing unit 1001 can be an integrated circuit chip with signal processing capabilities. In implementation, each step of the aforementioned method can be completed by the integrated logic circuitry in the hardware of the central processing unit 1001 or by instructions in software form. The central processing unit 1001 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The central processing unit 1001 can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 1002. The central processing unit 1001 reads information from memory 1002 and, in conjunction with its hardware, runs the methods based on the aforementioned embodiments.
[0333] This application also provides a communication system, which includes a first communication device, a second communication device and a third communication device. The first communication device can be the communication device 700 shown in FIG7, the second communication device can be the communication device 800 shown in FIG8, and the third communication device can be the communication device 900 shown in FIG9.
[0334] When the first communication device is the communication device in FIG7 used to implement the function of the data collection network element, the first communication device is used to execute the method executed by the data collection network element in the embodiments shown in FIG2 to FIG6 in the foregoing embodiments.
[0335] When the second communication device is the communication device in FIG8 used to implement the function of the energy information network element, the second communication device is used to execute the method executed by the energy information network element in the embodiments shown in FIG2 to FIG6 in the foregoing embodiments.
[0336] When the second communication device is the communication device in FIG9 used to implement the function of the data production network element, the second communication device is used to execute the method executed by the data production network element in the embodiments shown in FIG2 to FIG6 in the foregoing embodiments.
[0337] Furthermore, this application provides a computer program product comprising one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. For example, the methods of the embodiments shown in Figures 2 to 6 above are implemented. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital versatile disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0338] In addition, this application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the methods as described in the embodiments of Figures 2 to 6 above.
[0339] It should be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0340] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
Claims
1. A data processing method, characterized in that, The method includes: Obtain the energy information of the target network element, wherein the energy information represents the energy consumption of the target network element; Based on the energy information, a target data collection strategy for the target network element is determined from at least one data collection strategy, wherein the target data collection strategy is matched with the energy information of the target network element; A first data collection request is sent to the target network element. The first data collection request includes the target data collection strategy. The first data collection request is used to instruct the target network element to return target data. The target data is determined based on the target data collection strategy.
2. The method according to claim 1, characterized in that, The determination of the target data collection strategy from at least one data collection strategy based on the energy information includes: Acquire at least one data collection strategy and at least one energy condition, wherein each data collection strategy corresponds to each energy condition. When the energy information meets the first energy condition, the target data collection strategy is the data collection strategy that corresponds to the first energy condition among the at least one data collection strategies, and the first energy condition belongs to the at least one energy condition.
3. The method according to claim 1 or 2, characterized in that, Before acquiring the energy information of the target network element, the method further includes: Send an energy information subscription request to an energy information network element, the energy information subscription request including information of at least one first network element, the energy information subscription request being used to instruct the energy information network element to return the energy information of the at least one first network element, the at least one first network element including the target network element; Receive energy information from at least one first network element of the energy information network element.
4. The method according to claim 3, characterized in that, The method further includes: Receive a second data collection request from a data consuming network element, the second data collection request including information about the target network element; The step of obtaining the energy information of the target network element includes: determining the energy information of the target network element from the energy information of the at least one first network element based on the information of the target network element.
5. The method according to claim 3 or 4, characterized in that, The energy information subscription request includes first information and / or second information, wherein the first information is used to instruct the energy information network element to return the energy information of at least one first network element according to a specified period; The second information is used to instruct the energy information network element to return the energy information of the first network element when the energy information of the first network element meets the set conditions.
6. The method according to any one of claims 1 to 5, characterized in that, The energy information includes any one or more of the following: energy consumption value, energy consumption level, energy saving status, energy saving strategy, and proportion of new energy sources.
7. A data processing method, characterized in that, The method includes: Receive an energy information subscription request from a data collection network element, wherein the energy information subscription request includes information about the target network element; The energy information of the target network element is determined based on the information of the target network element, and the energy information of the target network element represents the energy consumption of the target network element. The energy information of the target network element is sent to the data collection network element, and the energy information is used to determine the data collection strategy of the target network element.
8. The method according to claim 7, characterized in that, The energy information includes any one or more of the following: energy consumption value, energy consumption level, energy saving status, energy saving strategy, and proportion of new energy sources.
9. A data processing method, characterized in that, The method includes: Receive a first request from a first network element, the first request including information from at least one second network element, the first request being used to obtain the data collection strategy of the at least one second network element; Based on the information of the second network element, the energy information of the second network element is determined, and the energy information represents the energy consumption of the second network element. Based on the energy information of the second network element, a data collection strategy for the second network element is determined from at least one data collection strategy, wherein the data collection strategy of the at least one second network element is matched with the energy information of the second network element. Send the data collection strategy of the at least one second network element to the first network element.
10. The method according to claim 9, characterized in that, The process of determining the data collection strategy for the second network element based on the energy information from at least one data collection strategy includes: Acquire at least one data collection strategy and at least one energy condition, wherein each of the at least one data collection strategy corresponds to each of the at least one energy condition; When the energy information of the second network element meets the first energy condition, the data collection strategy of the second network element is the data collection strategy corresponding to the first energy condition among the at least one data collection strategies, and the first energy condition belongs to the at least one energy condition.
11. The method according to claim 9 or 10, characterized in that, The first request includes first information and / or second information. The first information is used to instruct the data collection strategy of the at least one second network element to be sent to the first network element at a specified period. The second information is used to instruct the data collection strategy of the second network element to be sent when the energy information of the second network element meets the set conditions.
12. A data processing method, characterized in that, The method includes: A target data collection strategy for a target network element is obtained. The target data collection strategy is determined from at least one data collection strategy based on the energy information of the target network element. The energy information of the target network element represents the energy consumption of the target network element. The target data collection strategy is matched with the energy information of the target network element. A first data collection request is sent to the target network element. The first data collection request includes the target data collection strategy. The first data collection request is used to instruct the target network element to collect and return target data. The target data is determined based on the target data collection strategy.
13. The method according to claim 12, characterized in that, Before obtaining the target data collection strategy for the target network element, the method further includes: Receive a second data collection request from a data consuming network element, the second data collection request including information about the target network element; The target data collection strategy for acquiring the target network element includes: sending a first request to the energy information network element, wherein the first request is used to request the target data collection strategy of the target network element, and the first request includes information of the target network element; Receive the target data collection strategy from the energy information network element.
14. The method according to claim 13, characterized in that, The first request includes first information and / or second information. The first information is used to instruct the energy information network element to send the target data collection strategy according to a specified period. The second information is used to instruct the energy information network element to send the target data collection strategy when the energy information of the target network element meets the set conditions.
15. A data collection method, characterized in that, Applied to data production network elements, the method includes: A first request is sent to the energy information network element, the first request being used to instruct the energy information network element to return a target data collection strategy, the target data collection strategy being determined based on the energy information of the data production network element, the energy information representing the energy consumption of the data production network element, and the target data collection strategy being matched with the energy information; Receive the target data collection strategy; Collect target data based on the aforementioned target data collection strategy.
16. The method according to claim 15, characterized in that, Before sending the first request to the energy information network element, the method further includes: Receive a data collection request from a data collection network element, the data collection request including first information, the first information being used to instruct the data production network element to collect the target data based on the target data collection strategy; After collecting target data based on the target data collection strategy, the method further includes: returning the target data to the data collection network element.
17. A communication device, characterized in that, The communication device includes: a unit or module for performing the method as described in any one of claims 1 to 6, or a unit or module for performing the method as described in any one of claims 12 to 14.
18. A communication device, characterized in that, The communication device includes a unit or module for performing the method as described in any one of claims 7 to 11.
19. A communication device, characterized in that, The communication device includes a unit or module for performing the method as described in claim 15 or 16.
20. A communication system, characterized in that, The communication system includes a first communication device and a second communication device, wherein the first communication device is used to perform the method as described in any one of claims 1 to 6, and the second communication device is used to perform the method as described in claim 7 or 8.
21. A communication system, characterized in that, The communication system includes a first communication device and a second communication device, wherein the first communication device is configured to perform the method as described in any one of claims 9 to 11, the second communication device is configured to perform the method as described in any one of claims 12 to 14, or the second communication device is configured to perform the method as described in claim 15 or 16.
22. A computer program product, characterized in that, The computer program product includes program code that, when a computer runs the computer program product, causes the computer to perform the method as described in any one of claims 1 to 16.
23. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 16.