CN116737172B - Small particle data packet analysis system and method - Google Patents

Small particle data packet analysis system and method Download PDF

Info

Publication number
CN116737172B
CN116737172B CN202311007597.8A CN202311007597A CN116737172B CN 116737172 B CN116737172 B CN 116737172B CN 202311007597 A CN202311007597 A CN 202311007597A CN 116737172 B CN116737172 B CN 116737172B
Authority
CN
China
Prior art keywords
data
time slot
interface
small particle
searching
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.)
Active
Application number
CN202311007597.8A
Other languages
Chinese (zh)
Other versions
CN116737172A (en
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.)
Hangzhou Cncr Information Technology Co ltd
Original Assignee
Hangzhou Cncr Information 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 Hangzhou Cncr Information Technology Co ltd filed Critical Hangzhou Cncr Information Technology Co ltd
Priority to CN202311007597.8A priority Critical patent/CN116737172B/en
Publication of CN116737172A publication Critical patent/CN116737172A/en
Application granted granted Critical
Publication of CN116737172B publication Critical patent/CN116737172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

The application relates to a system and a method for analyzing small particle data packets, wherein the system comprises an interface display module and a data processing module, wherein the data processing module comprises a first data analysis thread, a second data analysis thread and a data searching thread; the interface display module is used for displaying the parsed small particle data packet and responding to the operation of a user; the first data analysis thread is used for analyzing and obtaining the load data of the small particle data packet; the second data analysis thread is used for analyzing and obtaining time slot data of the small particle data packet, wherein the analyzed load data and the time slot data are stored in the memory; and the data searching thread is used for responding to the searching instruction and searching the time slot data corresponding to the searching instruction from the memory. The application solves the problem of how to efficiently analyze and display the small particle data packet, realizes the efficient analysis and orderly display of the small particle data packet, and can assist related personnel to efficiently maintain and analyze faults of communication networks and equipment based on the small particle technology.

Description

Small particle data packet analysis system and method
Technical Field
The application relates to the technical field of data processing, in particular to a system and a method for analyzing small-particle data packets.
Background
The small particle technology provides a small particle bearing channel with low cost, refinement and hard isolation, and can meet the differentiated service bearing requirements of small bandwidth, high isolation, high safety and the like in the scenes of 5G+ vertical industry application, special line service and the like. The small particle slicing capability becomes a key force for assisting the deployment of 5G+ vertical industry and government and enterprise private line application. However, the existing packet grabbing tool and data analysis tool are difficult to analyze the data packet based on the small particle technology, and when the network and the equipment based on the small particle technology are used, the analysis of the problem is difficult.
At present, no effective solution is proposed for solving the problem of how to efficiently analyze and display small-particle data packets in the related art.
Disclosure of Invention
The embodiment of the application provides a system and a method for analyzing small-particle data packets, which at least solve the problem of how to efficiently analyze and display the small-particle data packets in the related technology.
In a first aspect, an embodiment of the present application provides a parsing system for small particle data packets, where the system includes an interface display module and a data processing module, where the data processing module includes a first data parsing thread, a second data parsing thread, and a data searching thread;
the interface display module is used for displaying the parsed small particle data packet data and responding to the operation of a user;
the first data analysis thread is used for analyzing and obtaining the load data of the small particle data packet, wherein the analyzed load data is stored in a memory by taking the serial number of the small particle data packet as an index;
the second data analysis thread is used for analyzing and obtaining the time slot data of the small particle data packet, wherein the analyzed time slot data is stored in a memory;
and the data searching thread is used for responding to the searching instruction and searching the time slot data corresponding to the searching instruction from the memory.
In some embodiments, the first data parsing thread is further configured to parse an overhead portion of the small-granule data packet, where the parsed overhead portion is displayed in the interface display module.
In some embodiments, the data searching thread is further configured to combine the time slot data corresponding to the searching instruction retrieved from the memory according to a preset format, and then display the combined time slot data in the interface display module.
In some of these embodiments, the interface display module includes a main interface and a slot lookup interface;
the main interface is used for displaying the parsed small particle data packet;
the time slot searching interface is used for searching and displaying time slot data in a preset time slot number range.
In some of these embodiments, the main interface includes an overhead resolution sub-interface;
the overhead analysis sub-interface is configured to display an overhead portion of the small particle data packet analyzed by the first data analysis thread.
In some of these embodiments, the main interface includes a load display sub-interface;
the load display sub-interface is used for displaying the load data of the small particle data packet analyzed by the first data analysis thread, wherein the data display mode comprises displaying the load data read in the positive sequence and displaying the load data in the byte reverse sequence.
In some of these embodiments, the main interface includes a slot selection sub-interface and a slot resolution sub-interface;
the time slot selection sub-interface is used for responding to the operation of a user on the drop-down list frame and obtaining time slot data corresponding to time slot numbers in the drop-down list frame;
the time slot analysis sub-interface is used for displaying the time slot data acquired by the time slot selection sub-interface, wherein the data display mode comprises the step of displaying the time slot data read in the positive sequence and the time slot data in the reverse sequence.
In some of these embodiments, the slot lookup interface includes a slot input sub-interface;
the time slot input sub-interface is used for receiving at least one valid time slot number range input by a user.
In some embodiments, the slot search interface includes a slot search result display sub-interface;
the time slot searching result display sub-interface is used for displaying time slot data in a time slot number range received by the time slot input sub-interface, wherein the data display mode comprises displaying time slot data read in a positive sequence and time slot data in a byte reverse sequence.
In a second aspect, an embodiment of the present application provides a method for parsing a small particle packet, where the method is performed based on the system of any one of the first aspect, and the method includes:
analyzing to obtain load data of small particle data packets, and storing the load data in a memory by taking the serial number of the small particle data packets as an index;
analyzing to obtain time slot data of the small particle data packet, and storing the time slot data in a memory;
responding to a search instruction, and retrieving time slot data corresponding to the search instruction from the memory;
and displaying the load data in the memory and the retrieved time slot data.
Compared with the related art, the system and the method for analyzing the small particle data packet provided by the embodiment of the application comprise an interface display module and a data processing module, wherein the data processing module comprises a first data analysis thread, a second data analysis thread and a data searching thread; the interface display module is used for displaying the parsed small particle data packet and responding to the operation of a user; the first data analysis thread is used for analyzing load data of the small particle data packet, wherein the analyzed load data is stored in the memory by taking the number of the small particle data packet as an index; a second data analysis thread for analyzing the time slot data of the small particle data packet, wherein the analyzed time slot data is stored in the memory; the data searching thread is used for responding to the searching instruction and searching the time slot data corresponding to the searching instruction from the memory, so that the problem of how to efficiently analyze and display the small particle data packet is solved, the efficient analysis and orderly display of the small particle data packet are realized, and the high-efficiency maintenance and fault analysis of the communication network and the communication equipment based on the small particle technology can be assisted by related development maintenance personnel.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a block diagram of a small particle packet parsing system in accordance with an embodiment of the present application;
FIG. 2 is a flow chart of parsing by a small particle packet parsing system according to an embodiment of the application;
FIG. 3 is a schematic diagram of a main interface in an interface display module according to an embodiment of the application;
FIG. 4 is a schematic diagram of a slot lookup interface in an interface display module according to an embodiment of the application;
fig. 5 is a schematic view of an internal structure of an electronic device according to an embodiment of the present application.
The attached drawings are identified: 11. an interface display module; 12. a data processing module; 121. a first data parsing thread; 122. a second data parsing thread; 123. a data lookup thread.
Detailed Description
The present application will be described and illustrated with reference to the accompanying drawings and examples in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present application without making any inventive effort, are intended to fall within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the application can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "a," "an," "the," and similar referents in the context of the application are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in connection with the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means two or more. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The embodiment of the application provides a small particle data packet analysis system, and fig. 1 is a structural block diagram of the small particle data packet analysis system according to the embodiment of the application, and as shown in fig. 1, the system comprises an interface display module 11 and a data processing module 12, wherein the data processing module comprises a first data analysis thread 121, a second data analysis thread 122 and a data searching thread 123;
it should be noted that the small-particle data packets in this embodiment include, but are not limited to, data packets based on OTN transmission network technology, PTN transmission network technology, SPN transmission network technology, and PON transmission network technology.
OTN (optical transport network), chinese means optical transmission network. The OTN transmission technology has the characteristic of high speed, can meet the bandwidth requirement of a large-capacity network, and can provide powerful support for the transformation of a broadband access network and an optical fiber network. From the current overall situation, the OTN transmission technology is mature, and is widely applied to the trunk transmission network construction of various large operators, thereby promoting the development of related services. In a provincial trunk network, 400G-OTN transmission techniques may be applied. The modulation mode of the high-order modulation technology introduced into the 400G-OTN can be more diversified, and the requirements of different application scenes can be met.
PTN (Packet Transport Network), chinese representation: "packet transport network". PTN refers to such an optical transport network architecture and specific technology: a layer is arranged between IP service and bottom layer optical transmission medium, it is designed according to the burstiness of packet service flow and the requirement of statistical multiplexing transmission, takes packet service as core and supports multi-service provision, has lower total use cost (TCO), and inherits the traditional advantages of optical transmission, including high availability and reliability, high-efficiency bandwidth management mechanism and flow engineering, convenient OAM and network management expandability, higher security, etc.
SPN (Slicing Packet Network), a slice packet network. The SPN is based on an Ethernet transmission architecture, inherits the functional characteristics of a PTN transmission scheme, and is enhanced and innovated on the basis, and the main innovation point is that the SPN is added with a light TDM layer in an Ethernet physical layer, so that the grouping equipment can obtain the capability of hard isolation and deterministic low-delay forwarding between network slices under the condition that the current grouping technology is not changed.
PON (Passive Optical Network), a passive optical network, a technology based on point-to-multipoint (P2 MP) topology. "passive" means that the ODN (optical distribution network) does not contain any electronic components and electronic power sources, and the ODN is composed of passive components such as an optical Splitter, and no expensive active electronic equipment is required.
Fig. 2 is a schematic flow chart of parsing by the small particle packet parsing system according to an embodiment of the present application, as shown in fig. 2, a general packet grabbing tool (such as wireshark) is used to grab a packet on an interface of a device using small particle technology, and the grabbed packet is stored as a text file (the file in the format of pcapng is stored by default by the wireshark). It should be noted that, because the text file is based on the fixed length of the characters, the data packet is stored as the text file, which is convenient for the program to read and write.
In the system, asynchronous loading is adopted between the interface display module 11 and the data processing module 12, the interface display module 11 displays the analyzed data and responds to user operation, and time-consuming data processing work is executed by creating a special thread by the data processing module 12.
The output of the system is mainly data which is parsed out and displayed on the interface display module 11 according to a specified format, on the other hand, the system can export data meeting the search requirements of a user to a text file.
Further, in order that the display interface does not get stuck, for a data processing job that takes a long time, the data processing module 12 creates separate threads to process, mainly the following 3 data processing threads:
a first data parsing thread 121, configured to parse load data of the small particle data packet, where the parsed load data is stored in the memory with the number of the small particle data packet as an index; the first data parsing thread 121 is further configured to parse an overhead portion of the small-granule data packet, where the parsed overhead portion is displayed in the interface display module.
Preferably, the first data parsing thread 121 is a small particle technology frame format data packet parsing thread, which parses out an overhead part of each small particle data packet in the text file, and displays the parsed out overhead part of the data packet in real time to a list control of an overhead parsing sub-interface of the interface display module 11; the data packet number is used as an index, the parsed original data and the data which are in reverse order according to bytes are respectively stored in the memory, and the load display sub-interface of the subsequent interface display module 11 can be used for rapidly taking out the data from the memory for display directly according to the packet number as the index.
A second data parsing thread 122, configured to parse the time slot data of the small particle data packet, where the parsed time slot data is stored in the memory;
preferably, the second data parsing thread 122 is a time slot parsing thread, which parses time slot data in all small granule data packets in the text file, stores the parsed time slot data in the memory in a binary format of reverse order and a hexadecimal format of positive order respectively with the data packet number as an index, and facilitates searching time slot data with a designated number in a time slot searching interface of the interface display module 11.
A data searching thread 123, configured to respond to the searching instruction, and retrieve time slot data corresponding to the searching instruction from the memory; the data searching thread 123 is further configured to combine the time slot data corresponding to the searching instruction retrieved from the memory according to a preset format, and then display the combined time slot data in the interface display module.
Preferably, the data searching thread 123 is a time slot searching thread, and the thread searches out time slot data stored in the second data analyzing thread 122 according to a time slot number in a specified range input by a user, and displays a time slot searching interface in the interface display module 11 after being combined according to a specified format.
The interface display module 11 is used for displaying the parsed small particle data packet and responding to the operation of a user;
specifically, the interface display module 11 includes a main interface and a slot search interface; the main interface is used for displaying the parsed small particle data packet; and the time slot searching interface is used for searching and displaying time slot data in a preset time slot number range.
Further, fig. 3 is a schematic diagram of a main interface in the interface display module according to an embodiment of the present application, where, as shown in fig. 3, the main interface includes an overhead parsing sub-interface, a load display sub-interface, a time slot selection sub-interface, a time slot parsing sub-interface, and a first operation button.
And the overhead analysis sub-interface is used for displaying the overhead part of the small particle data packet analyzed by the first data analysis thread.
Preferably, as shown in fig. 3, the overhead parsing sub-interface displays overhead (frame header) parts of all data packets in the data packet text file by using a list control in the upper half part of the interface, wherein each row of the list control corresponds to one data packet overhead and is displayed according to the meaning of each field.
The load display sub-interface is used for displaying the load data of the small particle data packet analyzed by the first data analysis thread, wherein the data display mode comprises displaying the load data read in the positive sequence and displaying the load data in the reverse byte sequence.
Preferably, as shown in fig. 3, the load display sub-interface uses two rich text boxes with the same size and placed in parallel at the lower left position to display the original data of the currently selected line data packet and the data after byte reverse sequence respectively. The rich text box may support operations such as adding background colors to the data in the text box, setting font properties, and the like. The payload data of a single packet is large, so the first byte number of each row can be shown with a fixed four-character placeholder at the beginning of the row to facilitate user lookup of the data, while the four bytes can be marked with a gray background to be clearly distinguished from the actual payload data. And, two rich text boxes always highlight the time slot data corresponding to the time slot number selected by the current time slot list box, and the scroll bar of the rich text box scrolls to a proper position according to the current time slot number, so that the currently highlighted time slot data is completely displayed on the interface.
And the time slot selection sub-interface is used for responding to the operation of the user on the drop-down list frame and acquiring time slot data corresponding to the time slot number in the drop-down list frame. The time slot analysis sub-interface is used for displaying the time slot data acquired by the time slot selection sub-interface, wherein the data display mode comprises the display of the time slot data read in the positive sequence and the display of the time slot data in the reverse byte sequence.
Preferably, as shown in fig. 3, because each data packet contains a plurality of time slot data, the time slot selection sub-interface is mainly used for selecting and displaying the time slot data of current interest, and the selection of the time slot number is implemented by using a pull-down list box. The time slot analysis sub-interface is a static text box which is placed under the time slot selection drop-down list box and has the same size, and the time slot data after the byte corresponding to the time slot number selected in the current drop-down list box is in reverse sequence and the time slot data read in forward sequence are respectively displayed.
Further, as shown in fig. 3, the first operation buttons are placed in the lower right portion, including an open file button, a slot seek button, and an exit button.
Further, fig. 4 is a schematic diagram of a slot search interface in the interface display module according to an embodiment of the present application, where, as shown in fig. 4, the slot search interface includes a slot input sub-interface and a slot search result display sub-interface, and a second operation button.
A slot input sub-interface for receiving at least one valid slot number range entered by a user.
Preferably, as shown in fig. 4, the slot input sub-interface is at the upper left part of the interface, and there are mainly 8 pairs of 16 text input boxes for inputting the range of the slot numbers to be searched, so that simultaneous searching of 8 ranges of slot data can be supported. The background checks the input data, and judges whether the time slot number range is valid or not: (1) the input data must be an integer in the range of 0-959, if the value of any text input box does not meet the requirement, the value of the input box and the value of another input box in a group are simultaneously cleared, and the input of the input box is invalid; (2) the value input by the right input box is required to be greater than or equal to the value input by the left input box, if the requirement is not met, the values of the input boxes are cleared, and the input boxes are not valid; (3) if the numerical segments input by the input boxes are repeated or crossed, the input of the edit box group with the larger number is invalid, the value of the input box group with the larger number is cleared, and the input of the input box group with the larger number is invalid.
The time slot searching result display sub-interface is used for displaying time slot data in a time slot number range received by the time slot input sub-interface, wherein the data display mode comprises displaying time slot data read in a positive sequence and time slot data in a byte reverse sequence.
Preferably, as shown in fig. 4, the slot search results show that the sub-interface is in the right half of the interface. Initially this part is empty and no data is displayed. After successful search of the slot data, the section displays all the searched slot data in binary and hexadecimal formats.
In addition, as shown in fig. 4, the second operation button is located at the lower left part of the interface, and has three buttons of time slot searching, time slot deriving and exiting. Initially only the slot seek button and the exit button are available and the slot export button is unavailable. Only the slot number range is correctly entered and the slot export button becomes available after the data is successfully found.
The system in the embodiment of the application comprises the interface display module 11, the data processing module 12, the first data analysis thread 121, the second data analysis thread 122 and the data searching thread 123, so that the problem of how to efficiently analyze and display small-particle data packets is solved, the efficient analysis and orderly display of the small-particle data packets are realized, and related development and maintenance personnel can be assisted to efficiently maintain and analyze faults of communication networks and communication equipment based on the small-particle technology.
The embodiment of the application provides an operation flow for analyzing a small particle data packet, which is based on the small particle data packet analysis system and mainly comprises the following steps:
step one, interaction of a main interface.
After the software system is opened, the main interface is entered, no data is displayed on the main interface, the file opening button and the exit button are available, and the time slot searching button is unavailable.
The first step is to select the text file which needs to be parsed and stores the small particle technology frame format data packet. The specific operation is to click the open file button, and select the text file which needs to be analyzed and stores the small particle technology frame format data packet in the flicked open file dialog box.
After the file is selected, the data packet analysis thread starts to analyze the file, and the analyzed data is displayed in a list control of the overhead analysis sub-interface in real time. At this time, the open file button and the slot seek button are both in a gray disabled state. Only after the parsing thread completes the parsing of all the data packets in the text file, the file button is opened and the file search button becomes enabled.
Step a, selecting a data packet to be checked.
When the data packet is analyzed, and the overhead analysis sub-interface displays data, a data packet row to be checked can be clicked, and the clicked load display sub-interface displays the load of the clicked data packet, and the data content of the first time slot of the packet is highlighted by default; the first time slot number of the data packet is selected by default by a time slot selection drop-down list box; the time slot analysis sub-interface defaults to display the data after the analysis of the first time slot of the data packet.
The data package switching can be realized by directly clicking the data package row to be checked on the list control, or can be realized by clicking the "Σ", "Σ" keys on the keypad to switch in sequence.
Step b, selecting time slot data to be checked.
The time slot selection sub-interface defaults to select the first time slot number of the current data packet, if the current data packet is to be switched to other time slot numbers, the time slot selection drop-down list box is clicked, and the time slot number to be checked is selected from the popped drop-down list. The content of the drop-down list is different according to the difference of the multiframe Indication value (MFI) in the Frame format data packet overhead based on the small particle technology, and the displayed time slot range is MFI x 24-MFI x 24+23. For example, when the MFI value is 19, the number range of the slot is 456 to 479.
When the time slot number is switched by the time slot drop-down list frame, the scroll bar of the original data text frame of the load display sub-interface and the scroll bar of the data text frame after byte inversion are correspondingly scrolled, so that the content of the time slot number selected currently is completely displayed on the interface; at the same time, the content of the currently selected slot number is highlighted, and the previously highlighted portion cancels the highlighting. And synchronously updating the content of the time slot analysis sub-interface into analysis data of the time slot number selected currently.
And step two, interaction of a time slot searching interface.
And in the main interface, after the analysis of the frame format data packet file based on the small particle technology is completed, a time slot searching button becomes available, and the time slot searching interface can be opened by clicking the button.
Step two, displaying time slot data.
After the effective time slot number range to be searched is correctly input, clicking a time slot searching button to wait for the completion of searching, and displaying all searching results on a time slot searching result data display sub-interface. The data of one code block is displayed on one row of the time slot searching result data display sub-interface, and the display format is as follows: packet number + slot number + initial byte offset + hexadecimal representation of code block + binary representation of code block byte-reversed.
Step two, leading out time slot data.
When the time slot searching interface is opened, the time slot export button is not available, and only after the time slot number which is effectively searched is input and the searching is successful, the time slot export button is changed into an available state. When the time slot export button is available, clicking the pop-up file to save as a dialog box can save the searched time slot data as a text file. The content and storage format in the text file is the same as that shown in the slot section, and is: packet number + slot number + leading byte number + hexadecimal representation of code block + binary representation of code block byte-reversed.
The embodiment of the application provides a method for analyzing a small particle data packet, which comprises the following steps:
analyzing to obtain load data of the small particle data packet, and storing the load data in a memory by taking the serial number of the small particle data packet as an index;
analyzing to obtain time slot data of small particle data packet, storing the time slot data in memory
Responding to the search instruction, and retrieving time slot data corresponding to the search instruction from the memory;
and displaying the load data in the memory and the retrieved time slot data.
The method provided by the embodiment of the application solves the problem of how to efficiently analyze and display the small particle data packet, realizes the efficient analysis and orderly display of the small particle data packet, and can assist relevant development and maintenance personnel to efficiently maintain and analyze faults of communication networks and communication equipment based on the small particle technology.
It should be noted that the steps illustrated in the above-described flow or flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The present embodiment also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In addition, in combination with the method for parsing small-particle data packets in the above embodiment, the embodiment of the application may be implemented by providing a storage medium. The storage medium has a computer program stored thereon; the computer program, when executed by a processor, implements the method of parsing small particle packets in any of the above embodiments.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of parsing small particle data packets. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 5 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 5, an electronic device, which may be a server, is provided, and an internal structure diagram thereof may be as shown in fig. 5. The electronic device includes a processor, a network interface, an internal memory, and a non-volatile memory connected by an internal bus, where the non-volatile memory stores an operating system, computer programs, and a database. The processor is used for providing computing and control capability, the network interface is used for communicating with an external terminal through network connection, the internal memory is used for providing environment for the operation of an operating system and a computer program, and the computer program is executed by the processor to realize a small particle data packet analysis method.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the electronic device to which the present inventive arrangements are applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be understood by those skilled in the art that the technical features of the above-described embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above-described embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (5)

1. The analysis system of the small particle data packet is characterized by comprising an interface display module and a data processing module, wherein the data processing module comprises a first data analysis thread, a second data analysis thread and a data searching thread;
the interface display module is used for displaying the parsed small particle data packet and responding to the operation of a user;
the first data analysis thread is used for analyzing and obtaining the load data of the small particle data packet, wherein the analyzed load data is stored in a memory by taking the serial number of the small particle data packet as an index;
the first data analysis thread is further used for analyzing and obtaining an overhead part of the small particle data packet, wherein the analyzed overhead part is displayed in the interface display module;
the second data analysis thread is used for analyzing and obtaining the time slot data of the small particle data packet, wherein the analyzed time slot data is stored in a memory;
the data searching thread is used for responding to the searching instruction, searching time slot data corresponding to the searching instruction from the memory, and combining the time slot data corresponding to the searching instruction searched from the memory according to a preset format and then displaying the combined time slot data in the interface display module;
the interface display module comprises a main interface and a time slot searching interface; the main interface is used for displaying the parsed small particle data packet; the time slot searching interface is used for searching and displaying time slot data in a preset time slot number range;
the main interface comprises a load display sub-interface; the load display sub-interface is used for displaying the load data of the small particle data packet analyzed by the first data analysis thread, wherein the data display mode comprises displaying the load data read in the positive sequence and displaying the load data in the byte reverse sequence;
the main interface comprises a time slot selection sub-interface and a time slot analysis sub-interface; the time slot selection sub-interface is used for responding to the operation of a user on the drop-down list frame and obtaining time slot data corresponding to time slot numbers in the drop-down list frame; the time slot analysis sub-interface is used for displaying the time slot data acquired by the time slot selection sub-interface, wherein the data display mode comprises the step of displaying the time slot data read in the positive sequence and the time slot data in the reverse sequence.
2. The system of claim 1, wherein the main interface comprises an overhead resolution sub-interface;
the overhead analysis sub-interface is configured to display an overhead portion of the small particle data packet analyzed by the first data analysis thread.
3. The system of claim 1, wherein the slot lookup interface comprises a slot input sub-interface;
the time slot input sub-interface is used for receiving at least one valid time slot number range input by a user.
4. The system of claim 3, wherein the slot lookup interface comprises a slot lookup result display sub-interface;
the time slot searching result display sub-interface is used for displaying time slot data in a time slot number range received by the time slot input sub-interface, wherein the data display mode comprises displaying time slot data read in a positive sequence and time slot data in a byte reverse sequence.
5. A method of parsing small particle packets, the method being performed based on the system of any one of claims 1 to 4, the method comprising:
analyzing to obtain load data of small particle data packets, and storing the load data in a memory by taking the serial number of the small particle data packets as an index;
analyzing to obtain time slot data of the small particle data packet, and storing the time slot data in a memory;
responding to a search instruction, and retrieving time slot data corresponding to the search instruction from the memory;
and displaying the load data in the memory and the retrieved time slot data.
CN202311007597.8A 2023-08-11 2023-08-11 Small particle data packet analysis system and method Active CN116737172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311007597.8A CN116737172B (en) 2023-08-11 2023-08-11 Small particle data packet analysis system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311007597.8A CN116737172B (en) 2023-08-11 2023-08-11 Small particle data packet analysis system and method

Publications (2)

Publication Number Publication Date
CN116737172A CN116737172A (en) 2023-09-12
CN116737172B true CN116737172B (en) 2023-12-12

Family

ID=87915381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311007597.8A Active CN116737172B (en) 2023-08-11 2023-08-11 Small particle data packet analysis system and method

Country Status (1)

Country Link
CN (1) CN116737172B (en)

Citations (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179116A (en) * 2013-01-18 2013-06-26 厦门市美亚柏科信息股份有限公司 Megabit protocol analysis method and megabit protocol analysis method
CN104750758A (en) * 2013-12-31 2015-07-01 深圳航天东方红海特卫星有限公司 Micro satellite test data packet general analysis processing method and system
CN106021052A (en) * 2016-05-27 2016-10-12 中国航空工业集团公司沈阳飞机设计研究所 GJB289A bus testing system and method
CN106383830A (en) * 2016-08-23 2017-02-08 浙江宇视科技有限公司 Data retrieval method and equipment
CN108449222A (en) * 2017-02-15 2018-08-24 深圳市帝迈生物技术有限公司 A kind of self-defined communication data visualization analysis system and method for Medical Devices
CN109005083A (en) * 2018-07-17 2018-12-14 千寻位置网络有限公司 The method and system of large scale collection base station data
CN109299922A (en) * 2018-09-30 2019-02-01 金蝶软件(中国)有限公司 Data analysing method, device, computer equipment and storage medium based on ERP
CN109542806A (en) * 2018-11-27 2019-03-29 湖南中联重科智能技术有限公司 Bus data analytic method, device and storage medium
CN109635170A (en) * 2018-12-13 2019-04-16 成都四方伟业软件股份有限公司 Algorithm cut-in method, device, electronic equipment and readable storage medium storing program for executing
CN109861782A (en) * 2018-12-07 2019-06-07 天津光电通信技术有限公司 A kind of SDH protocol signal analysis platform based on PCIE analog input card
CN110515970A (en) * 2019-08-07 2019-11-29 金蝶软件(中国)有限公司 Method for processing business, device, computer equipment and storage medium
CN111245550A (en) * 2020-01-14 2020-06-05 北京恒光信息技术股份有限公司 SDH signal processing method, device and system
CN111903076A (en) * 2018-03-26 2020-11-06 华为技术有限公司 Signal transmission method, related equipment and system
CN112332920A (en) * 2020-12-02 2021-02-05 天津光电通信技术有限公司 100GOTN signal processing platform and processing method based on X86 board card
WO2021025810A1 (en) * 2019-08-06 2021-02-11 Alteryx, Inc. Error handling during asynchronous processing of sequential data blocks
CN112461062A (en) * 2020-11-16 2021-03-09 北京宇航系统工程研究所 Automatic measurement and control system based on carrier rocket comprehensive test distributed test
CN112486996A (en) * 2020-12-14 2021-03-12 上海交通大学 Object-oriented memory data storage system
CN112732241A (en) * 2021-01-08 2021-04-30 烽火通信科技股份有限公司 Programmable analyzer under multistage parallel high-speed processing and analysis method thereof
CN113282609A (en) * 2021-06-11 2021-08-20 东莞市盟大塑化科技有限公司 Intelligent data analysis method based on big data technology
CN113434507A (en) * 2021-06-29 2021-09-24 中国联合网络通信集团有限公司 Data textualization method, device, equipment and storage medium
CN113542289A (en) * 2021-07-21 2021-10-22 中电海康无锡科技有限公司 Method and system for automatically analyzing GB/T28181 protocol
CN113784437A (en) * 2020-06-10 2021-12-10 烽火通信科技股份有限公司 Method and device for realizing FlexE bearing small-particle service
CN114840408A (en) * 2021-02-02 2022-08-02 腾讯科技(深圳)有限公司 Application program performance analysis method, system, device and storage medium
CN114896988A (en) * 2022-03-31 2022-08-12 思必驰科技股份有限公司 Unified dialog understanding method and framework
CN115314776A (en) * 2022-06-13 2022-11-08 北京邮电大学 Flow aggregation method and device, electronic equipment and storage medium
CN115632751A (en) * 2022-09-30 2023-01-20 网络通信与安全紫金山实验室 Data transmission method and device, nonvolatile storage medium and computer equipment
CN115811388A (en) * 2021-09-13 2023-03-17 华为技术有限公司 Communication method, related device and storage medium
CN115994251A (en) * 2023-03-23 2023-04-21 北京星途探索科技有限公司 Target projectile telemetering data analysis device and analysis system
CN116226045A (en) * 2022-12-29 2023-06-06 中国邮政储蓄银行股份有限公司 File data aggregation method, file data aggregation device and query system
CN116264587A (en) * 2021-12-13 2023-06-16 华为技术有限公司 Data transmission method and related device
CN116303560A (en) * 2021-12-15 2023-06-23 中国航空工业集团公司成都飞机设计研究所 Parallel data analysis method for flight data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI409645B (en) * 2009-05-27 2013-09-21 Ibm Communication server and method and computer readable medium of processing messages utilizing the server
US9456014B2 (en) * 2014-12-23 2016-09-27 Teradata Us, Inc. Dynamic workload balancing for real-time stream data analytics

Patent Citations (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179116A (en) * 2013-01-18 2013-06-26 厦门市美亚柏科信息股份有限公司 Megabit protocol analysis method and megabit protocol analysis method
CN104750758A (en) * 2013-12-31 2015-07-01 深圳航天东方红海特卫星有限公司 Micro satellite test data packet general analysis processing method and system
CN106021052A (en) * 2016-05-27 2016-10-12 中国航空工业集团公司沈阳飞机设计研究所 GJB289A bus testing system and method
CN106383830A (en) * 2016-08-23 2017-02-08 浙江宇视科技有限公司 Data retrieval method and equipment
CN108449222A (en) * 2017-02-15 2018-08-24 深圳市帝迈生物技术有限公司 A kind of self-defined communication data visualization analysis system and method for Medical Devices
CN111903076A (en) * 2018-03-26 2020-11-06 华为技术有限公司 Signal transmission method, related equipment and system
CN109005083A (en) * 2018-07-17 2018-12-14 千寻位置网络有限公司 The method and system of large scale collection base station data
CN109299922A (en) * 2018-09-30 2019-02-01 金蝶软件(中国)有限公司 Data analysing method, device, computer equipment and storage medium based on ERP
CN109542806A (en) * 2018-11-27 2019-03-29 湖南中联重科智能技术有限公司 Bus data analytic method, device and storage medium
CN109861782A (en) * 2018-12-07 2019-06-07 天津光电通信技术有限公司 A kind of SDH protocol signal analysis platform based on PCIE analog input card
CN109635170A (en) * 2018-12-13 2019-04-16 成都四方伟业软件股份有限公司 Algorithm cut-in method, device, electronic equipment and readable storage medium storing program for executing
WO2021025810A1 (en) * 2019-08-06 2021-02-11 Alteryx, Inc. Error handling during asynchronous processing of sequential data blocks
CN110515970A (en) * 2019-08-07 2019-11-29 金蝶软件(中国)有限公司 Method for processing business, device, computer equipment and storage medium
CN111245550A (en) * 2020-01-14 2020-06-05 北京恒光信息技术股份有限公司 SDH signal processing method, device and system
CN113784437A (en) * 2020-06-10 2021-12-10 烽火通信科技股份有限公司 Method and device for realizing FlexE bearing small-particle service
CN112461062A (en) * 2020-11-16 2021-03-09 北京宇航系统工程研究所 Automatic measurement and control system based on carrier rocket comprehensive test distributed test
CN112332920A (en) * 2020-12-02 2021-02-05 天津光电通信技术有限公司 100GOTN signal processing platform and processing method based on X86 board card
CN112486996A (en) * 2020-12-14 2021-03-12 上海交通大学 Object-oriented memory data storage system
CN112732241A (en) * 2021-01-08 2021-04-30 烽火通信科技股份有限公司 Programmable analyzer under multistage parallel high-speed processing and analysis method thereof
CN114840408A (en) * 2021-02-02 2022-08-02 腾讯科技(深圳)有限公司 Application program performance analysis method, system, device and storage medium
CN113282609A (en) * 2021-06-11 2021-08-20 东莞市盟大塑化科技有限公司 Intelligent data analysis method based on big data technology
CN113434507A (en) * 2021-06-29 2021-09-24 中国联合网络通信集团有限公司 Data textualization method, device, equipment and storage medium
CN113542289A (en) * 2021-07-21 2021-10-22 中电海康无锡科技有限公司 Method and system for automatically analyzing GB/T28181 protocol
CN115811388A (en) * 2021-09-13 2023-03-17 华为技术有限公司 Communication method, related device and storage medium
CN116264587A (en) * 2021-12-13 2023-06-16 华为技术有限公司 Data transmission method and related device
CN116303560A (en) * 2021-12-15 2023-06-23 中国航空工业集团公司成都飞机设计研究所 Parallel data analysis method for flight data
CN114896988A (en) * 2022-03-31 2022-08-12 思必驰科技股份有限公司 Unified dialog understanding method and framework
CN115314776A (en) * 2022-06-13 2022-11-08 北京邮电大学 Flow aggregation method and device, electronic equipment and storage medium
CN115632751A (en) * 2022-09-30 2023-01-20 网络通信与安全紫金山实验室 Data transmission method and device, nonvolatile storage medium and computer equipment
CN116226045A (en) * 2022-12-29 2023-06-06 中国邮政储蓄银行股份有限公司 File data aggregation method, file data aggregation device and query system
CN115994251A (en) * 2023-03-23 2023-04-21 北京星途探索科技有限公司 Target projectile telemetering data analysis device and analysis system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A survey on accelerating technologies for fast network packet processing in Linux environments;Eduardo Freitas等;《Computer Communications》;148-166 *
宽带示波器高速串行总线解码与分析软件设计;焦晓曼;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;第2018年卷(第9期);C042-357 *
颗粒解析的复杂液固两相流模拟研究;刘诗文;《中国博士学位论文全文数据库 工程科技Ⅰ辑》;第2019年卷(第8期);B015-4 *

Also Published As

Publication number Publication date
CN116737172A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
US6483812B1 (en) Token ring network topology discovery and display
US7765183B2 (en) Hierarchical tree of deterministic finite automata
US6718384B2 (en) System and method for monitoring and maintaining a communication network
US20050021752A1 (en) Reverse path forwarding protection of packets using automated population of access control lists based on a forwarding information base
US9591107B2 (en) Dynamic state machine
CN110493079A (en) The production automation test method of industrial ethernet switch
JPWO2015125801A1 (en) Network control method, network system and apparatus, and program
CN114172854B (en) Report Wen Jingxiang, mirror image configuration method, virtual switch and mirror image configuration device
CN108234301A (en) A kind of data link switching method and device
CN116737172B (en) Small particle data packet analysis system and method
CN102577339B (en) Correlating call log files using voice prints
CN110245055A (en) A kind of keyword alarm method and device based on log
CN111327543A (en) Message forwarding method and device, storage medium and electronic device
CN103678134B (en) The acquisition methods and device of the script information of browser pending fault analysis
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
CN115277402A (en) Method and system for facilitating automatic annotation and dynamic display of switch configurations
CN107220792A (en) A kind of storage management method and system
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView

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
GR01 Patent grant
GR01 Patent grant