Data collection method, device, equipment, and computer readable medium

By collecting data from the auxiliary port in the wireless communication chip, the problem of third-party tools affecting data transmission stability and incomplete data collection after failure is solved, and rich data collection and stable transmission are achieved.

CN115913397BActive Publication Date: 2024-09-27NEURON INFORMATION TECH (CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211406213.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-10
Publication Date
2024-09-27
Estimated Expiration
2042-11-10

AI Technical Summary

Technical Problem

In communication systems, third-party tools can easily affect the stability of chip data transmission when collecting data, and only part of the residual data can be collected after a fault occurs, making it difficult to conduct effective analysis.

Method used

By collecting data from the auxiliary transmitting port and auxiliary receiving port in the wireless communication chip, in response to the received data collection instructions or decoding errors, it avoids collecting data from the main port, ensuring the stability of data transmission, and collecting it before a fault occurs. data.

Benefits of technology

Data collection without affecting data transmission is realized, and the collected data is richer and suitable for fault analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115913397B
    Figure CN115913397B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a data collection method, device, electronic device, and computer-readable medium. A specific implementation of the method includes: in response to receiving a data collection instruction, collecting data from an auxiliary transmitting port and / or an auxiliary receiving port to obtain uplink transmission data and / or downlink reception data; analyzing the uplink transmission data and / or downlink reception data, and stopping collecting data from the auxiliary transmitting port and / or the auxiliary receiving port in response to at least one of the following: a decoding error occurs in the downlink reception data or the uplink transmission data; or the downlink reception data is decoded to obtain downlink decoded data including the first preset information; or the uplink reception data is decoded to obtain uplink decoded data including the second preset information; or a stop collection instruction is received. This implementation achieves richer data collection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of communications, and in particular to a data collection method, apparatus, device, and computer-readable medium. Background Art

[0002] During the data transmission process, the communication system may fail due to various reasons. In order to analyze the cause of the failure, the relevant data collection method generally uses third-party tools to collect data after the failure occurs. Then, the cause of the failure is determined by analyzing the collected data.

[0003] However, the inventors have found that when using the above method to collect data, the following technical problems often occur:

[0004] First, the use of third-party tools often affects the stability of chip data transmission;

[0005] Second, after a failure occurs, the data transmission function will be interrupted. At this time, only some residual data can be collected, which is not conducive to data analysis. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose data collection methods, devices, equipment, and computer-readable media to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a data acquisition method, which is applied to a wireless communication chip. The wireless communication chip includes a main transmitting port, an auxiliary transmitting port, a main receiving port and an auxiliary receiving port. The data of the main transmitting port and the auxiliary transmitting port are consistent, and the data of the main receiving port and the auxiliary receiving port are consistent. The method includes: in response to receiving a data acquisition instruction, collecting data from the auxiliary transmitting port and / or the auxiliary receiving port to obtain uplink transmitting data and / or downlink receiving data; analyzing the uplink transmitting data and / or the downlink receiving data, and stopping collecting data from the auxiliary transmitting port and / or the auxiliary receiving port in response to at least one of the following: a decoding error occurs in the downlink receiving data or the uplink transmitting data; or the downlink decoded data obtained by decoding the downlink receiving data includes the first preset information; or the uplink decoded data obtained by decoding the uplink receiving data includes the second preset information; or a stop acquisition instruction is received.

[0009] In a second aspect, some embodiments of the present disclosure provide a data acquisition device, the device comprising: a wireless communication chip applied thereto, the wireless communication chip comprising a main transmitting port, an auxiliary transmitting port, a main receiving port and an auxiliary receiving port, the data of the main transmitting port and the auxiliary transmitting port are consistent, the data of the main receiving port and the auxiliary receiving port are consistent, the device comprising: an acquisition unit, configured to acquire data from the auxiliary transmitting port and / or the auxiliary receiving port in response to receiving a data acquisition instruction, to obtain uplink transmitting data and / or downlink receiving data; an analysis unit, configured to analyze the uplink transmitting data and / or the downlink receiving data, and stop acquiring data from the auxiliary transmitting port and / or the auxiliary receiving port in response to at least one of the following: a decoding error occurs in the downlink receiving data or the uplink transmitting data; or the downlink decoded data obtained by decoding the downlink receiving data includes the first preset information; or the uplink decoded data obtained by decoding the uplink receiving data includes the second preset information; or a stop acquisition instruction is received.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0012] The above-mentioned embodiments of the present disclosure have the following beneficial effects: by collecting data from the auxiliary transmitting port and the auxiliary receiving port, the data collected from the main port is prevented from affecting the data transmission. In addition, unlike the related technologies, data is not collected after a fault occurs, but can be collected as soon as a data collection instruction is received, so that more abundant data can be collected. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1-Figure 2 is an exemplary schematic diagram of a data path of a wireless communication chip;

[0015] Figure 3 Flow charts of some embodiments of the data collection method according to the present disclosure;

[0016] Figure 4are flow charts of other embodiments of the data collection method according to the present disclosure;

[0017] Figure 5 It is a schematic diagram of the structure of some embodiments of the data acquisition device according to the present disclosure. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0024] Figure 1-Figure 2 An exemplary schematic diagram of the data path of a wireless communication chip is shown.

[0025] like Figure 1 As shown, the wireless communication chip includes a radio frequency module 101, a radio frequency front end (RFFE) 102, a digital-to-analog converter 103 (including ADC1 and ADC2), and a receiving digital front end 104 (including RXDFE_0 and RXDFE_1). Figure 1As can be seen from the figure, the RF module 101, RFFE 102, ADC1, and RXDFE_0 constitute the main downlink data path. The RF module 101, RFFE 102, ADC2, and RXDFE_1 constitute the auxiliary downlink data path, and RXDFE_1 can be used as an auxiliary receiving port for data collection.

[0026] like Figure 2 As shown, the wireless communication chip further includes a digital-to-analog converter 105 (including DAC1 and DAC2), an IQ 106 (including IQ_1 and IQ_0), and a transmit digital front end 107 (including TXDFE_0 and TXDFE_1). Figure 2 It can be seen that the RF module 101, RFFE 102, DAC1, IQ_0, and TXDFE_0 constitute the main uplink data path, and the RF module 101, RFFE102, DAC2, IQ_1, and TXDFE_1 constitute the auxiliary uplink data path, where IQ_1 can be used as an auxiliary transmission port for data acquisition. Among them, IQ refers to the two orthogonal signals I and Q transmitted by the link.

[0027] Continue to refer Figure 3 , shows a process 300 of some embodiments of the data collection method according to the present disclosure. The data collection method comprises the following steps:

[0028] Step 301, in response to receiving a data collection instruction, collect data from an auxiliary transmitting port and / or an auxiliary receiving port to obtain uplink transmitting data and / or downlink receiving data.

[0029] In some embodiments, the execution subject of the data collection method can be a wireless communication chip or other electronic devices. Among them, the wireless communication chip can include a main transmitting port, an auxiliary transmitting port, a main receiving port and an auxiliary receiving port. Among them, the data of the main transmitting port and the auxiliary transmitting port are consistent, and the data of the main receiving port and the auxiliary receiving port are consistent. Therefore, the main transmitting port and the main receiving port can transmit data normally. The auxiliary transmitting port and the auxiliary receiving port can be used for data collection. Of course, according to needs, the auxiliary transmitting port and the auxiliary receiving port can also be used to realize other functions. In practice, Figure 1-Figure 2 The data path of the wireless communication chip is shown as an example. It can be understood that other data paths can also be set according to actual needs.

[0030] Step 302, analyze the uplink transmission data and / or the downlink reception data, and stop collecting data from the auxiliary transmission port and / or the auxiliary reception port in response to at least one of the following: a decoding error occurs in the downlink reception data or the uplink transmission data; or the downlink decoded data obtained by decoding the downlink reception data includes the first preset information; or the uplink decoded data obtained by decoding the uplink reception data includes the second preset information; or a stop collection instruction is received.

[0031] In some embodiments, the execution subject may analyze the uplink transmission data and the downlink reception data in various ways, for example, the uplink transmission data and the downlink reception data may be decoded according to a preset decoding rule, for example, it may be determined whether the downlink decoded data includes the first preset information, and it may also be determined whether the uplink decoded data includes the second preset information. Among them, by setting the first preset information and the second preset information, data collection may be started when the conditions are met according to the user's customized needs.

[0032] It can be understood that data collection from the auxiliary transmitting port is stopped in response to at least one of the following: a decoding error occurs in the uplink transmitting data; uplink decoded data obtained by decoding the uplink receiving data includes the second preset information; a stop collection instruction is received.

[0033] In response to at least one of the following occurrences, data collection from the auxiliary receiving port is stopped: a decoding error occurs in the downlink received data; downlink decoded data obtained by decoding the downlink received data includes the first preset information; a stop collection instruction is received.

[0034] Some embodiments of the present disclosure provide methods that collect data from auxiliary transmitting ports and auxiliary receiving ports to avoid the impact of collecting data from the main port on data transmission. In addition, unlike related technologies, data is not collected after a fault occurs, but can be collected as soon as a data collection instruction is received, so that more abundant data can be collected.

[0035] Further references Figure 4 , which shows a process 400 of another embodiment of a data collection method. The process 400 of the data collection method includes the following steps:

[0036] Step 401, in response to receiving a data collection instruction, collecting data from an auxiliary transmitting port and / or an auxiliary receiving port to obtain uplink transmitting data and / or downlink receiving data;

[0037] Step 402, analyze the uplink transmission data and / or the downlink reception data, and stop collecting data from the auxiliary transmission port and / or the auxiliary reception port in response to at least one of the following: a decoding error occurs in the downlink reception data or the uplink transmission data; or the downlink decoded data obtained by decoding the downlink reception data includes the first preset information; or the uplink decoded data obtained by decoding the uplink reception data includes the second preset information; or a stop collection instruction is received.

[0038] In some embodiments, the specific implementation of steps 401 and 402 can refer to Figure 3 The corresponding embodiments will not be described in detail here.

[0039] Step 403: Store the collected data in a non-volatile memory in the wireless communication chip in a file format. The data in the non-volatile memory is stored in a circular queue.

[0040] In some embodiments, data is stored in a non-volatile memory (eg, Flash memory) in a file format to avoid data loss during power failure. A circular queue is used in the non-volatile memory to save data, and old data will be overwritten from the beginning when the storage space is full.

[0041] from Figure 4 It can be seen that Figure 3 Compared with the description of some corresponding embodiments, Figure 4 In some corresponding embodiments, the process 400 of the data collection method adds a data storage step to avoid data loss during power failure.

[0042] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data acquisition device. These device embodiments are similar to Figure 3 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0043] like Figure 5 As shown, the data acquisition device 500 of some embodiments includes: the acquisition unit 501 is configured to collect data from the auxiliary transmission port and / or the auxiliary receiving port in response to receiving a data acquisition instruction, and obtain uplink transmission data and / or downlink reception data. The analysis unit 502 is configured to analyze the uplink transmission data and / or downlink reception data, and stop collecting data from the auxiliary transmission port and / or the auxiliary reception port in response to at least one of the following: a decoding error occurs in the downlink reception data or the uplink transmission data; or the downlink decoded data obtained by decoding the downlink reception data includes the first preset information; or the uplink decoded data obtained by decoding the uplink reception data includes the second preset information; or a stop acquisition instruction is received.

[0044] In an optional implementation of some embodiments, the data acquisition device 500 further includes: a storage unit configured to store the collected data in a non-volatile memory in the wireless communication chip in a file format, and the data in the non-volatile memory is stored in a circular queue.

[0045] In an optional implementation of some embodiments, the wireless communication chip includes a RF module, a RF front end, a first digital-to-analog converter, and a second digital-to-analog converter; wherein the RF module, the RF front end, the first digital-to-analog converter and the main receiving port constitute a main downlink data path; the RF module, the RF front end, the second digital-to-analog converter and the auxiliary receiving port constitute an auxiliary downlink data path.

[0046] In optional implementations of some embodiments, the wireless communication chip also includes a first digital-to-analog converter, a second digital-to-analog converter, a first transmitting digital front end, and a second transmitting digital front end; the RF module, the RF front end, the first digital-to-analog converter and the first transmitting digital front end constitute a main uplink data path; the RF module, the RF front end, the second digital-to-analog converter and the second transmitting digital front end constitute an auxiliary uplink data path.

[0047] It is understandable that the units recorded in the data acquisition device 500 are similar to those in the reference Figure 3 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 500 and the units included therein, and will not be described in detail here.

[0048] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. When the computer program is executed, the above functions defined in the method of some embodiments of the present disclosure are executed.

[0049] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0050] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0051] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to receiving a data acquisition instruction, collects data from the auxiliary transmitting port and / or the auxiliary receiving port to obtain uplink transmitting data and / or downlink receiving data; analyzes the uplink transmitting data and / or downlink receiving data, and stops collecting data from the auxiliary transmitting port and / or the auxiliary receiving port in response to at least one of the following: a decoding error occurs in the downlink receiving data or the uplink transmitting data; or the downlink decoded data obtained by decoding the downlink receiving data includes the first preset information; or the uplink decoded data obtained by decoding the uplink receiving data includes the second preset information; or a stop acquisition instruction is received.

[0052] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0053] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0054] The units described in some embodiments of the present disclosure may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a collection unit and an analysis unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the collection unit may also be described as "a unit for collecting data from the auxiliary transmitting port and the auxiliary receiving port respectively".

[0055] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0056] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A data acquisition method, applied to a wireless communication chip, wherein the wireless communication chip comprises a main transmitting port, an auxiliary transmitting port, a main receiving port and an auxiliary receiving port, wherein the data of the main transmitting port and the auxiliary transmitting port are consistent, and the data of the main receiving port and the auxiliary receiving port are consistent, and the method comprises: In response to receiving a data collection instruction, collecting data from the auxiliary transmitting port and / or the auxiliary receiving port to obtain uplink transmitting data and / or downlink receiving data; The uplink transmission data and / or the downlink reception data are analyzed, and in response to at least one of the following occurrences, data collection from the auxiliary transmission port and / or the auxiliary reception port is stopped: A decoding error occurs in the downlink received data or the uplink transmitted data; The downlink decoded data obtained by decoding the downlink received data includes first preset information; A stop acquisition instruction is received; The wireless communication chip includes a radio frequency module, a radio frequency front end, a first digital-to-analog converter, and a second digital-to-analog converter; the radio frequency module, the radio frequency front end, the first digital-to-analog converter, and the main receiving port constitute a main downlink data path; the radio frequency module, the radio frequency front end, the second digital-to-analog converter, and the auxiliary receiving port constitute an auxiliary downlink data path; Among them, the wireless communication chip also includes a first digital-to-analog converter, a second digital-to-analog converter, a first transmitting digital front end, and a second transmitting digital front end; the radio frequency module, the radio frequency front end, the first digital-to-analog converter and the first transmitting digital front end constitute a main uplink data path; the radio frequency module, the radio frequency front end, the second digital-to-analog converter and the second transmitting digital front end constitute an auxiliary uplink data path.

2. The method according to claim 1, wherein: The method further comprises: The collected data is stored in a non-volatile memory in the wireless communication chip in a file format, and the data in the non-volatile memory is stored in a circular queue.

3. A data acquisition device, applied to a wireless communication chip, wherein the wireless communication chip comprises a main transmitting port, an auxiliary transmitting port, a main receiving port and an auxiliary receiving port, wherein the data of the main transmitting port and the auxiliary transmitting port are consistent, and the data of the main receiving port and the auxiliary receiving port are consistent, and the device comprises: a collection unit, configured to collect data from the auxiliary transmitting port and / or the auxiliary receiving port in response to receiving a data collection instruction, to obtain uplink transmission data and / or downlink reception data; The analyzing unit is configured to analyze the uplink transmission data and / or the downlink reception data, and stop collecting data from the auxiliary transmission port and the auxiliary reception port in response to at least one of the following: A decoding error occurs in the downlink received data or the uplink transmitted data; or The downlink decoded data obtained by decoding the downlink received data includes the first preset information; or A stop acquisition instruction is received; The wireless communication chip includes a radio frequency module, a radio frequency front end, a first digital-to-analog converter, and a second digital-to-analog converter; the radio frequency module, the radio frequency front end, the first digital-to-analog converter, and the main receiving port constitute a main downlink data path; the radio frequency module, the radio frequency front end, the second digital-to-analog converter, and the auxiliary receiving port constitute an auxiliary downlink data path; Among them, the wireless communication chip also includes a first digital-to-analog converter, a second digital-to-analog converter, a first transmitting digital front end, and a second transmitting digital front end; the radio frequency module, the radio frequency front end, the first digital-to-analog converter and the first transmitting digital front end constitute a main uplink data path; the radio frequency module, the radio frequency front end, the second digital-to-analog converter and the second transmitting digital front end constitute an auxiliary uplink data path.

4. The device according to claim 3, wherein: The device also includes: The storage unit is configured to store the collected data in a non-volatile memory in the wireless communication chip in a file format, and the data in the non-volatile memory is stored in a circular queue.

5. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-2.

6. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.