CN112948134A - Communication data tracing acquisition method and device, server and storage medium - Google Patents

Communication data tracing acquisition method and device, server and storage medium Download PDF

Info

Publication number
CN112948134A
CN112948134A CN201911254121.8A CN201911254121A CN112948134A CN 112948134 A CN112948134 A CN 112948134A CN 201911254121 A CN201911254121 A CN 201911254121A CN 112948134 A CN112948134 A CN 112948134A
Authority
CN
China
Prior art keywords
data
storage
received signal
area
currently received
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
CN201911254121.8A
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.)
Tianjin Optical Electrical Communication Technology Co Ltd
Original Assignee
Tianjin Optical Electrical Communication Technology 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 Tianjin Optical Electrical Communication Technology Co Ltd filed Critical Tianjin Optical Electrical Communication Technology Co Ltd
Priority to CN201911254121.8A priority Critical patent/CN112948134A/en
Publication of CN112948134A publication Critical patent/CN112948134A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7817Specially adapted for signal processing, e.g. Harvard architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Abstract

The embodiment of the invention discloses a communication data tracing acquisition method, a device, a server and a storage medium, wherein the method comprises the following steps: whether the length of the currently received signal exceeds a set storage threshold value or not is detected, when the length of the currently received signal exceeds the set storage threshold value, the currently received signal can be determined to be communication data needing to be subjected to disk dropping, the received signal data is transferred into a data buffer storage area to be stored, and a process lock is added to a writing process. The process of manually triggering acquisition can be omitted, and the response time is shortened; and circularly covering the data in the buffer area when the data are not acquired until the acquisition is started, and leading the data out of the buffer area for storage. The corresponding storage space is saved, and the tracing acquisition of the signal data can be effectively realized.

Description

Communication data tracing acquisition method and device, server and storage medium
Technical Field
The invention relates to the technical field of electronic communication, in particular to a communication data tracing and collecting method, a device, a server and a storage medium.
Background
The virtual spectrum analyzer can perform spectrum analysis on the signal generated by the virtual signal generator. The spectrum analysis can also be carried out on the external signals collected by a collection system consisting of daq cards based on a pci bus through a signal conditioner. When the external signal is subjected to spectrum analysis, the external signal to be tested is firstly transmitted to the signal conditioning circuit, the signal conditioning circuit performs amplification, filtering, isolation and other processing on the external signal, the external signal to be tested is subjected to a/d conversion by the data acquisition card so as to convert the analog signal into a digital signal, then the software performs spectrum analysis and processing on the signal to be tested, and finally, a test result is obtained and displayed or stored according to requirements.
With the continuous development of signal detection equipment, the data uploading amount in unit time is larger and larger, and the complete storage of data for signal analysis becomes difficult to realize, so that how to rapidly and timely store the relevant data of effective signals becomes the main problem of the current signal analysis equipment supporting software. Analog data acquisition can be carried out when a signal exceeding a threshold value is detected through a signal identification algorithm.
In the process of implementing the invention, the inventor finds the following technical problems: analog data acquisition can be carried out when a signal exceeding a threshold value is detected by a signal identification algorithm, but the initial information data when the signal appears can be lost by the acquisition mode,
disclosure of Invention
The embodiment of the invention provides a communication data tracing and collecting method, a device, a server and a storage medium, which aim to solve the technical problems.
In a first aspect, an embodiment of the present invention provides a method for tracing and acquiring communication data, including:
detecting whether a currently received signal exceeds a stored threshold;
and when the storage threshold value is exceeded, transferring the currently received signal into a data buffer storage area for storage, and writing the data buffer storage area into a process and adding the process into a process lock.
Further, the detecting whether the currently received signal exceeds a stored threshold includes:
acquiring a data start index and a data end index in a received signal, and determining the data volume according to the data start index and the data end index of the data;
and determining whether a storage threshold value is exceeded or not according to the data size.
Further, the transferring the currently received signal to a data buffer storage area for storage includes:
and when the data volume is smaller than the free area of the data buffer storage area, storing the currently received signal into the data buffer storage area.
Further, the transferring the currently received signal to a data buffer storage area for storage includes:
when the data volume is larger than the idle area of the data buffer storage area, determining a coverable area according to the identification bit of the occupied area;
the currently received signal is written directly to the coverable area.
Further, the transferring the currently received signal to a data buffer storage area for storage includes:
acquiring the number of bytes and the number of remaining bytes of a currently written signal;
and when the number of the remaining bytes is larger than that of the remaining idle area, acquiring the data in the processed data counter, and when the number of the data is larger than that of the remaining bytes, clearing the corresponding data.
Further, the data buffer area is 500MB, 1GB and 2 GB.
In a second aspect, an embodiment of the present invention further provides a communication data tracing acquisition apparatus, including:
a detection module for detecting whether a currently received signal exceeds a storage threshold;
and the storage module is used for transferring the currently received signal to a data buffer storage area for storage when the storage threshold value is exceeded, and writing the data buffer storage area into a process and adding the process into the process lock.
Further, the detection module includes:
the data volume determining unit is used for acquiring a data start index and a data end index in the received signal and determining the data volume according to the data start index and the data end index of the data;
and the detection unit is used for determining whether the data size exceeds a storage threshold value.
Further, the storage module includes:
and the first storage unit is used for storing the currently received signal into the data buffer storage area when the data volume is smaller than the free area of the data buffer storage area.
Further, the storage module includes:
the coverable area determining unit is used for determining the coverable area according to the identification bit of the occupied area when the data volume is larger than the idle area of the data buffer storage area;
and the writing unit is used for directly writing the currently received signal into the coverable area.
Further, the storage module is configured to:
the acquisition unit is used for acquiring the number of bytes and the remaining number of bytes of the currently written signal;
and the emptying unit is used for acquiring the data in the processed data counter when the number of the remaining bytes is greater than that of the remaining idle area, and emptying the corresponding data when the number of the data is greater than that of the remaining bytes.
Further, the data buffer area is 500MB, 1GB and 2 GB.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement any of the communication data trace-back collection methods provided by the above embodiments.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the communication data trace-back acquisition method according to any one of the embodiments.
According to the communication data tracing acquisition method, the device, the server and the storage medium provided by the embodiment of the invention, whether the length of the currently received signal exceeds the set storage threshold value or not is detected, when the length of the currently received signal exceeds the set storage threshold value, the currently received signal can be determined to be communication data needing to be landed, the received signal data is transferred to the data buffer storage area to be stored, and a process lock is added to a writing process, so that the manual mode can be changed into the automatic mode, meanwhile, the process of manually triggering acquisition can be omitted, and the response time is shortened; and circularly covering the data in the buffer area when the data are not acquired until the acquisition is started, and leading the data out of the buffer area for storage. The corresponding storage space is saved, and the tracing acquisition of the signal data can be effectively realized.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic flow chart of a communication data trace-back acquisition method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a communication data tracing acquisition device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flow chart of a method for tracing and acquiring communication data according to an embodiment of the present invention, which is applicable to a situation of tracing and acquiring communication data, and is particularly applicable to a situation of a large communication data chain. The method can be executed by a communication data tracing and collecting device, and the device can be realized in a software/hardware mode. The method can be integrated in a communication data processing server, and specifically comprises the following steps:
s110, it is detected whether the currently received signal exceeds a stored threshold.
In this embodiment, the received signal is stored in a buffer, and may be written in the buffer in a circular write overlay manner. And monitors over time whether the currently received signal exceeds a stored threshold.
Illustratively, the detecting whether the currently received signal exceeds a stored threshold includes: acquiring a data start index and a data end index in a received signal, and determining the data volume according to the data start index and the data end index of the data; and determining whether a storage threshold value is exceeded or not according to the data size. According to the buffered signal, the start index and the end index are determined according to the corresponding identification in the signal. The amount of data is determined from the start index and the end index, and a determination is made whether a storage threshold is exceeded based on the size of the amount of data.
In this embodiment, the above-mentioned manner can be implemented by the following statements:
// data start index public int DataEnd { get; set; }// end of data index public RingBufferManager (int bufferSize) { DataCount ═ 0; DataStart ═ 0; DataEnd ═ 0; buffer ═ new byte [ bufferSize ]; }
And S120, when the storage threshold value is exceeded, transferring the currently received signal into a data buffer storage area for storage, and writing the data buffer storage area into a process and adding the process into a process lock.
In this embodiment, the spectrum display is opened and the analog data channel is opened at the same time, the analog data is stored in a well-defined buffer area, and when the acquisition is not performed, the data in the buffer area is cyclically covered until the acquisition is started, and the data is exported from the buffer area for storage. Specifically, writing data in the buffer may include the following cases:
1) and when the data volume is smaller than the free area of the data buffer storage area, storing the currently received signal into the data buffer storage area.
2) When the data volume is larger than the idle area of the data buffer storage area, determining the coverable area according to the identification bit of the occupied area; the currently received signal is written directly to the coverable area.
3) Acquiring the byte number and the residual byte number of the currently written signal; and when the number of the remaining bytes is larger than that of the remaining idle area, acquiring the data in the processed data counter, and when the number of the data is larger than that of the remaining bytes, clearing the corresponding data.
If there is a blank area in the data buffer area larger than the data amount, the data amount may be determined according to the start and end indexes in the above steps. Signal data can be written directly into the free area.
If there is no empty area in the data buffer, it needs to be checked whether there is an coverable area, which may include the corresponding data that has been stored off-disk. Or data that has been invalidated, etc. Therefore, the corresponding flag bit can be determined according to the data table in the cache region, and the coverable region can be determined according to the flag bit. Data is written directly to the coverable area.
Or acquiring the number of bytes and the number of remaining bytes of the currently written signal; and when the number of the remaining bytes is larger than that of the remaining idle area, acquiring the data in the processed data counter, and when the number of the data is larger than that of the remaining bytes, clearing the corresponding data. And judging whether the residual space can meet the storage requirement according to the byte number of the received signal, and emptying the data when the storage requirement is not met so as to facilitate writing of the data.
The above several ways can be realized by the following codes:
acquiring the currently written byte number { return DataCount; obtaining the number of the remaining bytes { return buffer. Length-DataCount; public void Clear () { DataCount ═ 0; the method comprises the steps of } public void Clear (int count)// clearing data of a specified size { if (count > ═ DataCount)// if the data needing clearing is larger than the existing data size, clearing all { DataCount ═ 0; DataStart ═ 0; DataEnd ═ 0; else { if (DataStart + count >) { buffer.length) { DataStart ═ DataStart + count) } buffer.length; else { DataStart + } count; tatacount-count; { public void write buffer (byte [ ] buffer, Int offset, Int count) { Int32 reserveCount ═ buffer, length-DataCount; if (reserved count)// available space can be used { if (DataEnd + count < buffer.length)// data does not end { array.copy (Buffer, offset, Buffer, DataEnd, count); DataEnd + ═ count; DataCount + ═ count; else// end of data index out of end loop to start system. Int32 overflowindexength ═(DataEnd + count) -buffer. // exceed index length Int32 endpushindextlength, count-overflowindextlength; copy (Buffer, offset, Buffer, DataEnd, endpushindextlength) of data length padded at the end; DataEnd ═ 0; offset + (endpushindenlength); DataCount + (endPushIndexLength); if (overlaflo indexength | ═ 0) { array. -DataEnd + - (overflowindexength; // end index DataCount + ═ overflowindexength;
optionally, the data buffer storage area is 500MB, 1GB and 2 GB. The simulation data of 1 second, 2 seconds and 4 seconds can be cached respectively, the data are continuously covered when the acquisition is not started, and the data are started to be output and stored in files after the acquisition is started. And writing the data buffer memory area into a process and adding the process into a process lock so as to avoid interference caused by other operations on the data buffer memory area and avoid the condition of data inconsistency.
According to the embodiment, whether the length of the currently received signal exceeds a set storage threshold value is detected, when the length of the currently received signal exceeds the set storage threshold value, the currently received signal can be determined to be communication data needing to be subjected to tray dropping, the received signal data is transferred to a data buffer storage area to be stored, and a progress lock is added to a writing process, so that a manual mode can be changed into an automatic mode, meanwhile, the process of manually triggering acquisition can be omitted, and the response time is shortened; and circularly covering the data in the buffer area when the data are not acquired until the acquisition is started, and leading the data out of the buffer area for storage. The corresponding storage space is saved, and the tracing acquisition of the signal data can be effectively realized.
Example two
Fig. 2 is a schematic structural diagram of a communication data tracing acquisition device according to a second embodiment of the present invention, and as shown in fig. 2, the device includes:
a detection module 210 for detecting whether a currently received signal exceeds a stored threshold;
and the storage module 220 is configured to transfer the currently received signal to the data buffer storage area for storage when the storage threshold is exceeded, and write the data buffer storage area into the process joining process lock.
According to the communication data tracing and collecting device provided by the embodiment, whether the length of the currently received signal exceeds the set storage threshold value or not is detected, when the length of the currently received signal exceeds the set storage threshold value, the currently received signal can be determined to be communication data needing to be landed, the received signal data is transferred to the data buffer storage area to be stored, and a process lock is added to a writing process, so that a manual mode can be changed into an automatic mode, meanwhile, the process of manually triggering collection can be omitted, and the response time is shortened; and circularly covering the data in the buffer area when the data are not acquired until the acquisition is started, and leading the data out of the buffer area for storage. The corresponding storage space is saved, and the tracing acquisition of the signal data can be effectively realized.
On the basis of the above embodiments, the detection module includes:
the data volume determining unit is used for acquiring a data start index and a data end index in the received signal and determining the data volume according to the data start index and the data end index of the data;
and the detection unit is used for determining whether the data size exceeds a storage threshold value.
On the basis of the above embodiments, the storage module includes:
and the first storage unit is used for storing the currently received signal into the data buffer storage area when the data volume is smaller than the free area of the data buffer storage area.
On the basis of the above embodiments, the storage module includes:
the coverable area determining unit is used for determining the coverable area according to the identification bit of the occupied area when the data volume is larger than the idle area of the data buffer storage area;
and the writing unit is used for directly writing the currently received signal into the coverable area.
On the basis of the foregoing embodiments, the storage module is configured to:
the acquisition unit is used for acquiring the number of bytes and the remaining number of bytes of the currently written signal;
and the emptying unit is used for acquiring the data in the processed data counter when the number of the remaining bytes is greater than that of the remaining idle area, and emptying the corresponding data when the number of the data is greater than that of the remaining bytes.
On the basis of the above embodiments, the data buffer storage area is 500MB, 1GB and 2 GB.
The communication data tracing and collecting device provided by the embodiment of the invention can execute the communication data tracing and collecting method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a server according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of an exemplary server 12 suitable for use in implementing embodiments of the present invention. The server 12 shown in fig. 3 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 3, the server 12 is in the form of a general purpose computing device. The components of the server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the device/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the server 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the server 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes programs stored in the system memory 28 to execute various functional applications and data processing, for example, to implement the communication data trace collection method provided by the embodiment of the present invention.
Example four
The fourth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform the communication data trace back collection method provided in the foregoing embodiment.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A communication data tracing and collecting method is characterized by comprising the following steps:
detecting whether a currently received signal exceeds a stored threshold;
and when the storage threshold value is exceeded, transferring the currently received signal into a data buffer storage area for storage, and writing the data buffer storage area into a process and adding the process into a process lock.
2. The method of claim 1, wherein detecting whether the currently received signal exceeds a stored threshold comprises:
acquiring a data start index and a data end index in a received signal, and determining the data volume according to the data start index and the data end index of the data;
and determining whether a storage threshold value is exceeded or not according to the data size.
3. The method of claim 2, wherein transferring the currently received signal to a data buffer for storage comprises:
and when the data volume is smaller than the free area of the data buffer storage area, storing the currently received signal into the data buffer storage area.
4. The method of claim 3, wherein transferring the currently received signal to a data buffer for storage comprises:
when the data volume is larger than the idle area of the data buffer storage area, determining a coverable area according to the identification bit of the occupied area;
the currently received signal is written directly to the coverable area.
5. The method of claim 3, wherein transferring the currently received signal to a data buffer for storage comprises:
acquiring the number of bytes and the number of remaining bytes of a currently written signal;
and when the number of the remaining bytes is larger than that of the remaining idle area, acquiring the data in the processed data counter, and when the number of the data is larger than that of the remaining bytes, clearing the corresponding data.
6. The method of claim 1, wherein the data buffer storage is 500MB, 1GB, and 2 GB.
7. The utility model provides a communication data traces back collection system which characterized in that includes:
a detection module for detecting whether a currently received signal exceeds a storage threshold;
and the storage module is used for transferring the currently received signal to a data buffer storage area for storage when the storage threshold value is exceeded, and writing the data buffer storage area into a process and adding the process into the process lock.
8. The apparatus of claim 7, wherein the detection module comprises:
the data volume determining unit is used for acquiring a data start index and a data end index in the received signal and determining the data volume according to the data start index and the data end index of the data;
and the detection unit is used for determining whether the data size exceeds a storage threshold value.
9. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the communication data trace back collection method of any of claims 1-6.
10. A storage medium containing computer executable instructions for performing the communication data trace back acquisition method of any one of claims 1-6 when executed by a computer processor.
CN201911254121.8A 2019-12-10 2019-12-10 Communication data tracing acquisition method and device, server and storage medium Pending CN112948134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911254121.8A CN112948134A (en) 2019-12-10 2019-12-10 Communication data tracing acquisition method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911254121.8A CN112948134A (en) 2019-12-10 2019-12-10 Communication data tracing acquisition method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN112948134A true CN112948134A (en) 2021-06-11

Family

ID=76225147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911254121.8A Pending CN112948134A (en) 2019-12-10 2019-12-10 Communication data tracing acquisition method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112948134A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170105141A1 (en) * 2015-10-08 2017-04-13 Le Holdings (Beijing) Co., Ltd. Method for shortening a delay in real-time voice communication and electronic device
CN106951183A (en) * 2017-02-27 2017-07-14 南京杰迈视讯科技有限公司 A kind of web camera date storage method of high efficient and reliable
CN108259380A (en) * 2017-12-21 2018-07-06 安凯(广州)微电子技术有限公司 Method, system and the ethernet controller of Frame processes
CN110248205A (en) * 2018-09-03 2019-09-17 浙江大华技术股份有限公司 A kind of method and device that video record data are packaged

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170105141A1 (en) * 2015-10-08 2017-04-13 Le Holdings (Beijing) Co., Ltd. Method for shortening a delay in real-time voice communication and electronic device
CN106951183A (en) * 2017-02-27 2017-07-14 南京杰迈视讯科技有限公司 A kind of web camera date storage method of high efficient and reliable
CN108259380A (en) * 2017-12-21 2018-07-06 安凯(广州)微电子技术有限公司 Method, system and the ethernet controller of Frame processes
CN110248205A (en) * 2018-09-03 2019-09-17 浙江大华技术股份有限公司 A kind of method and device that video record data are packaged

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
番茄炒西红柿: "C#环形缓冲区(队列)完全实现", 《WWW.CNBLOGS.COM/FANQIE-LIUXIAO/P/5712094.HTML》 *

Similar Documents

Publication Publication Date Title
US10811031B2 (en) Method and device for obtaining amplitude of sound in sound zone
CN109471851B (en) Data processing method, device, server and storage medium
US9223678B2 (en) Data processor device having a debug control module which selectively modifies trace messages
CN111813465B (en) Information acquisition method, device, medium and equipment
CN109284108B (en) Unmanned vehicle data storage method and device, electronic equipment and storage medium
CN109471862B (en) Data processing method and device, electronic equipment and storage medium
CN110769316B (en) Method, device, equipment and storage medium for calculating first frame time
CN112948134A (en) Communication data tracing acquisition method and device, server and storage medium
CN109712696B (en) Data processing method, device, equipment and storage medium
CN110489164B (en) Acquisition method, device, medium and equipment of hidden assertion information
CN115576484A (en) Data reading and writing method and device, electronic equipment and storage medium
CN114781322B (en) Memory state recovery method for MMU-free environment in CPU chip simulation acceleration
CN110716859A (en) Method for automatically pushing test cases for modified codes and related device
US9453863B2 (en) Implementing frequency spectrum analysis using causality Hilbert Transform results of VNA-generated S-parameter model information
CN111447637B (en) Spectrum data acquisition method, device, equipment and storage medium
CN109062797B (en) Method and device for generating information
CN114218000A (en) Log management method and device, electronic equipment and computer readable storage medium
US11068381B2 (en) Program analysis device, program analysis system, program analysis method and computer readable medium
CN111813641B (en) Method, device, medium and equipment for collecting crash information
US7290069B2 (en) Data acquisition system which monitors progress of data storage
CN114116865A (en) Data processing method, device, equipment and storage medium
CN111354383A (en) Audio defect positioning method and device and terminal equipment
US20180189374A1 (en) System and method for fast reading of signal databases
CN114257575B (en) Client data processing method and device, electronic equipment and storage medium
CN113891109B (en) Adaptive noise reduction method, device, 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