CN113568872A - TWS equipment and log saving and reading method, device and medium thereof - Google Patents

TWS equipment and log saving and reading method, device and medium thereof Download PDF

Info

Publication number
CN113568872A
CN113568872A CN202110858024.0A CN202110858024A CN113568872A CN 113568872 A CN113568872 A CN 113568872A CN 202110858024 A CN202110858024 A CN 202110858024A CN 113568872 A CN113568872 A CN 113568872A
Authority
CN
China
Prior art keywords
log
storage space
target storage
tws
flash
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110858024.0A
Other languages
Chinese (zh)
Inventor
于会泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110858024.0A priority Critical patent/CN113568872A/en
Publication of CN113568872A publication Critical patent/CN113568872A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a TWS device, a log saving and reading method and device thereof, and a computer readable storage medium, wherein the method comprises the following steps: determining a target storage space, wherein the target storage space is positioned on address fields of non-Flash and non-RAM; saving the log of the TWS device to the target storage space; and storing the address information of the target storage space in a log storage area of Flash. According to the method and the device, the log data are stored in the target storage space which is not Flash and not RAM, the log storage area in Flash only needs to store the address information of the target storage space, the increase of executable files caused by the log data is effectively avoided, the storage of the off-line log is realized in a mode of reducing the memory occupation to the greatest extent, the storage space is reserved for more useful service logic codes, and the hardware requirement cost is reduced.

Description

TWS equipment and log saving and reading method, device and medium thereof
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a TWS device, a log saving method and a log reading method thereof, and a device and a computer-readable storage medium thereof.
Background
In recent years, TWS (True Wireless Stereo) products have become popular, and the variety of products has become more and more abundant.
Taking the TWS headset as an example, the functions that the headset needs to be equipped with are increasingly powerful, the system is increasingly complex, and the debugging work performed by the headset developer is increasingly important. Generally, a debugging mode of the earphone adopts a mode of printing logs by a serial port. When the earphone is already combined into a complete machine without a serial port, the log needs to be saved (at this time, the log is generally called as an offline log).
At present, a plurality of off-line log realization modes exist, and the log is generally not stored in a mode of directly storing character strings in consideration of the condition that the resources of a small embedded system, such as an earphone, are limited. The general method is that the attribute that the character string constant is positioned at the Text end in the compiling principle of the computer is utilized, because the character string is already positioned in the executable file, the log is printed only by storing the corresponding character string address, and the corresponding log information can be found by conducting back-check in the executable file by utilizing the stored address after the log is exported.
However, in this method, since the compiler puts the log information into the executable file by default, the size of the executable file is increased, and if the log information is too much, the executable file becomes very large. In view of the above, it is an important need for those skilled in the art to provide a solution to the above technical problems.
Disclosure of Invention
The application aims to provide a TWS device, a log saving and reading method and device thereof, and a computer readable storage medium, so that an offline log can be effectively saved under the condition of not occupying an executable file.
In order to solve the technical problem, on one hand, the application discloses a log saving method in TWS equipment, which includes:
determining a target storage space, wherein the target storage space is positioned on address fields of non-Flash and non-RAM;
saving the log of the TWS device to the target storage space;
and storing the address information of the target storage space in a log storage area of Flash.
Optionally, the determining the target storage space includes:
and dividing an address segment in the storage space of the ELF file as the target storage space.
Optionally, the dividing an address segment in a storage space of the ELF file as the target storage space includes:
and dividing a section of high-order address section in the storage space of the ELF file as the target storage space.
Optionally, the saving the log of the TWS device to the target storage space includes:
extracting a character string in a log of the TWS device;
and saving the character string to the target storage space.
In another aspect, the present application further discloses a log saving apparatus in a TWS device, including:
the determining module is used for determining a target storage space, and the target storage space is positioned on the address fields of non-Flash and non-RAM;
the storage module is used for storing the log of the TWS device into the target storage space;
and the recording module is used for storing the address information of the target storage space in a log storage area of Flash.
Optionally, the determining module is specifically configured to, when determining the target storage space:
and dividing an address segment in the storage space of the ELF file as the target storage space.
Optionally, when the determining module divides a segment of address field in the storage space of the ELF file as the target storage space, the determining module is specifically configured to:
and dividing a section of high-order address section in the storage space of the ELF file as the target storage space.
Optionally, when the saving module saves the log of the TWS device into the target storage space, the saving module is specifically configured to:
extracting a character string in a log of the TWS device; and saving the character string to the target storage space.
In another aspect, the present application discloses a log reading method in a TWS device, including:
reading data in a log storage area in Flash of the TWS equipment;
reading the address information of the target storage space of each log one by one from the data; the target storage space is positioned on the address fields of the non-Flash and non-RAM;
and reading the log of the TWS equipment from the target storage space according to the address information.
Optionally, the target storage space is specifically a segment of an address in a storage space of the ELF file.
Optionally, the target storage space is specifically a section of a high-order address section in a storage space of the ELF file.
Optionally, the target storage space is specifically used for storing a character string in a log of the TWS product.
In another aspect, the present application further discloses a log reading apparatus in a TWS device, including:
the reading module is used for reading data in a log storage area in Flash of the TWS equipment;
the acquisition module is used for acquiring the address information of the target storage space of each log one by one from the data; the target storage space is positioned on the address fields of the non-Flash and non-RAM;
and the analysis module is used for reading the log of the TWS equipment from the target storage space according to the address information.
In another aspect, the present application also discloses a TWS device, including:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the log saving method in any one of the TWS devices as described above, or to implement the steps of the log reading method in any one of the TWS devices as described above.
In yet another aspect, the present application also discloses a computer readable storage medium having stored therein a computer program which, when executed by a processor, is adapted to implement the steps of the log saving method in any one of the TWS devices as described above, or to implement the steps of the log reading method in any one of the TWS devices as described above.
The TWS equipment, the log saving and reading method and device thereof and the computer readable storage medium have the advantages that: according to the method and the device, the log data are stored in the target storage space of non-Flash and non-RAM in advance, the target storage space can be searched to obtain the log data according to the address information of the target storage space recorded in the log storage area in Flash, the increase of an executable file caused by the log data is effectively avoided, the storage and reading of the off-line log are realized in a mode of reducing the memory occupation to the maximum extent, the storage space is reserved for more useful service logic codes, and the hardware requirement cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a schematic diagram of a log saving method in a TWS device in the prior art;
fig. 2 is a flowchart of a log saving method in a TWS device according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a log saving method in a TWS device according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a structure of a log saving apparatus in a TWS device according to an embodiment of the present application;
fig. 5 is a flowchart of a log reading method in a TWS device according to an embodiment of the present disclosure;
fig. 6 is a block diagram illustrating a structure of a log reading apparatus in a TWS device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a TWS device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a TWS device, a log saving and reading method and device thereof, and a computer readable storage medium, so as to effectively save an offline log under the condition of not occupying an executable file.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Currently, for a small embedded TWS device such as a TWS (True Wireless Stereo) headset, a generally-used offline log implementation manner may specifically refer to fig. 1. The log character string is stored in the executable file by utilizing the attribute that the character string is usually positioned at the Text end in the compiling principle of a computer, the log is printed only by storing the corresponding character string address, and the corresponding log information is found by utilizing the stored address to carry out reverse check in the executable file after the log is exported.
As shown in FIG. 1, the shaded portion (labeled "This is log") in the executable file area is stored as a log string. On the other hand, in the lower log storage area, the log _ address, which is the storage address of the log character string, is stored. Therefore, when the log information is more, the executable file is long and large, the Flash resource is excessively occupied, and especially the influence on a small embedded system with insufficient Flash resource is large. In view of this, the present application provides a log saving scheme in a TWS device, which can effectively solve the above problem.
Referring to fig. 2, an embodiment of the present application discloses a log saving method in a TWS device, which mainly includes:
s101: and determining a target storage space, wherein the target storage space is positioned on the address fields of the non-Flash and the non-RAM.
S102: and saving the log of the TWS device to a target storage space.
S103: and storing the address information of the target storage space in a log storage area of the Flash.
Specifically, in the log saving method in the TWS device provided in the embodiment of the present application, a segment of storage space, called a target storage space, is specifically divided in advance in the TWS device, and is used for storing the log of the TWS device. Among other things, it is emphasized that the target memory space must not be located within the effective address space of Flash and RAM of the TWS device.
The Flash is mainly used for storing executable files of the TWS equipment, and when the TWS equipment is started and operated, the system can automatically carry relevant data from the Flash to the memory for initialization operation. In order to avoid increasing executable files for saving log information and further prevent occupation of excessive Flash resources, particularly for TWS equipment with insufficient rich Flash resources, the method specifically stores the log of the TWS equipment in a target storage space which is not Flash and not RAM.
Of course, as for the size of the target storage space, a person skilled in the art may set the target storage space reasonably according to the actual needs of the TWS device, and the application does not limit this.
Because the equipment such as the TWS earphone has small volume and limited resources, in order to reduce the occupation of a memory, the method stores the log data in a target storage space which is not Flash and is not RAM, and only stores the address information of the target storage space in a log storage area in Flash. The log storage area is a segment of storage space divided in Flash in advance, and is dedicated to storing the storage address information of log data, namely the address information of the target storage space.
Obviously, if only address information is stored, the size of the occupied space is obviously much smaller than the space required by log data. Therefore, the method and the device can realize the storage of the off-line log, effectively reduce the memory resource occupation of the log data on the TWS equipment, reserve the storage space for more useful service logic codes and reduce the hardware requirement cost.
Therefore, the log saving method in the TWS device stores the log data in the target storage space which is not Flash and is not RAM, the log saving area in Flash only needs to store the address information of the target storage space, the increase of the executable file caused by the log data is effectively avoided, the offline log is saved in a mode of reducing the memory occupation to the maximum extent, the storage space is reserved for more useful service logic codes, and the hardware requirement cost is reduced.
As a specific embodiment, the log saving method in the TWS device according to the embodiment of the present application determines, on the basis of the foregoing content, a target storage space, and includes:
and dividing an address segment in the storage space of the ELF file as a target storage space.
Specifically, the present embodiment specifically places log data in a specified ELF segment using the compiling principle of a computer. That is, one address segment in the ELF segment is divided as a target storage space. Specifically, by combining the characteristics of the computer compiler and the linker, the data in the target storage space in the ELF segment is not output to the executable file, and therefore, the embodiment specifically stores the log data in the target storage space in the ELF segment, which can effectively avoid the size increase of the executable file caused by the log data, and further reserve a storage space for more useful business logic codes, and reduce the hardware requirement cost.
Specifically, referring to fig. 3, fig. 3 is a schematic diagram of a log saving method in a TWS device disclosed in an embodiment of the present application. As shown in fig. 3, the log data is saved on the ELF segment, which is not Flash and not RAM; the address of the address field is written into the log storage area in Flash. Therefore, the log data is only kept in the ELF file when the computer compiles, and is not output to Flash to increase the size of the executable file.
As a specific embodiment, the log saving method in the TWS device according to the embodiment of the present application, on the basis of the foregoing content, divides an address segment in a storage space of an ELF file as a target storage space, and includes:
and dividing a section of high-order address section in the storage space of the ELF file as a target storage space.
Specifically, when the target storage space is divided from the ELF segment to store the log data, the upper address segment of the ELF segment may be specifically selected, for example, on 0 xfffffff 00 may be specifically selected. Of course, those skilled in the art can select other specific address segments, which is not limited in this application.
As a specific embodiment, the method for saving a log in a TWS device according to the embodiment of the present application, based on the above contents, saves the log in the TWS device to a target storage space, and includes:
extracting character strings in a log of the TWS equipment;
and saving the character string to a target storage space.
Specifically, the data recorded in the log is specifically the content of a character string for recording the relevant operation activity of the TWS device, and the relevant parameters involved therein are generally dynamically assigned during the relevant operation of the device.
Referring to fig. 4, an embodiment of the present application discloses a log saving apparatus in a TWS device, which mainly includes:
a determining module 201, configured to determine a target storage space, where the target storage space is located in an address segment of a non-Flash and a non-RAM;
a saving module 202, configured to save the log of the TWS device to a target storage space;
and the recording module 203 is used for storing the address information of the target storage space in the log saving area of the Flash.
Therefore, the log saving device in the TWS device disclosed in the embodiment of the present application stores log data in a target storage space that is not Flash and is not RAM, and the log saving area in Flash only needs to store address information of the target storage space, thereby effectively avoiding an increase in executable files caused by the log data, saving offline logs in a manner of reducing memory occupation to the greatest extent, reserving storage space for more useful service logic codes, and reducing hardware requirement cost.
For specific contents of the log saving device in the TWS device, reference may be made to the foregoing detailed description of the log saving method in the TWS device, and details thereof are not repeated here.
As a specific embodiment, on the basis of the foregoing, the determining module 201 of the log saving apparatus in the TWS device disclosed in the embodiment of the present application is specifically configured to:
and dividing an address segment in the storage space of the ELF file as a target storage space.
As a specific embodiment, on the basis of the above content, when the determining module 201 divides an address segment in the storage space of the ELF file as the target storage space, the log saving apparatus in the TWS device disclosed in the embodiment of the present application is specifically configured to:
and dividing a section of high-order address section in the storage space of the ELF file as a target storage space.
As a specific embodiment, in the log saving apparatus in the TWS device disclosed in the embodiment of the present application, on the basis of the foregoing, when the saving module 202 saves the log of the TWS device into the target storage space, specifically, it is configured to:
extracting character strings in a log of the TWS equipment; and saving the character string to a target storage space.
Referring to fig. 5, an embodiment of the present application discloses a log reading method in a TWS device, which mainly includes:
s301: and reading data in a log storage area in Flash of the TWS equipment.
S302: reading the address information of the target storage space of each log one by one from the data; the target memory space is located on the address segments of non-Flash and non-RAM.
S303: and reading the log of the TWS device from the target storage space according to the address information.
Specifically, the log reading method in the TWS device provided by the present application corresponds to the log saving method described above. After the log is saved according to the log saving method, when the log needs to be read, the data stored in the log saving area can be firstly exported from the earphone, then the address information of the target storage space corresponding to each log is read one by one, and the log data is obtained from the target storage space according to the address information, as shown in steps S301 to S303.
As a specific embodiment, in the log reading method in the TWS device disclosed in the embodiment of the present application, on the basis of the foregoing content, the target storage space is specifically an address field in the storage space of the ELF file.
As a specific embodiment, in the log reading method in the TWS device disclosed in the embodiment of the present application, on the basis of the foregoing, the target storage space is specifically a high address segment in the storage space of the ELF file.
As a specific embodiment, in the log reading method in the TWS device disclosed in the embodiment of the present application, on the basis of the above contents, the target storage space is specifically used for storing a character string in a log of a TWS product.
Further, a corresponding parsing tool may be developed for locking out the target storage space from the ELF file, so as to parse the character string of the obtained log from the ELF file.
Therefore, the log reading method in the TWS device disclosed in the embodiment of the present application stores the log data in the target storage space of non-Flash and non-RAM in advance, and can search the target storage space to obtain the log data according to the address information of the target storage space recorded in the log storage area in Flash, thereby effectively avoiding the increase of the executable file caused by the log data, realizing the storage and reading of the offline log in a manner of reducing the memory occupation to the greatest extent, and effectively ensuring the operating performance of the TWS device.
Referring to fig. 6, an embodiment of the present application discloses another log reading apparatus in a TWS device, which mainly includes:
the reading module 401 is configured to read data in a log storage area in Flash of the TWS device;
an obtaining module 402, configured to obtain address information of a target storage space of each log one by one from data; the target storage space is positioned on the address fields of the non-Flash and non-RAM;
and the parsing module 403 is configured to read a log of the TWS device from the target storage space according to the address information.
As a specific embodiment, in the log reading apparatus in the TWS device disclosed in the embodiment of the present application, on the basis of the foregoing, the target storage space is specifically an address field in the storage space of the ELF file.
As a specific embodiment, in the log reading apparatus in the TWS device disclosed in this embodiment of the present application, on the basis of the foregoing, the target storage space is specifically a high address segment in the storage space of the ELF file.
As a specific embodiment, the log reading apparatus in the TWS device disclosed in the embodiment of the present application is specifically configured to store the character string in the log of the TWS product on the basis of the above contents.
Therefore, the log saving device in the TWS device disclosed in the embodiment of the present application stores the log data in the target storage space of non-Flash and non-RAM in advance, and can search the target storage space to obtain the log data according to the address information of the target storage space recorded in the log saving area in Flash, thereby effectively avoiding the increase of executable files caused by the log data, realizing the saving and reading of offline logs in a manner of reducing the memory occupation to the greatest extent, reserving storage space for more useful service logic codes, and reducing the hardware requirement cost.
For specific contents of the log saving device in the TWS device, reference may be made to the foregoing detailed description of the log saving method in the TWS device, and details thereof are not repeated here.
Referring to fig. 7, an embodiment of the present application discloses a TWS device, including:
a memory 501 for storing a computer program;
a processor 502 for executing the computer program to implement the steps of the log saving method or the log reading method in any one of the TWS devices as described above.
Further, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored, and the computer program is used for implementing the steps of the log saving method or the log reading method in any one of the TWS devices as described above when being executed by a processor.
For details of the TWS device and the computer-readable storage medium, reference may be made to the foregoing detailed description of the log saving method in the TWS device, and details thereof are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the equipment disclosed by the embodiment, the description is relatively simple because the equipment corresponds to the method disclosed by the embodiment, and the relevant parts can be referred to the method part for description.
It is further noted that, throughout this document, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, 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 may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall into the protection scope of the present application.

Claims (10)

1. A log saving method in a TWS device is characterized by comprising the following steps:
determining a target storage space, wherein the target storage space is positioned on address fields of non-Flash and non-RAM;
saving the log of the TWS device to the target storage space;
and storing the address information of the target storage space in a log storage area of Flash.
2. The log saving method of claim 1, wherein the determining the target storage space comprises:
and dividing an address segment in the storage space of the ELF file as the target storage space.
3. The log saving method of claim 2, wherein the dividing an address segment in a storage space of the ELF file as the target storage space comprises:
and dividing a section of high-order address section in the storage space of the ELF file as the target storage space.
4. The log saving method of claim 3, wherein the saving the log of the TWS device into the target storage space comprises:
extracting a character string in a log of the TWS device;
and saving the character string to the target storage space.
5. A log saving apparatus in a TWS device, comprising:
the determining module is used for determining a target storage space, and the target storage space is positioned on the address fields of non-Flash and non-RAM;
the storage module is used for storing the log of the TWS device into the target storage space;
and the recording module is used for storing the address information of the target storage space in a log storage area of Flash.
6. A log reading method in a TWS device is characterized by comprising the following steps:
reading data in a log storage area in Flash of the TWS equipment;
reading the address information of the target storage space of each log one by one from the data; the target storage space is positioned on the address fields of the non-Flash and non-RAM;
and reading the log of the TWS equipment from the target storage space according to the address information.
7. The log reading method according to claim 6, wherein the target storage space is an address segment in a storage space of an ELF file.
8. A log reading apparatus in a TWS device, comprising:
the reading module is used for reading data in a log storage area in Flash of the TWS equipment;
the acquisition module is used for acquiring the address information of the target storage space of each log one by one from the data; the target storage space is positioned on the address fields of the non-Flash and non-RAM;
and the analysis module is used for reading the log of the TWS equipment from the target storage space according to the address information.
9. A TWS device, comprising:
a memory for storing a computer program;
a processor for executing the computer program for implementing the steps of the log saving method in a TWS device according to any of claims 1 to 4 or for implementing the steps of the log reading method in a TWS device according to claim 5 or 6.
10. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, which computer program, when being executed by a processor, is adapted to carry out the steps of the log saving method in a TWS device according to any one of claims 1 to 4, or the steps of the log reading method in a TWS device according to claim 5 or 6.
CN202110858024.0A 2021-07-28 2021-07-28 TWS equipment and log saving and reading method, device and medium thereof Pending CN113568872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110858024.0A CN113568872A (en) 2021-07-28 2021-07-28 TWS equipment and log saving and reading method, device and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110858024.0A CN113568872A (en) 2021-07-28 2021-07-28 TWS equipment and log saving and reading method, device and medium thereof

Publications (1)

Publication Number Publication Date
CN113568872A true CN113568872A (en) 2021-10-29

Family

ID=78168565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110858024.0A Pending CN113568872A (en) 2021-07-28 2021-07-28 TWS equipment and log saving and reading method, device and medium thereof

Country Status (1)

Country Link
CN (1) CN113568872A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016771A1 (en) * 1999-12-14 2002-02-07 Kevin Carothers System and method for managing financial transaction information
CN106408790A (en) * 2016-08-26 2017-02-15 恒银金融科技股份有限公司 Write-in method and read method for log information of circulation movement of financial equipment
US20170134258A1 (en) * 2015-11-09 2017-05-11 Vinoth Kumar Debugger for wireless sensor networks
CN106951521A (en) * 2017-03-20 2017-07-14 广东欧珀移动通信有限公司 The reading/writing method of journal file, apparatus and system
CN108829342A (en) * 2018-05-09 2018-11-16 青岛海信宽带多媒体技术有限公司 A kind of log storing method, system and storage device
CN108924683A (en) * 2018-06-06 2018-11-30 歌尔科技有限公司 A kind of daily record data store method, device and TWS earphone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016771A1 (en) * 1999-12-14 2002-02-07 Kevin Carothers System and method for managing financial transaction information
US20170134258A1 (en) * 2015-11-09 2017-05-11 Vinoth Kumar Debugger for wireless sensor networks
CN106408790A (en) * 2016-08-26 2017-02-15 恒银金融科技股份有限公司 Write-in method and read method for log information of circulation movement of financial equipment
CN106951521A (en) * 2017-03-20 2017-07-14 广东欧珀移动通信有限公司 The reading/writing method of journal file, apparatus and system
CN108829342A (en) * 2018-05-09 2018-11-16 青岛海信宽带多媒体技术有限公司 A kind of log storing method, system and storage device
CN108924683A (en) * 2018-06-06 2018-11-30 歌尔科技有限公司 A kind of daily record data store method, device and TWS earphone

Similar Documents

Publication Publication Date Title
US8566372B2 (en) Method and device for dynamically loading relocatable file
US10649905B2 (en) Method and apparatus for storing data
KR20140014146A (en) Multi-phase resume from hibernate
US9792132B2 (en) Code generator and method for generating extra code for a virtual machine
US9032115B2 (en) Method and device for passing parameters between processors
CN104881318A (en) Interface calling method and device and terminal
CN112559088A (en) Configuration file optimization method, device, server and storage medium
CN112732321A (en) Firmware modification method and device, computer readable storage medium and equipment
KR20070063132A (en) Apparatus and method for manage a bad block
CN106484375B (en) Instruction block loading method, soft switch equipment and system
CN113568872A (en) TWS equipment and log saving and reading method, device and medium thereof
CN113064556A (en) BIOS data storage method, device, equipment and storage medium
CN107643892B (en) Interface processing method, device, storage medium and processor
CN110618946A (en) Stack memory allocation method, device, equipment and storage medium
EP2854036A1 (en) Storage space mapping method and device
CN101770508B (en) Data access method in mobile communication terminal and equipment thereof
CN115543859A (en) Wear leveling optimization method, device, equipment and medium for multi-partition SSD
CN112948173A (en) Data recovery method, device, equipment and medium
CN102693325B (en) File storing method and device
CN111562983A (en) Memory optimization method and device, electronic equipment and storage medium
CN109408547A (en) A kind of read method of SAM registration table reads system and relevant apparatus
CN112965822B (en) Method for optimizing memory performance of javaScript/typeScript program by using array pool
KR100652578B1 (en) Memory management apparatus for mobile device and method thereof
CN109522122B (en) Memory management method, system, device and computer readable storage medium
CN115878851A (en) Method and device for editing XML file, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination