Unlock instant, AI-driven research and patent intelligence for your innovation.

Data frame collection method and apparatus

A data frame and data frame type technology, applied in the field of data processing, can solve the problems of data frames not being sent out, missing data frames, and unable to capture data frames, etc., to achieve the effect of avoiding missing data frames

Inactive Publication Date: 2016-07-20
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

(1) According to the channel: only monitor and capture the data frame under a certain channel, so only the data frame under a certain channel can be obtained
(2) According to MAC ((MediaAccessControl, hardware address): After actual testing, it is found that when scanning channels 1 to 13 of the terminal device, it is usually impossible to capture all data frames on all channels
In summary, within a certain period of time, third-party professional tools can monitor the communication status of terminal devices on the current channel, but cannot capture all data frames of a certain terminal device on all channels.
In addition, the data frames captured by third-party professional tools are data frames that the tool itself can recognize, so key data frames are often missed
[0005] Third, the data frame captured by a third-party professional tool can only guess the data communication situation of the actual terminal device under test at that time, so it cannot be 100% consistent with the actual terminal device under test
For example, the terminal device may not send the data frame due to a current problem, and the third-party professional tool cannot capture the data frame for further analysis.
In addition, the data frame captured by the third-party professional tool only means that the data frame is being transmitted, but it cannot guarantee that the terminal device can recognize the data frame normally

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data frame collection method and apparatus
  • Data frame collection method and apparatus
  • Data frame collection method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] refer to figure 1 , which shows a flow chart of a method for collecting data frames in Embodiment 1 of the present invention, which may specifically include the following steps:

[0054] Step 101, acquiring a data frame sent or received by a terminal device;

[0055] It should be noted that the terminal device in the embodiment of the present invention may be a device capable of implementing the present invention, such as a mobile phone, a tablet computer, a set-top box, or a wireless router, which is not limited in the embodiment of the present invention.

[0056] In a specific implementation, the terminal device may be connected to other devices through data lines or wirelessly (such as Wi-Fi), and after the terminal device is connected to other devices, it may receive or send data frames with other devices.

[0057] In the embodiment of the present invention, the data frame can be obtained from various functions of the terminal device that manage the data frame, tha...

Embodiment 2

[0098] refer to image 3 , which shows a flow chart of a method for collecting data frames according to Embodiment 2 of the present invention, which may specifically include the following steps:

[0099] Step 201, acquiring a data frame at an interface where the terminal device sends or receives a data frame;

[0100] In the embodiment of the present invention, in order to ensure that the cached data frames are stored according to the actual order received or sent by the terminal device, the hook function can be placed at the initial interface where the terminal device normally receives and sends data frames, and at the same time, it can also obtain the Or send the current system time corresponding to the data frame.

[0101] Step 202, buffering the data frame into a preset data structure;

[0102] Step 203, saving the cached arrays in the preset type structure array to a preset circular queue in sequence;

[0103] In the embodiment of the present invention, the obtained da...

Embodiment 3

[0156] refer to Figure 5 , which shows a structural block diagram of a data frame acquisition device according to Embodiment 3 of the present invention, and the device may specifically include the following modules:

[0157] An acquisition module 301, configured to acquire a data frame sent or received by a terminal device;

[0158] In a preferred embodiment of the present invention, the acquiring module 301 may include the following submodules:

[0159] A data frame acquisition submodule, configured to acquire a data frame at an interface where the terminal device sends or receives a data frame;

[0160] In a preferred embodiment of the present invention, the device may also include the following modules:

[0161] The system time obtaining module is used to obtain the current system time.

[0162] A cache module 302, configured to cache the data frame into a preset data structure;

[0163] In a preferred embodiment of the present invention, the data frame may include a d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a data frame collection method and apparatus. The method comprises the steps of obtaining a data frame sent or received by a terminal device; caching the data frame in a preset data structure; detecting whether the data frame exists in the preset data structure; and if so, storing the data frame in a data file in a preset format. The data frame collection method provided by the embodiment of the invention is used for storing the data frame of the terminal device without using a third party professional tool.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data frame collection method and a data frame collection device. Background technique [0002] When debugging or monitoring a terminal device supporting Wi-Fi (Wireless-Fidelity, wireless communication technology), it is often necessary to capture and analyze data frames. However, there are the following problems in actual operation: [0003] First, third-party professional tools are required to analyze data frame-related problems, and testers need to be trained on related equipment and tools, so it is difficult to capture and analyze data frame-related problems. [0004] Second, there are currently two ways to use third-party professional tools. (1) According to the channel: only monitor and capture the data frames under a certain channel, so only the data frames under a certain channel can be obtained. (2) According to MAC ((MediaAccessControl, hardware address): T...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26G06F17/30
Inventor 郑斌孙子智杨川庆刘强商士栋
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD