Data processing method and apparatus

By having the terminal actively report and cache measurement data in the base station's buffer, the problem of inaccurate or missing measurement data caused by sampling period fluctuations is solved, and the accurate and complete generation of measurement reports is achieved.

CN114727330BActive Publication Date: 2026-04-10LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2022-03-31
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

During the measurement reporting process, the measurement data obtained by the base station is inaccurate or incomplete due to the fluctuation of the sampling period of the measurement data on the terminal side, which is difficult to solve effectively with existing technologies.

Method used

The terminal actively reports and caches measurement data in the first buffer area on the base station side. The base station directly generates measurement report sample data from the buffer area to avoid duplication and omission.

Benefits of technology

This reduces the amount of duplicate or missing measurement data acquired by base stations, ensuring the accuracy and completeness of measurement reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114727330B_ABST
    Figure CN114727330B_ABST
Patent Text Reader

Abstract

The application provides a data processing method and device. The method comprises: obtaining measurement data reported by a terminal, the measurement data being obtained by the terminal based on a first measurement report sampling period configured; caching the measurement data to a first cache area; and generating measurement report sample data based on the measurement data cached in the first cache area. The scheme of the application can reduce the situation of missing measurement data or obtaining repeated measurement data by a base station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a data processing method and apparatus. Background Technology

[0002] Measurement reports (MRs) are a primary basis for assessing the quality of wireless environments.

[0003] During MR measurement, the terminal collects MR-related measurement data according to the configured sampling period. The base station also obtains measurement data from the terminal according to the sampling period configured on the base station side, and generates a Measurement Report of Original Type (MRO) file based on the measurement data.

[0004] However, due to factors such as network conditions or the terminal itself, the sampling period for actual measurement data collection on the terminal side may fluctuate. Furthermore, if the sampling period configured on the base station side is the same as the sampling period configured for the terminal, then if the terminal's sampling period fluctuates, causing the terminal to collect measurement data earlier or later, the measurement data obtained by the base station from the terminal side may be inaccurate, or even lost, when the base station reaches the sampling time of the sampling period. Summary of the Invention

[0005] This application provides a data processing method and apparatus.

[0006] One of the data processing methods includes:

[0007] Obtain measurement data reported by the terminal, wherein the measurement data is obtained by the terminal within a configured first measurement report sampling period;

[0008] The measurement data is cached in the first cache area;

[0009] Based on the measurement data cached in the first cache area, sample data for a measurement report is generated.

[0010] In one possible implementation, generating measurement report sample data based on the measurement data cached in the first cache area includes:

[0011] If the sampling time of the measurement report is determined based on the second measurement report sampling period configured by the base station, and if the second measurement report sampling period is the same as the first measurement report sampling period, then each measurement data cached in the first buffer area is stored in the second buffer area.

[0012] Based on the measurement data cached in the second cache area, sample data for the measurement report is generated.

[0013] In a further possible implementation, the generating the measurement report sample data based on the measurement data cached in the second cache area comprises:

[0014] If the second measurement report sampling period is different from the first measurement report sampling period, storing the measurement data cached in the first cache area for the last time to the second cache area based on the determination that the second measurement report sampling time arrives.

[0015] In a further possible implementation, the generating the measurement report sample data based on the measurement data cached in the second cache area comprises:

[0016] Obtaining the measurement data satisfying the reporting condition from the measurement data cached in the second cache area in sequence and storing the measurement data to the measurement report sample data file to be generated until a file generation end condition is met, to obtain the measurement report sample data file generated in a target sample reporting period, the target sample reporting period being a sample reporting period of the test report sample data to be generated currently;

[0017] The reporting condition comprises that a time corresponding to a timestamp carried by the measurement data belongs to a time interval corresponding to the target sample reporting period.

[0018] The file generation end condition comprises that it is detected that the measurement data cached in the second cache area does not satisfy the reporting condition, or it is detected that the measurement data not satisfying the reporting condition is cached in the second cache area.

[0019] In a further possible implementation, the obtaining the measurement data satisfying the reporting condition from the measurement data cached in the second cache area in sequence and storing the measurement data to the measurement report sample data file to be generated comprises:

[0020] When the number of the measurement data cached in the second cache area exceeds a set threshold, obtaining the measurement report parameter satisfying the reporting condition from the measurement data cached in the second cache area in sequence and storing the measurement report parameter to the measurement report sample data file to be generated.

[0021] In a further possible implementation, the file generation end condition further comprises that a current time has exceeded the time interval corresponding to the target sample reporting period.

[0022] In a further possible implementation, before storing the measurement data cached in the first cache area or the measurement data cached for the last time to the second cache area, the method further comprises:

[0023] obtaining measurement data to be stored in the second cache area from the first cache area;

[0024] For each piece of measurement data obtained from the first cache area, it is determined whether the time corresponding to the timestamp carried by the measurement data belongs to the time interval corresponding to the target sample reporting period;

[0025] If the time corresponding to the timestamp carried by the measurement data does not belong to the time interval, it is determined that the file generation end condition of the measurement report sample data file of the target sample reporting period is reached, and the next sample reporting period after the target sample reporting period is determined as the sample reporting period of the measurement report sample data file to be generated.

[0026] The measurement data satisfying the reporting condition is obtained from the second cache area in sequence and stored in the measurement report sample data file to be generated until the file generation end condition is met, including:

[0027] The measurement data is obtained from the second cache area in sequence and stored in the measurement report sample data file to be generated until the file generation end condition is met.

[0028] Among them, a data processing method, applied to a terminal, comprising:

[0029] Based on the first measurement report sampling period configured, the measurement data is obtained.

[0030] The measurement data is sent to the base station, so that the base station caches the measurement data to the first cache area, and generates measurement report sample data based on the measurement data cached in the first cache area.

[0031] Among them, a data processing device, comprising:

[0032] The data obtaining unit is configured to obtain measurement data reported by a terminal, wherein the measurement data is obtained by the terminal based on a first measurement report sampling period configured.

[0033] The first cache unit is configured to cache the measurement data to a first cache area.

[0034] The report generation unit is configured to generate measurement report sample data based on the measurement data cached in the first cache area.

[0035] Among them, a data processing device, applied to a terminal, comprising:

[0036] The data acquisition unit is configured to obtain measurement data based on a first measurement report sampling period configured.

[0037] a data sending unit, configured to send the measurement data to the base station, so that the base station caches the measurement data to a first cache area and generates measurement report sample data based on the measurement data cached in the first cache area.

[0038] From the above, in the embodiments of the present application, the terminal reports the measurement data to the base station after obtaining the measurement data based on the configured measurement report sampling period, so that the base station can cache the measurement data reported by the terminal in the first cache area, thereby enabling the base station to obtain the measurement data collected by the terminal each time, and reducing the situation that the base station obtains repeated measurement data or omits measurement data due to fluctuation of the sampling period of the terminal. BRIEF DESCRIPTION OF DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of the provided drawings.

[0040] Figure 1 a flowchart of a data processing method provided by an embodiment of the present application is shown;

[0041] Figure 2 several scenario diagrams of the measurement report sampling period configured by the terminal and the actual measurement data obtained by the terminal are shown;

[0042] Figure 3 a flowchart of a data processing method provided by an embodiment of the present application is shown;

[0043] Figure 4 a comparison diagram of the time point at which the terminal obtains measurement data and the sample reporting time of the base station is shown;

[0044] Figure 5 another flowchart of a data processing method provided by an embodiment of the present application is shown;

[0045] Figure 6 another flowchart of a data processing method provided by an embodiment of the present application is shown;

[0046] Figure 7 another flowchart of a data processing method provided by an embodiment of the present application is shown;

[0047] Figure 8 a flowchart of another data processing method provided by an embodiment of the present application is shown;

[0048] Figure 9This illustration shows a schematic diagram of the composition structure of a data processing apparatus provided in an embodiment of this application;

[0049] Figure 10 This illustration shows a schematic diagram of the composition structure of another data processing apparatus provided in an embodiment of this application;

[0050] Figure 11 This illustration shows a schematic diagram of the component architecture of an electronic device provided in an embodiment of this application. Detailed Implementation

[0051] The solutions in this application are applicable to any communication scenario involving Measurement Report (MR) measurements. For example, the solutions in this application can be applied to the 5G NR (New Radio) communication scenario, where 5G NR is a global 5G standard based on a new OFDM-based air interface design.

[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0053] like Figure 1 The diagram illustrates a flowchart of a data processing method provided in an embodiment of this application. This embodiment applies a base station and may include:

[0054] S101, obtain the measurement data reported by the terminal.

[0055] The measurement data is obtained by the terminal within the configured first measurement report sampling period. In other words, the terminal reports the collected measurement data to the base station according to the configured first measurement report sampling period at the data sampling time of the terminal.

[0056] For ease of distinction, the measurement report sampling period configured on the terminal side to trigger the collection of measurement data is referred to as the first measurement report sampling period, while the subsequent measurement report sampling period on the base station side is referred to as the second measurement report sampling period.

[0057] The measurement data reported by the terminal side is the data related to the generation of MR, which is collected or measured by the terminal side.

[0058] S102, cache the measurement data into the first buffer.

[0059] It can be understood that since the terminal reports the measurement data collected each time to the base station, and the base station side buffers the measurement data reported by the terminal each time in the first buffer area, the base station can obtain the measurement data collected by the terminal each time from the first buffer area, and the case of missing the measurement data obtained by the terminal is reduced.

[0060] In S103, the measurement report sample data is generated based on the measurement data buffered in the first buffer area.

[0061] In the present application, the measurement report sample data (MRO) can include the periodic measurement data of all terminals in the cell coverage of the base station in a sample reporting period.

[0062] The measurement report sample data is needed to be reported to the OMC by the base station, and after the OMC obtains the measurement report sample data, the measurement report sample data can be used for network evaluation, system operation and maintenance, etc., and no limitation is made. In actual application, the measurement report sample data is generally reported to the OMC in the form of a file, so the OMC file can also be generated in the present application.

[0063] It can be understood that since the terminal has reported and buffered the collected measurement data in the first buffer area in the present application, the base station does not need to obtain the measurement data from the terminal. Moreover, when the measurement report sample data needs to be generated, the measurement data is also needed to be obtained directly from the first buffer to generate the measurement report sample data.

[0064] As can be seen from the above, in the embodiment of the present application, the terminal reports the measurement data to the base station after obtaining the measurement data based on the configured measurement report sampling period, so that the base station can buffer the measurement data reported by the terminal in the first buffer area, so that the base station can obtain the measurement data collected by the terminal each time, and the case of obtaining repeated measurement data or missing measurement data by the base station due to the fluctuation of the sampling period of the terminal is reduced.

[0065] In order to facilitate understanding of the benefits of the present application, the following compares and explains the research on the prior art and the implementation of the present application.

[0066] Research into the existing technology of MRO generation at the base station side reveals that the first measurement report sampling period at the terminal side can be pre-configured by the base station. The second measurement report sampling period at the base station side can be configured by the Operations & Maintenance Center (OMC) within the communication system. The base station often configures the terminal with the same first measurement report sampling period as the second measurement report sampling period configured at the base station side. However, due to network or other reasons, fluctuations in the measurement report sampling period frequently occur at the terminal side, causing some deviation between the actual period of measurement data collection by the terminal and the first measurement report sampling period.

[0067] In this situation, it is easy for the terminal to not have collected and updated the measurement data, but the base station determines that the measurement report sampling time has been reached based on the second measurement report sampling period. In this case, the base station will request the measurement data from the terminal, so that the base station obtains the measurement data collected by the terminal last time, resulting in duplicate measurement data (the two most recent measurement data obtained are measurement data corresponding to the same timestamp), which makes the measurement data inaccurate.

[0068] Moreover, in practical applications, the actual measurement report sampling period on the terminal side can vary greatly. This may result in the terminal collecting measurement reports from both sides within a first measurement report sampling period, while the base station will only obtain the measurement data collected by the terminal last in sequence when the measurement report sampling time arrives, causing the base station to miss the measurement data collected by the terminal.

[0069] For ease of understanding, combined with Figure 2 To explain, in Figure 2 The following example illustrates the situation where both the base station and the terminal side are configured with a measurement report sampling period of 5120ms.

[0070] exist Figure 2 The diagram illustrates how the measurement report sampling period, based on terminal configuration, determines three sampling times for acquiring or measuring measurement data, such as... Figure 2 The vertical lines of each dashed line are shown in the diagram. Figure 2 The dashed lines from left to right represent, in order: the first sampling time corresponding to the first measurement report sampling period, the second sampling time corresponding to the second measurement report sampling period, and the third sampling time corresponding to the third measurement report sampling period.

[0071] It is understandable that, since the measurement report sampling period configured on the base station side is the same as the measurement report sampling period configured on the terminal side, therefore, Figure 2 Each sampling time is also the sampling time at which the base station needs to obtain the measurement data collected by the terminal.

[0072] At the same time, Figure 2 Several scenarios for terminal data acquisition and measurement are illustrated. The following sections discuss... Figure 2 The analysis and explanation will cover scenarios 1, 2, and 3.

[0073] In these three scenarios, each arrowed horizontal line represents the length of the actual measurement report sampling period of the terminal, and the value on the arrowed horizontal line is the duration of the actual measurement report sampling period of the terminal. The short vertical line at the top of the arrowed horizontal line represents the moment when the terminal actually obtains the measurement data.

[0074] Specifically, in scenario 1, the actual measurement report sampling period of the terminal is slightly shorter than the configured first measurement report sampling period; that is, after the terminal's first sampling moment, 5100ms (e.g., ...) Figure 2 As shown in time a), the measurement data will be obtained. In this case, when the base station requests the measurement data from the terminal at the second sampling time (i.e., 5120ms after the first sampling time), the base station can normally obtain the measurement data collected by the terminal.

[0075] In scenario 2, after the first data acquisition time, the sampling period of the measurement report fluctuates, causing the sampling period to increase. This results in the terminal acquiring measurement data only after the designated second sampling time. Figure 2 Measurement data was only acquired at time point B.

[0076] In this scenario, when the base station requests measurement data from the terminal at the second sampling time before time point B, the terminal has not yet updated the measurement data for the second measurement report sampling period. Therefore, the measurement data returned by the terminal to the base station will inevitably be the measurement data collected by the terminal at the first sampling time. Consequently, the measurement data obtained by the base station at the second sampling time will be duplicated from the measurement data obtained from the terminal at the first sampling time, leading to measurement data acquisition errors. Correspondingly, the measurement report sample data (OMC) generated by the base station will also include duplicate measurement data, resulting in errors in the measurement report sample data.

[0077] The situation where the terminal collects measurement data at time b after the third sampling time in Scenario 2 is similar to the situation where data is collected at time point B in Scenario 2, and will not be described again.

[0078] In scenario 3, the terminal's measurement report sampling period fluctuates after the first sampling time, which also means that the terminal collects measurement data at time point c after the second sampling time. Thus, the base station obtains the sampling data obtained by the terminal at the first sampling time at the second sampling time, and cannot obtain the measurement data collected by the terminal at time point C.

[0079] Furthermore, in scenario 3, after the terminal collects measurement data at time point C, the actual measurement report sampling period after time point C decreases, causing the terminal to collect measurement data before reaching the third sampling time, i.e., at time point c. Therefore, when the base station requests measurement data from the terminal at the third sampling time, the terminal will send the latest obtained measurement data, i.e., the measurement data obtained at time point c, to the base station. This prevents the base station from obtaining the measurement data collected at time point C, resulting in the measurement data collected by the terminal at time point C being missed.

[0080] Consequently, the measurement report sample data subsequently generated by the base station will inevitably not include the measurement data collected at time point C, resulting in data omission.

[0081] Based on the above research findings, this application adopts a method where the terminal actively reports measurement data and caches it in the first buffer area on the base station side. The base station directly generates test report sample data based on the measurement data cached in the first buffer area, which can avoid the base station obtaining duplicate measurement data and missing measurement data collected by the terminal.

[0082] For example, for Figure 2 In Scenario 2, the terminal only reports the measurement data collected at time point B to the base station, allowing the base station to cache the data in its first buffer. If the terminal does not collect measurement data at the second sampling time, it will not report the data, and the base station will not request measurement data from the terminal at the second sampling time. This avoids the terminal sending previously collected measurement data to the base station, preventing the base station from receiving duplicate measurement data.

[0083] Correspondingly, when the base station generates measurement report sample data, since there is no duplicate measurement data in the first buffer, the measurement report sample data generated by the base station will not contain duplicate measurement data with the same timestamp.

[0084] And for Figure 2In Scenario 3, after the terminal collects measurement data at time point C, it reports the data to the base station, which then caches it in the base station's first cache. Similarly, after collecting measurement data at time point c, the terminal also reports the data to the base station and caches it in the base station's first cache. Therefore, it can be seen that the measurement data collected by the terminal at both time points C and c are reported to the base station, eliminating the possibility of the base station missing measurement data collected at time point C. Consequently, when the base station generates measurement report sample data based on the measurement data cached in the first cache, the measurement data at time point C is also stored in the first cache, thus preventing the measurement data at time point C from being excluded from the measurement report sample data and reducing the possibility of missing measurement data.

[0085] In one possible implementation, to minimize changes to the base station, this application can add a middleware program to the base station. This middleware program obtains the measurement data reported by the terminal and stores it in a first buffer allocated by the base station for the middleware program. In this case, the base station only needs to change its method of obtaining measurement data from the terminal to obtaining it from the first buffer, resulting in minimal improvements on the base station side.

[0086] The following explanation uses a flowchart as an example. Figure 3 As shown, this illustrates another flowchart of the data processing method provided in this application embodiment. This embodiment is applied to a base station, and the method of this embodiment may include:

[0087] S301, obtain the measurement data reported by the terminal.

[0088] The measurement data is obtained by the terminal within the first measurement report sampling period based on the configuration.

[0089] S302, cache the measurement data into the first buffer.

[0090] For example, the measurement data reported by the terminal can be obtained through the middleware program in the base station and stored in the first buffer corresponding to the middleware program.

[0091] S303, if the arrival time of the measurement report sampling is determined based on the second measurement report sampling period configured by the base station, and if the second measurement report sampling period is the same as the first measurement report sampling period, then each measurement data cached in the first buffer is stored in the second buffer.

[0092] The second measurement report sampling period configured on the base station side is the collection period for the base station to acquire measurement data.

[0093] Different from the current base station which requests the measurement data from the terminal when the measurement report sampling time arrives, the base station of the present application acquires the measurement data from the first buffer area and stores it into the second buffer area.

[0094] The second buffer area can be a buffer area configured by the base station for generating the measurement report sampling data. For example, the second buffer area can be a buffer area used by the base station in the current prior art for storing the measurement data acquired from the terminal.

[0095] It can be understood that, according to the introduction of the foregoing embodiments, in the case that the second measurement report sampling period configured in the base station is the same as the first measurement report sampling period configured by the base station for the terminal, if the actual measurement report sampling period of the terminal is larger or smaller than the first measurement report sampling period, then the terminal can not collect the measurement data in one first measurement report sampling period (for example, as shown in the second sampling time in scenario 2 of Figure 2 ), or collect the measurement data for multiple times in one first measurement report sampling period (for example, the two pieces of measurement data collected twice in the measurement report sampling period between the second sampling time and the third sampling time in scenario 3 of Figure 2 ).

[0096] Correspondingly, in order to reduce the missing measurement data, in the case that the first measurement report sampling period is the same as the second measurement report sampling period, the base station acquires all the pieces of measurement data currently buffered in the first buffer area every time the measurement report sampling time arrives.

[0097] Of course, if there is no data reported by the terminal in the first buffer area when the base station arrives at the measurement report sampling time, then the base station cannot acquire the measurement data, and only needs to continue to wait for the next measurement report sampling time to acquire the measurement data from the first buffer area.

[0098] For example:

[0099] Still in combination with Figure 2 , it is explained. In Figure 2 scenario 2, at the second sampling time, the terminal does not collect the measurement data, so the terminal will not report the measurement data, and correspondingly, the first buffer area will not store any measurement data of the terminal. In this case, the base station cannot acquire any data from the first buffer area, and naturally, the measurement data at the first sampling time will not be acquired repeatedly. However, since the terminal still reports the measurement data collected at the time point B, the base station will still acquire the measurement data at the time point B from the first buffer area, and the measurement data will not be missed, which can be explained in combination with scenario 3.

[0100] In Figure 3 In scenario 3, the terminal collects measurement data at time point C and time point c, and then reports the collected measurement data at the two time points. In the first measurement reporting sampling period (i.e., the second measurement reporting sampling period) between the second sampling time and the third sampling time, the first buffer stores two pieces of measurement data. Accordingly, when the base station acquires the measurement data from the first buffer at the third sampling time, the base station can store the two pieces of data corresponding to the time points C and c into the second buffer to generate the measurement report sample data, and thus the measurement data is not missed.

[0101] It can be understood that when the measurement data stored in the first buffer is all stored into the second buffer, the first buffer is actually emptied. Or, after the measurement data stored in the first buffer is all stored into the second buffer, the data stored in the first buffer needs to be deleted, so that the first buffer only stores the measurement data reported by the terminal in the second measurement reporting sampling period (i.e., the measurement data that has not been transferred into the second buffer).

[0102] S304, based on the second measurement reporting sampling period, if the second measurement reporting sampling period is different from the first measurement reporting sampling period, a piece of measurement data recently stored in the first buffer is stored into the second buffer.

[0103] It can be understood that the first measurement reporting sampling period configured by the base station for the terminal can be the same as the second measurement reporting sampling period configured by the base station, or the length of the first measurement reporting sampling period can be set to be less than the length of the second measurement reporting sampling period.

[0104] If the second measurement reporting sampling period is greater than the first measurement reporting sampling period, the above-mentioned several abnormal situations caused by the fluctuation of the measurement reporting sampling period on the terminal side will not exist. Moreover, since the second measurement reporting sampling period is greater than the first measurement reporting sampling period, generally, the terminal can collect measurement data multiple times in each second measurement reporting sampling period, but the base station only cares about the latest measurement data of the terminal, based on which the base station only needs to acquire the measurement data recently stored in the first buffer and store the measurement data into the second buffer.

[0105] It can be understood that after the piece of measurement data recently stored in the first buffer is stored into the second buffer, the measurement data acquired before the current measurement reporting sampling time needs to be emptied, so that the first buffer can continue to store the measurement data in the next second measurement reporting sampling period after the measurement reporting sampling time.

[0106] S305, generating the measurement report sample data based on the measurement data buffered in the second buffer area.

[0107] The specific manner of generating the MRO based on the measurement data buffered in the second buffer area is not limited.

[0108] In the embodiment, the base station side only needs to convert the measurement data obtained from the terminal side to the measurement data obtained from the first buffer area, without adjusting the whole manner of generating the measurement report sample data on the base station side, thereby reducing the changes on the base station side, and thus reducing the code development or configuration operation.

[0109] It can be understood that the base station side is also configured with a sample reporting period, which is a reporting period of the base station for reporting the MR file to the OMC, and in the embodiment, can be a reporting period of the base station for reporting the MRO to the OMC. Based on this, the base station needs to generate the MRO file periodically based on the sample reporting period.

[0110] However, through the research on the process of generating the MRO file by the base station in the prior art, it is found that when the base station determines the sample reporting moment based on the sample reporting period, the base station generates the MRO file based on the obtained measurement data. However, if the measurement report sampling period of the terminal side is different from that of the base station, once the terminal measurement report sampling period fluctuates, the measurement data collected by the terminal at the sample reporting moment cannot be contained in the MRO file, and can be incorrectly put into the MRO file of the next sample reporting period.

[0111] In combination with Figure 4 It is illustrated that Figure 4 The terminal collects the measurement data and the base station generates the MRO.

[0112] In Figure 4 For ease of description, the measurement report sampling period of the base station and the terminal side is still taken as 5120ms for example.

[0113] Similarly, in Figure 2 Similarly, in Figure 4 Similarly, in Figure 4 The three sampling moments for collecting or measuring the measurement data determined based on the measurement report sampling period configured by the terminal (or the base station) are also shown, as shown by the three dashed vertical lines in the middle. Figure 4 In the middle, from left to right, each dashed line represents the first sampling moment corresponding to the first measurement report sampling period, the second sampling moment corresponding to the second measurement report sampling period, and the third sampling moment corresponding to the third measurement report sampling period.

[0114] Figure 4 The meaning of the horizontal line with an arrow and the short vertical line at the top of the horizontal line are also related to... Figure 2 The similarities are not elaborated upon here.

[0115] exist Figure 4 The bold vertical arrow in the middle indicates the sample reporting time M of the base station.

[0116] Depend on Figure 4 It can be seen that the terminal reported an excessively large sampling period after the first sampling time, causing the terminal to fail to obtain measurement data at the second sampling time. Therefore, the base station was unable to obtain measurement data from the terminal. Furthermore, combined with... Figure 2 As can be seen from the introduction, in the existing technology, after the terminal obtains the measurement data at time point D, the base station can only obtain the measurement data corresponding to time point D from the terminal at the third sampling time.

[0117] However, Figure 4 The sample reporting time indicated by the bold vertical arrow is before the third sampling time. Therefore, the MRO file generated when the sample reporting time is reached will naturally not contain the measurement data corresponding to that time point D.

[0118] However, since time point D is earlier than the sample reporting time M, the measurement data corresponding to time point D essentially belongs to the sample reporting period between the sample reporting time M and the previous sample reporting time (or the target sample reporting period corresponding to the sample reporting time). If the measurement data corresponding to time point D is placed in the MRO file of the next sample reporting period, data anomalies will occur in the MRO file.

[0119] In this application, if the base station obtains data from the first buffer to the second buffer and generates an MRO file based on the measurement data cached in the second buffer, the same problem exists.

[0120] For example, since the terminal does not obtain measurement data at the second sampling time, there is no measurement data to report. Therefore, the first buffer may be empty, and the base station does not obtain the terminal's measurement data at the second sampling time. Only when time point D is reached will the terminal obtain measurement data and report it to the base station, and the measurement data corresponding to time point D will be cached in the base station's first buffer.

[0121] However, upon arrival Figure 4 When the sample reports time M, the base station's second buffer does not store the measurement data corresponding to time point D. Therefore, the MRO file generated by the base station may contain missing measurement data corresponding to time point D.

[0122] Based on the above research findings, the present application does not determine the measurement data contained in the MRO file based on the sample reporting time determined by the sample reporting period, but determines the measurement data generated in the MRO file as the measurement data not belonging to the sample reporting period of the current MRO file to be generated.

[0123] The following will be described in combination with a flow chart, as shown in Figure 5 The method of the present embodiment can include:

[0124] S501, obtaining measurement data reported by a terminal.

[0125] The measurement data is obtained by the terminal based on the first measurement reporting sampling period configured.

[0126] S502, buffering the measurement data to a first buffer area.

[0127] The measurement data reported by the terminal can be obtained by a middleware program in the base station and stored in the first buffer area corresponding to the middleware program.

[0128] S503, if the second measurement reporting sampling period configured by the base station is the same as the first measurement reporting sampling period, the measurement data buffered in the first buffer area is stored in the second buffer area when the measurement reporting sampling time is reached based on the second measurement reporting sampling period.

[0129] S504, the base station obtains the measurement data satisfying the reporting condition from the measurement data buffered in the second buffer area and stores it in the measurement report sample data file to be generated, until the file generation end condition is met, and obtains the measurement report sample data file generated in the target sample reporting period.

[0130] The target sample reporting period is the sample reporting period of the test report sample data to be generated.

[0131] It can be understood that after completing an MRO file of a sample reporting period, the next sample reporting period of the completed MRO corresponding sample reporting period can be automatically determined as the target sample reporting period.

[0132] Of course, before this step S504, the target sample reporting period of the test report sample data to be generated can be determined first, so as to determine the time interval of the target sample reporting period. The time interval is the time interval between the start time and the end time of the target sample reporting period.

[0133] The reporting condition includes that the time corresponding to the timestamp belongs to the time interval corresponding to the target sample reporting period. That is, the base station obtains the measurement data whose time corresponding to the timestamp belongs to the time interval corresponding to the target sample reporting period from the second cache area, and stores the measurement data into the MRO file.

[0134] In the embodiments of the present application, after the base station determines the target sample reporting period for which the MRO needs to be generated, the base station obtains the measurement data from the second cache area for generating the MRO file corresponding to the target sample reporting period.

[0135] In a possible implementation, in order to reduce the time spent on waiting for the measurement data to be stored in the second cache area and reduce the time spent on generating the MRO file, the present application can obtain the measurement report parameters satisfying the reporting condition from the measurement data cached in the second cache area in sequence and store the measurement report parameters into the measurement report sample data file to be generated, when the number of the measurement data cached in the second cache area exceeds a set threshold.

[0136] The set threshold can be set as needed.

[0137] When the number of the measurement data cached in the second cache area exceeds the set threshold, the data in the second cache area can be obtained continuously until the file generation condition is met. Alternatively, the data cached in the second cache area can be obtained at one time each time the number of the measurement data in the second cache area exceeds the set threshold, and then the measurement data satisfying the reporting condition in the second cache area can be obtained until the sample reporting moment corresponding to the target sample reporting period is reached.

[0138] In the present application, the file generation end condition can include that it is detected that the measurement data to be cached in the second cache area does not satisfy the reporting condition, or it is detected that the measurement data not satisfying the reporting condition is cached in the second cache area.

[0139] It can be understood that if the measurement data to be cached in the second cache area does not satisfy the reporting condition or the measurement data not satisfying the reporting condition is cached in the second cache area, it indicates that the terminal has reported the measurement data not belonging to the time interval corresponding to the target sample reporting period, that is, the terminal has reported the measurement data belonging to the next sample reporting period after the target sample reporting period, and the base station has also obtained the measurement data not belonging to the time interval corresponding to the target sample reporting period from the first cache area. It can be known that the measurement data belonging to the time interval corresponding to the target sample reporting period has been stored into the second cache area, and therefore, the measurement data belonging to the target sample reporting period cannot appear in the second cache area subsequently, and the generation of the MRO file is ended at this time, and the measurement data belonging to the target sample reporting period will not be missed.

[0140] It can be understood that if the timestamp of the measurement data to be stored in the second cache area has exceeded the time interval of the target sample reporting period, it can be indicated that the sample reporting time corresponding to the target sample reporting period has been exceeded. In order to more reliably determine the timing of ending the generation of the MRO file, such as reducing the influence on determining the timing of ending the MRO file due to the existence of abnormal timestamps in the measurement data, the text generation ending condition in the present application can also include that the current time has exceeded the time interval corresponding to the target sample reporting period.

[0141] It should be noted that the present embodiment only mentions the case where the second measurement report sampling period is the same as the first measurement report sampling period, and for the case where the second measurement report sampling period is different from the first measurement report sampling period, the process of generating the MRO file based on the second cache area can also be implemented based on the operation of step S504.

[0142] Of course, due to the case where the second measurement report sampling period is different from the first measurement report sampling period, there is no case of missing measurement data of the MRO file, and therefore the generation of the MRO file based on the second cache area can also use other implementations of the prior art, which are not limited.

[0143] It can be understood that in the present application, whether the measurement data meets the reporting condition can also be determined when the MRO file needs to be generated, or whether the measurement data meets the reporting condition can be detected before the measurement data is stored in the second cache area.

[0144] In a possible implementation, in order to more timely determine that there is measurement data that does not meet the reporting condition, and timely end the generation of the MRO file corresponding to the target sample reporting period, the present application can also detect whether the measurement data in the first cache area meets the reporting condition before storing the measurement data in the second cache area.

[0145] For this possible implementation, an embodiment will be described below. As shown in Figure 6 It shows another flowchart of the data processing method provided by the embodiment of the present application, and the present embodiment is applied to a base station. The method of the present embodiment can include:

[0146] S601, obtaining measurement data reported by a terminal.

[0147] The measurement data is obtained by the terminal based on a configured first measurement report sampling period.

[0148] S602, caching the measurement data to a first cache area.

[0149] As can be, the measurement data reported by the terminal can be obtained by a middleware program in the base station and stored in the first cache area corresponding to the middleware program.

[0150] S603, based on the second measurement report sampling period configured by the base station, if the second measurement report sampling period is the same as the first measurement report sampling period, each piece of measurement data cached in the first cache area is determined as measurement data to be stored in the second cache area.

[0151] S604, obtaining the measurement data to be stored in the second cache area from the first cache area.

[0152] S605, for each piece of measurement data obtained from the first cache area, detecting whether the time corresponding to the timestamp carried by the measurement data belongs to the time interval corresponding to the target sample reporting period of the MRO file to be generated, if yes, maintaining the execution of step S607, if no, executing step S606.

[0153] It can be understood that for the measurement data that needs to be stored in the second cache area, this step S605 can be executed in sequence until each piece of measurement data required to be stored in the second cache area in the measurement report sampling time is detected. At the same time, if the operation of generating the MRO file corresponding to the target sample reporting period has been started, the generation operation of the MRO file needs to be maintained.

[0154] S606, if the time corresponding to the timestamp carried by the measurement data does not belong to the time interval, determining the file generation end condition of the measurement report sample data file of the target sample reporting period, and determining the next sample reporting period after the target sample reporting period as the target sample reporting period of the measurement report sample data file to be generated.

[0155] As described above, if it is detected that the timestamp of the measurement data to be stored in the second cache area does not belong to the target sample reporting period, it means that the measurement data in the target sample reporting period has been stored in the second cache area. In this case, there is no case that the MRO file cannot contain the measurement data due to the measurement data belonging to the target sample reporting period not being cached in the second cache area. In this case, it can be determined that the MRO file of the next sample reporting period after the target sample reporting period needs to be generated.

[0156] S607, obtaining measurement data from the second cache area in sequence and storing it into the measurement report sample data file to be generated, until the file generation end condition is met, obtaining the measurement report sample data file corresponding to the target sample reporting period.

[0157] Step S607 can be as described above, such as obtaining measurement report sample data from the second cache if the number of measurement data cached in the second cache exceeds a set number, so that all the measurement data cached in the second cache is stored in the MRO file.

[0158] Alternatively, when confirming that the MRO file for the target sample reporting cycle is met, data cached in the second buffer can be continuously obtained until the file generation end condition for the target sample reporting cycle is met.

[0159] It is understood that in this embodiment, the example given is that the file generation termination condition is that the timestamp of the measurement data to be cached in the second buffer does not belong to the time interval corresponding to the target sample reporting period. In this embodiment, the file generation termination condition may also include: the current time has exceeded the time interval corresponding to the target sample reporting period. In this case, after determining in step S606 that the file generation condition is met, step S607 may further determine whether the current time exceeds the event interval corresponding to the target sample reporting period.

[0160] To better understand the benefits of this embodiment, see [link to relevant documentation]. Figure 4 Please provide an explanation.

[0161] Depend on Figure 4 It can be seen that the terminal did not report measurement data at the second sampling time, and correspondingly, the base station did not obtain the measurement data from the first buffer. However, after the terminal reports the measurement data at time point D, the base station will actually obtain the corresponding measurement data from the first buffer at the third sampling time.

[0162] In this case, although Figure 4 The base station has reached the sample reporting time M corresponding to the target sample reporting period. However, since the base station's most recent measurement data (which should be the measurement data corresponding to the first sampling time since there is no measurement data at the second sampling time) obtained from the first buffer still belongs to the time interval corresponding to the target sample reporting period, the base station will not end the generation of the MRO file. At the third sampling time, the base station obtains the measurement data reported at time point D from the first buffer. Since time point D still belongs to the time interval corresponding to the target sample reporting period (i.e., it is before time M), the measurement data corresponding to time point D will also be put into the MRO file.

[0163] Then, the measurement data corresponding to the time point d is detected at the next sampling time after the third sampling time. Since the time point d exceeds the sample reporting time M (i.e. exceeds the end time in the time interval corresponding to the target sample reporting period), it can be indicated that the measurement data belonging to the MRO file has been put into the MRO file, so that the generation of the MRO file can be ended. The generation of the MRO file corresponding to the next sample reporting period can be started.

[0164] In order to facilitate understanding of the scheme of the present application, an application scenario is described below.

[0165] Taking that the middleware program is configured in the base station and the measurement data reported by the terminal is cached through the first cache area of the middleware program as an example, for the convenience of description, the program for generating the MRO file in the base station is referred to as the MR generation program.

[0166] As shown in FIG. 7, another flowchart of the data processing method provided by the embodiment of the present application is shown, and the method of the embodiment can include: Figure 7

[0167] S701, the base station obtains the measurement data reported by the terminal through the middleware program.

[0168] The measurement data is obtained by the terminal based on the first measurement reporting sampling period.

[0169] S702, the measurement data is cached to the first cache area through the middleware program.

[0170] S703, the MR generation program of the base station sends a measurement data request to the middleware program based on the second measurement reporting sampling period configured by the base station in the case that the measurement reporting sampling time is reached.

[0171] S704, the middleware program detects whether the first cache area is empty. If yes, the measurement data request is not responded; if no, step S705 is executed.

[0172] S705, the middleware program detects whether the second measurement reporting sampling period is the same as the first measurement reporting sampling period. If yes, step S706 is executed; if no, step S707 is executed.

[0173] S706, each piece of measurement data cached in the first cache area is sent to the MR generation program, and the first cache area is emptied.

[0174] S707, the measurement data cached in the first cache area for the last time is sent to the MR generation program, and the first cache area is emptied.

[0175] ​S708, for each piece of measurement data obtained from the first cache area, the MR generation program detects whether the time corresponding to the time stamp carried by the measurement data belongs to the time interval corresponding to the target sample reporting period of the MRO file to be generated, if yes, the operation of step S710 is continued; if no, step S709 is executed;

[0176] S709, detecting whether the current time has exceeded the time interval corresponding to the target sample reporting period, if yes, determining that the file generation end condition of the measurement report sample data file of the target sample reporting period is met, and determining the next sample reporting period after the target sample reporting period as the sample reporting period of the measurement report sample data file to be generated, if no, step S710 is continued.

[0177] S710, obtaining measurement data from the second cache area in sequence and storing it into the MRO file to be generated corresponding to the target sample reporting period, until the file generation end condition corresponding to the target sample reporting period is met, obtaining the MRO file of the target sample reporting period.

[0178] It can be understood that in the present application, some adaptive modifications are also needed on the terminal side, and the data processing method of the present application will be introduced from the terminal side below.

[0179] As shown in Figure 8 , it shows a flowchart of another data processing method provided by an embodiment of the present application, which is applied to a terminal, and includes:

[0180] S801, determining the measurement report sampling time based on the configured first measurement report sampling period, and obtaining measurement data.

[0181] S802, sending the measurement data to the base station, so that the base station caches the measurement data into the first cache area, and generates measurement report sample data based on the measurement data cached in the first cache area.

[0182] It can be understood that since the sampling period of the measurement data actually obtained by the terminal may deviate from the first measurement report sampling period, the actual measurement report sampling time of the terminal may also deviate. However, after the terminal obtains the measurement data based on the determined measurement report sampling time, it will report the obtained measurement data to the base station.

[0183] Correspondingly, the base station can obtain the measurement data collected by the terminal each time, so as to reduce the situation that the base station misses the measurement data of the terminal or obtains repeated measurement data.

[0184] Corresponding to the operation of the base station side in the data processing method in the above embodiments of the present application, the present application also provides a data processing device. As Figure 9As shown, it shows a component structure diagram of a data processing device according to the application. The device of the embodiment can be applied to a base station, and can include:

[0185] The data obtaining unit 901 is configured to obtain measurement data reported by a terminal, wherein the measurement data is obtained by the terminal based on a configured first measurement reporting sampling period;

[0186] The first caching unit 902 is configured to cache the measurement data in a first cache area;

[0187] The report generating unit 903 is configured to generate measurement report sample data based on the measurement data cached in the first cache area.

[0188] In a possible implementation, the report generating unit includes:

[0189] The second caching unit is configured to, based on a second measurement reporting sampling period configured by a base station, determine a case where a measurement reporting sampling moment arrives, and if the second measurement reporting sampling period is the same as the first measurement reporting sampling period, store each piece of measurement data cached in the first cache area into a second cache area;

[0190] The measurement report generating unit is configured to generate measurement report sample data based on the measurement data cached in the second cache area.

[0191] In a possible implementation, the report generating unit further includes:

[0192] The third caching unit is configured to, based on a case where a measurement reporting sampling moment arrives, if the second measurement reporting sampling period is not the same as the first measurement reporting sampling period, store a piece of measurement data cached for the last time in the first cache area into the second cache area.

[0193] In a possible implementation, the measurement report generating unit includes:

[0194] The measurement report generating subunit is configured to sequentially obtain measurement data satisfying a reporting condition from the measurement data cached in the second cache area and store the measurement data into a measurement report sample data file to be generated, until a file generation end condition is satisfied, to obtain a measurement report sample data file generated in a target sample reporting period, wherein the target sample reporting period is a sample reporting period of the measurement report sample data to be generated currently;

[0195] The reporting condition includes that a timestamp carried corresponds to a time belonging to a time interval corresponding to the target sample reporting period.

[0196] The file generation end condition comprises: detecting that the measurement data to be cached in the second cache area does not satisfy the reporting condition, or detecting that the second cache area caches measurement data that does not satisfy the reporting condition.

[0197] In a possible implementation, the measurement report generation subunit comprises: when the number of portions of measurement data cached in the second cache area exceeds a set threshold, sequentially obtaining measurement report parameters that satisfy the reporting condition from the measurement data cached in the second cache area and storing the measurement report parameters into the measurement report sample data file to be generated.

[0198] In a possible implementation, the file generation end condition further comprises: the current time has exceeded the time interval corresponding to the target sample reporting period.

[0199] In a possible implementation, the apparatus further comprises:

[0200] The data taking unit is configured to obtain, before the second cache unit stores each portion of measurement data cached in the first cache area into the second cache unit or before the third cache unit stores a most recently cached portion of measurement data into the second cache area, measurement data to be stored into the second cache area from the first cache area.

[0201] The timestamp detection unit is configured to determine, for each portion of measurement data obtained from the first cache area, whether a time corresponding to a timestamp carried by the measurement data belongs to a time interval corresponding to the target sample reporting period.

[0202] The period determination unit is configured to determine, if the time corresponding to the timestamp carried by the measurement data does not belong to the time interval, a file generation end condition of a measurement report sample data file of the target sample reporting period, and determine a next sample reporting period after the target sample reporting period as a sample reporting period of a measurement report sample data file to be generated.

[0203] The measurement report generation subunit is specifically configured to sequentially obtain measurement data from the second cache area and store the measurement data into the measurement report sample data file to be generated until the file generation end condition is satisfied.

[0204] Corresponding to the operation of the terminal side in the data processing method provided in the present application, the present application further provides another data processing apparatus. As shown in FIG. Figure 10 The apparatus is applied to a terminal and comprises:

[0205] The data collection unit 1001 is configured to determine a measurement report sampling time based on a configured first measurement report sampling period, and obtain measurement data.

[0206] The data sending unit 1002 is configured to send the measurement data to the base station, so that the base station caches the measurement data in a first cache area and generates measurement report sample data based on the measurement data cached in the first cache area.

[0207] In another aspect, the present application also provides an electronic device, which can be a base station or a terminal. As shown in Figure 11 The electronic device can be any type of electronic device, and at least includes a processor 1101 and a memory 1102.

[0208] The processor 1101 is configured to execute the data processing method in any one of the above embodiments.

[0209] The memory 1102 is configured to store programs required by the processor for operation.

[0210] It can be understood that the electronic device can further include a display unit 1103 and an input unit 1104.

[0211] Of course, the electronic device can also have more or less components, and is not limited in this regard. Figure 11

[0212] In another aspect, the present application also provides a computer readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the data processing method in any one of the above embodiments.

[0213] The present application also proposes a computer program, which includes computer instructions stored in a computer readable storage medium. The computer program is used to execute the data processing method in any one of the above embodiments when running on the electronic device.

[0214] It should be noted that each embodiment in the present specification adopts a progressive manner for description, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. Meanwhile, the features recorded in each embodiment can be replaced or combined, so that the person skilled in the art can realize or use the present application. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant part can be referred to the part of the method embodiment.

[0215] ​Finally, it should be noted that, in this document, the term "only" is used simply to contrast with another entity or action, and does not necessarily require or imply that there is any such actual relationship or order between the entities or actions. Also, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0216] The above description of disclosed embodiments provides enabling teaching for making or using the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

[0217] The above is only the preferred embodiment of the present application, it should be noted that, for those skilled in the art, without departing from the principles of the present application, can also make a number of improvements and refinements, these improvements and refinements should also be considered as the protection scope of the present application.

Claims

1. A data processing method applied to a base station, comprising: obtaining measurement data actively reported by a terminal, the measurement data being obtained by the terminal based on a first measurement reporting sampling period configured by the base station; wherein the terminal reports the collected measurement data to the base station when a data sampling time of the terminal arrives; caching the measurement data in a first cache area; generating measurement report sample data based on the measurement data cached in the first cache area; wherein the generating of the measurement report sample data based on the measurement data cached in the first cache area comprises: determining, based on a second measurement reporting sampling period configured by the base station, that the second measurement reporting sampling period is the same as the first measurement reporting sampling period when a measurement reporting sampling time arrives, and storing each piece of measurement data cached in the first cache area in a second cache area to reduce the case of missing measurement data, the second cache area being a cache area configured by the base station for generating the measurement report sample data; and sequentially obtaining measurement data satisfying a reporting condition from the measurement data cached in the second cache area and storing the measurement data in a measurement report sample data file to be generated until a file generation end condition is satisfied, to obtain a measurement report sample data file generated in a target sample reporting period, the target sample reporting period being a sample reporting period of the test report sample data to be generated; wherein the reporting condition comprises that a time corresponding to a timestamp carried belongs to a time interval corresponding to the target sample reporting period. 2.The method of claim 1, wherein the generating of the measurement report sample data based on the measurement data cached in the first cache area further comprises: determining, based on the second measurement reporting sampling period, that the second measurement reporting sampling period is different from the first measurement reporting sampling period when the measurement reporting sampling time arrives, and storing a piece of measurement data cached in the first cache area for the last time in the second cache area. 3.The method of claim 1 or 2, wherein: it is detected that the measurement data to be cached in the second cache area does not satisfy the reporting condition, or it is detected that the second cache area caches measurement data that does not satisfy the reporting condition. 4.The method of claim 3, wherein the sequentially obtaining of the measurement data satisfying the reporting condition from the measurement data cached in the second cache area and the storing of the measurement data in the measurement report sample data file to be generated comprises: when the number of pieces of measurement data cached in the second cache area exceeds a set threshold, sequentially obtaining measurement report parameters satisfying the reporting condition from the measurement data cached in the second cache area and storing the measurement report parameters in the measurement report sample data file to be generated. the current time has exceeded the time interval corresponding to the target sample reporting period. 6.The method of claim 3, further comprising, before storing each piece of measurement data cached in the first cache area or a piece of measurement data cached for the last time in the second cache area: obtaining measurement data to be stored in the second cache area from the first cache area. ​ ​ ​ ​ ​ The file generation end condition includes: ​ ​ ​ 5. The method of claim 3, the file generation end condition further comprising: ​ ​ ​ For each piece of measurement data obtained from the first cache area, it is determined whether the time corresponding to the timestamp carried by the measurement data belongs to the time interval corresponding to the target sample reporting period; If the time corresponding to the timestamp carried by the measurement data does not belong to the time interval, it is determined that the file generation end condition of the measurement report sample data file of the target sample reporting period is reached, and the next sample reporting period after the target sample reporting period is determined as the sample reporting period of the measurement report sample data file to be generated; The measurement data satisfying the reporting condition is sequentially obtained from the measurement data cached in the second cache area and stored into the measurement report sample data file to be generated until the file generation end condition is met, comprising: The measurement data is sequentially obtained from the second cache area and stored into the measurement report sample data file to be generated until the file generation end condition is met.

7. A data processing method applied to a terminal, comprising: determining a measurement report sampling time based on a configured first measurement report sampling period, and obtaining measurement data; actively sending the measurement data to a base station, so that the base station caches the measurement data into a first cache area, and generates measurement report sample data based on the measurement data cached in the first cache area; generating measurement report sample data based on the measurement data cached in the first cache area, comprising: if the second measurement report sampling period is the same as the first measurement report sampling period, storing each piece of measurement data cached in the first cache area into a second cache area to reduce the case of missing measurement data, based on the case that the measurement report sampling time is determined based on the second measurement report sampling period configured by the base station; the second cache area is a cache area configured by the base station for generating measurement report sample data; sequentially obtaining measurement data satisfying a reporting condition from the measurement data cached in the second cache area and storing it into a measurement report sample data file to be generated until a file generation end condition is met, obtaining a measurement report sample data file generated in a target sample reporting period, the target sample reporting period being a sample reporting period of the test report sample data to be currently generated; The reporting condition comprises: the time corresponding to the timestamp belongs to the time interval corresponding to the target sample reporting period.

8. A data processing apparatus applied to a base station, comprising: a data obtaining unit configured to obtain measurement data actively reported by a terminal, the measurement data being obtained by the terminal based on a configured first measurement report sampling period; wherein the terminal reports the measurement data collected by the terminal to the base station at a data sampling time of the terminal based on the configured first measurement report sampling period; a first cache unit configured to cache the measurement data into a first cache area; a report generation unit configured to generate measurement report sample data based on the measurement data cached in the first cache area; the report generation unit comprises: a second cache unit, configured to, based on a second measurement report sampling period configured by the base station, determine a case of reaching a measurement report sampling moment, and if the second measurement report sampling period is the same as the first measurement report sampling period, store each piece of measurement data cached in the first cache area into a second cache area, so as to reduce the case of missing measurement data; the second cache area is a cache area configured by the base station for generating measurement report sample data; a measurement report generation unit, configured to obtain, from the measurement data cached in the second cache area, measurement data satisfying a reporting condition in sequence and store the measurement data into a measurement report sample data file to be generated, until a file generation end condition is met, to obtain a measurement report sample data file generated in a target sample reporting period, the target sample reporting period being a sample reporting period of the test report sample data to be generated currently; wherein the reporting condition comprises that a time corresponding to a timestamp carried belongs to a time interval corresponding to the target sample reporting period.

9. A data processing apparatus, applied to a terminal, comprising: a data acquisition unit, configured to, based on a first measurement report sampling period configured, determine a case of reaching a measurement report sampling moment, and obtain measurement data; a data sending unit, configured to actively send the measurement data to a base station, so that the base station caches the measurement data into a first cache area, and generates measurement report sample data based on the measurement data cached in the first cache area; based on the measurement data cached in the first cache area, generating measurement report sample data, comprising: based on a second measurement report sampling period configured by the base station, determining a case of reaching a measurement report sampling moment, and if the second measurement report sampling period is the same as the first measurement report sampling period, storing each piece of measurement data cached in the first cache area into a second cache area, so as to reduce the case of missing measurement data; the second cache area is a cache area configured by the base station for generating measurement report sample data; obtaining, from the measurement data cached in the second cache area, measurement data satisfying a reporting condition in sequence and storing the measurement data into a measurement report sample data file to be generated, until a file generation end condition is met, to obtain a measurement report sample data file generated in a target sample reporting period, the target sample reporting period being a sample reporting period of the test report sample data to be generated currently; wherein the reporting condition comprises that a time corresponding to a timestamp carried belongs to a time interval corresponding to the target sample reporting period.

Citation Information

Patent Citations

  • Data reporting method and apparatus using trunk data processing network element TDPNE as processing node

    CN108093431A