CN109462496B - Data processing method and device for video network terminal - Google Patents
Data processing method and device for video network terminal Download PDFInfo
- Publication number
- CN109462496B CN109462496B CN201811198884.0A CN201811198884A CN109462496B CN 109462496 B CN109462496 B CN 109462496B CN 201811198884 A CN201811198884 A CN 201811198884A CN 109462496 B CN109462496 B CN 109462496B
- Authority
- CN
- China
- Prior art keywords
- video networking
- networking protocol
- video
- data packet
- analysis information
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a data processing method and a data processing device for a video networking terminal, wherein the method comprises the following steps: acquiring all data packets received by a video network terminal; determining a video networking protocol data packet in all the data packets; analyzing the video networking protocol data packet according to a video networking protocol, and generating analysis information; and outputting the analysis information. In the embodiment of the invention, the video networking data packet is determined from all the data packets passing through the video networking terminal, the video networking protocol data packet is analyzed according to the video networking protocol, analysis information is generated, and the analysis information is output. Therefore, the analysis of the video network data packet passing through the video network terminal is realized, and the problem can be positioned according to the analysis information, so that the problem is solved.
Description
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a data processing method and a data processing apparatus for a video networking terminal.
Background
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
In the video network, in order to eliminate bugs of various types of software, a specific data packet needs to be acquired from the video network, so that data is analyzed, the bugs are located, and problems are solved.
However, there is currently no solution for analyzing the packets of the video network in detail through the video network terminal.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data processing method of a video network terminal and a corresponding data processing apparatus of a video network terminal that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method for a video network terminal, including:
acquiring all data packets received by a video network terminal;
determining a video networking protocol data packet in all the data packets;
analyzing the video networking protocol data packet according to a video networking protocol, and generating analysis information;
and outputting the analysis information.
Preferably, the step of acquiring all data packets received by the terminal of the video network includes:
setting a network card of the video networking terminal to be in a hybrid mode;
and acquiring all data packets received by the network card of the video network terminal.
Preferably, the step of parsing the video networking protocol data packet according to the video networking protocol and generating parsing information includes:
analyzing the video networking protocol data packet according to a video networking protocol to obtain field information of the video networking protocol data packet;
and generating analysis information corresponding to the field information.
Preferably, the step of outputting the analysis information includes:
acquiring a configuration file;
according to the configuration file, outputting the analysis information to a specified storage space, wherein the specified storage space comprises: local storage space, remote terminal, remote server.
The embodiment of the invention also discloses a data processing device of the video network terminal, which comprises:
the data packet acquisition module is used for acquiring all data packets received by the video network terminal;
the video networking protocol data packet determining module is used for determining a video networking protocol data packet in all the data packets;
the analysis information generation module is used for analyzing the video networking protocol data packet according to a video networking protocol and generating analysis information;
and the analysis information output module is used for outputting the analysis information.
Preferably, the data packet obtaining module includes:
the network card setting submodule is used for setting the network card of the video network terminal into a hybrid mode;
and the data packet acquisition submodule is used for acquiring all data packets received by the network card of the video network terminal.
Preferably, the parsing information generating module includes:
the field information acquisition submodule is used for analyzing the video networking protocol data packet according to a video networking protocol to acquire field information of the video networking protocol data packet;
and the analysis information generation submodule is used for generating analysis information corresponding to the field information.
Preferably, the analysis information output module includes:
the configuration file acquisition submodule is used for acquiring a configuration file;
the analysis information output submodule is used for outputting the analysis information to a specified storage space according to the configuration file, and the specified storage space comprises: local storage space, remote terminal, remote server.
The embodiment of the invention also discloses a device, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more methods as described above.
Embodiments of the invention also disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more of the methods described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the video networking data packet is determined from all the data packets passing through the video networking terminal, the video networking protocol data packet is analyzed according to the video networking protocol, analysis information is generated, and the analysis information is output. Therefore, the analysis of the video network data packet passing through the video network terminal is realized, and the problem can be positioned according to the analysis information, so that the problem is solved.
Drawings
FIG. 1 is a flow chart of the steps of an embodiment of a data processing method of a video network terminal of the present invention;
fig. 2 is a block diagram of an embodiment of a data processing apparatus of a video network terminal according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a data processing method for a video network terminal according to the present invention is shown, which may specifically include the following steps:
the video networking terminal can receive data packets of a plurality of protocols, including TCP/IP protocol data packets and video networking protocol data packets. The TCP/IP protocol data packet is a data packet encapsulated according to a TCP/IP protocol, and the video networking protocol data packet is a data packet encapsulated according to a video networking protocol.
In an embodiment of the present invention, the step 101 may include the following sub-steps:
s11, setting a network card of the video networking terminal to be in a hybrid mode;
and a substep S12 of acquiring all data packets received by the network card of the video network terminal.
The promiscuous mode is to receive all data packets through the network card, including data packets not addressed to the local computer. The network card only transmits packets (including broadcast packets) sent to the network card to the upper layer program under the default condition, and other packets are uniformly discarded. In promiscuous mode the network card is able to receive all packets passing through it, regardless of format and address.
specifically, whether the data packet is an internet protocol data packet may be determined according to a specific field of a header of the data packet.
If the data packet is the data packet of the video networking protocol, extracting and carrying out subsequent analysis.
And if the data packet is not the video networking protocol data packet, discarding the data packet.
103, analyzing the video networking protocol data packet according to a video networking protocol and generating analysis information;
because the video networking protocol defines how to encapsulate the video networking protocol data packet, the video networking protocol data packet can be decapsulated according to the video networking protocol, and the parsing information is generated according to the decapsulated video networking protocol data packet.
In an embodiment of the present invention, the step 103 may include the following sub-steps:
step S21, analyzing the video networking protocol data packet according to a video networking protocol to obtain field information of the video networking protocol data packet;
and a substep S22 of generating analysis information corresponding to the field information.
The video networking protocol defines the fields that video networking protocol packets contain, and different fields may represent different meanings. Such as an original address field, a destination address field, an instruction field, a length field, and so forth.
After the field information of the video networking protocol data packet is obtained, the corresponding meaning of the content of the field information is determined, and therefore corresponding analysis information is generated. The analysis information can be words which can be intuitively and easily understood by the user, and the user does not need to analyze the field information.
And 104, outputting the analysis information.
In an embodiment of the present invention, the step 104 may include the following sub-steps:
substep S31, obtaining a configuration file;
substep S32, outputting the parsing information to a designated storage space according to the configuration file, the designated storage space including: local storage space, remote terminal, remote server.
The configuration file is set by the user and may specify where to output the parsed information. Outputting the analysis information to a local storage space; outputting the analysis information to a remote terminal; and outputting the analysis information to a remote server.
Specifically, the standard parsing information may be output to a local pcap file G, or data may be output to a standard Linux server SYSLOG, or to a designated server.
After the remote terminal or the remote server receives the analysis information, the user can check the analysis information at the remote terminal or the remote server, and therefore remote real-time analysis of the video network terminal is achieved.
In the embodiment of the invention, the video networking data packet is determined from all the data packets passing through the video networking terminal, the video networking protocol data packet is analyzed according to the video networking protocol, analysis information is generated, and the analysis information is output. Therefore, the analysis of the video network data packet passing through the video network terminal is realized, and the problem can be positioned according to the analysis information, so that the problem is solved.
It should be noted that for simplicity of description, the method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 2, a block diagram of a data processing apparatus of a video network terminal according to an embodiment of the present invention is shown, and may specifically include the following modules:
a data packet obtaining module 201, configured to obtain all data packets received by the video networking terminal;
a video networking protocol data packet determining module 202, configured to determine a video networking protocol data packet in all the data packets;
the analysis information generation module 203 is used for analyzing the video networking protocol data packet according to the video networking protocol and generating analysis information;
and the analysis information output module 204 is used for outputting the analysis information.
In this embodiment of the present invention, the data packet obtaining module 201 may include:
the network card setting submodule is used for setting the network card of the video network terminal into a hybrid mode;
and the data packet acquisition submodule is used for acquiring all data packets received by the network card of the video network terminal.
In this embodiment of the present invention, the parsing information generating module 203 may include:
the field information acquisition submodule is used for analyzing the video networking protocol data packet according to a video networking protocol to acquire field information of the video networking protocol data packet;
and the analysis information generation submodule is used for generating analysis information corresponding to the field information.
In this embodiment of the present invention, the parsing information output module 204 may include:
the configuration file acquisition submodule is used for acquiring a configuration file;
the analysis information output sub-module is used for outputting the analysis information to a specified storage space according to the configuration file, wherein the specified storage space comprises: local storage space, remote terminal, remote server.
In the embodiment of the invention, the video networking data packet is determined from all the data packets passing through the video networking terminal, the video networking protocol data packet is analyzed according to the video networking protocol, the analysis information is generated, and the analysis information is output. Therefore, the analysis of the video network data packet passing through the video network terminal is realized, and the problem can be positioned according to the analysis information, so that the problem is solved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform methods as described in embodiments of the invention.
Embodiments of the invention also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods described in embodiments of the invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or terminal device that comprises the element.
The data processing method of the video network terminal and the data processing device of the video network terminal provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (6)
1. A data processing method of a video network terminal is characterized by comprising the following steps:
acquiring all data packets received by a video network terminal; all the data packets comprise TCP/IP protocol data packets and video networking protocol data packets;
determining a video networking protocol data packet in all the data packets;
analyzing the video networking protocol data packet according to a video networking protocol, and generating analysis information; the analysis information is used for analyzing problems existing in the video networking terminal;
outputting the analysis information, including: acquiring a configuration file; according to the configuration file, outputting the analysis information to a specified storage space, wherein the specified storage space comprises: the system comprises a local storage space, a remote terminal and a remote server;
the step of analyzing the video networking protocol data packet according to the video networking protocol and generating analysis information comprises the following steps:
analyzing the video networking protocol data packet according to a video networking protocol to obtain field information of the video networking protocol data packet; the field information comprises an original address field, a destination address field, an instruction field and a length field contained in the video networking protocol data packet defined by the video networking protocol;
and generating analysis information corresponding to the field information.
2. The method according to claim 1, wherein the step of acquiring all data packets received by the terminal of the video network comprises:
setting a network card of the video network terminal to be in a hybrid mode;
and acquiring all data packets received by the network card of the video network terminal.
3. A data processing apparatus of a video network terminal, comprising:
the data packet acquisition module is used for acquiring all data packets received by the video network terminal; all the data packets comprise TCP/IP protocol data packets and video networking protocol data packets;
the video networking protocol data packet determining module is used for determining a video networking protocol data packet in all the data packets;
the analysis information generation module is used for analyzing the video networking protocol data packet according to a video networking protocol and generating analysis information; the analysis information is used for analyzing problems existing in the video networking terminal;
the analysis information output module is used for outputting the analysis information and comprises: the configuration file acquisition submodule is used for acquiring a configuration file; the analysis information output submodule is used for outputting the analysis information to a specified storage space according to the configuration file, and the specified storage space comprises: the system comprises a local storage space, a remote terminal and a remote server;
the analysis information generation module comprises:
the field information acquisition submodule is used for analyzing the video networking protocol data packet according to a video networking protocol to acquire field information of the video networking protocol data packet; the field information comprises an original address field, a destination address field, an instruction field and a length field contained in the video networking protocol data packet defined by the video networking protocol;
and the analysis information generation submodule is used for generating analysis information corresponding to the field information.
4. The apparatus of claim 3, wherein the packet obtaining module comprises:
the network card setting submodule is used for setting the network card of the video network terminal into a hybrid mode;
and the data packet acquisition submodule is used for acquiring all data packets received by the network card of the video network terminal.
5. A data processing apparatus of a video network terminal, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of any of claims 1-2.
6. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of any of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811198884.0A CN109462496B (en) | 2018-10-15 | 2018-10-15 | Data processing method and device for video network terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811198884.0A CN109462496B (en) | 2018-10-15 | 2018-10-15 | Data processing method and device for video network terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109462496A CN109462496A (en) | 2019-03-12 |
CN109462496B true CN109462496B (en) | 2023-04-18 |
Family
ID=65607753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811198884.0A Active CN109462496B (en) | 2018-10-15 | 2018-10-15 | Data processing method and device for video network terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109462496B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110087025B (en) * | 2019-03-18 | 2021-07-30 | 视联动力信息技术股份有限公司 | Directory verification method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108063743A (en) * | 2016-11-07 | 2018-05-22 | 北京视联动力国际信息技术有限公司 | The method and apparatus that a kind of web camera communicates with depending on networked terminals |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7483424B2 (en) * | 2005-07-28 | 2009-01-27 | International Business Machines Corporation | Method, for securely maintaining communications network connection data |
CN101656634B (en) * | 2008-12-31 | 2012-06-06 | 暨南大学 | Intrusion detection method based on IPv6 network environment |
CN104618170B (en) * | 2013-11-04 | 2019-02-26 | 腾讯科技(北京)有限公司 | The filter method and device of network packet |
CN108063747A (en) * | 2016-11-09 | 2018-05-22 | 北京君正集成电路股份有限公司 | Wireless data processing method and apparatus |
CN107070882A (en) * | 2017-02-27 | 2017-08-18 | 北京指掌易科技有限公司 | A kind of method of WIFI wireless datas real time parsing |
-
2018
- 2018-10-15 CN CN201811198884.0A patent/CN109462496B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108063743A (en) * | 2016-11-07 | 2018-05-22 | 北京视联动力国际信息技术有限公司 | The method and apparatus that a kind of web camera communicates with depending on networked terminals |
Also Published As
Publication number | Publication date |
---|---|
CN109462496A (en) | 2019-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107612909B (en) | Information interaction method, device and equipment about Internet of things equipment | |
US20130191890A1 (en) | Method and system for user identity recognition based on specific information | |
CN111917777B (en) | Network data analysis method and device and electronic equipment | |
US20190268320A1 (en) | Dynamic web services server | |
CN110769009B (en) | User identity authentication method and system | |
EP3849136A1 (en) | Service quality monitoring method, apparatus, and system | |
US20130262702A1 (en) | Hardware-based packet editor | |
CN102412999B (en) | Packet capturing based remote fault location method, system and device | |
EP3364601B1 (en) | Testing method, device and system | |
CN109586962B (en) | Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment | |
CN111026982A (en) | Intelligent contract processing method, computer equipment and storage medium | |
EP3379771A1 (en) | Message processing method, device and system | |
CN114157607A (en) | Media stream transmission method and system | |
CN112511366B (en) | Test system, method, device, equipment and storage medium | |
CN109462496B (en) | Data processing method and device for video network terminal | |
EP3119044A1 (en) | Page insertion method and device | |
EP2741449A1 (en) | Processing of call data records | |
CN107517237B (en) | Video identification method and device | |
CN113055420B (en) | HTTPS service identification method and device and computing equipment | |
CN106303577A (en) | Download the method and device of Streaming Media | |
CN111224891A (en) | Traffic application identification system and method based on dynamic learning triples | |
CN113746851B (en) | Proxy system and method supporting real-time analysis of GRPC request | |
CN113973111A (en) | Data forwarding method and device, gateway equipment and computer readable storage medium | |
CN109981548B (en) | Method and device for analyzing charging message | |
CN113852551A (en) | Message processing method and device |
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 |